linux_dsm_epyc7002/drivers/net/ethernet/netronome/nfp
Pieter Jansen van Vuuren cf2cbadc20 nfp: flower: split and limit cmsg skb lists
Introduce a second skb list for handling control messages and limit the
number of allowed messages. Some control messages are considered more
crucial than others, resulting in the need for a second skb list. By
splitting the list into a separate high and low priority list we can
ensure that messages on the high list get added to the head of the list
that gets processed, this however has no functional impact. Previously
there was no limit on the number of messages allowed on the queue, this
could result in the queue growing boundlessly and eventually the host
running out of memory.

Fixes: b985f870a5 ("nfp: process control messages in workqueue in flower app")
Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-04-12 21:57:28 -04:00
..
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-04-01 19:49:34 -04:00
flower nfp: flower: split and limit cmsg skb lists 2018-04-12 21:57:28 -04:00
nfpcore nfp: print a message when mutex wait is interrupted 2018-04-12 21:57:27 -04:00
nic nfp: add Makefiles to all directories 2018-02-22 15:22:50 -05:00
Makefile nfp: add TLV capabilities to the BAR 2018-01-19 15:44:18 -05:00
nfp_app_nic.c nfp: separate app vNIC init/clean from alloc/free 2017-09-03 21:22:04 -07:00
nfp_app.c nfp: improve app not found message 2018-01-19 15:44:18 -05:00
nfp_app.h nfp: modify app MTU setting callbacks 2018-03-30 10:18:54 -04:00
nfp_asm.c nfp: bpf: add support for atomic add of unknown values 2018-03-28 19:36:14 -07:00
nfp_asm.h nfp: bpf: add support for bpf_get_prandom_u32() 2018-03-28 19:36:14 -07:00
nfp_devlink.c nfp: register devlink after app is created 2018-01-19 15:44:18 -05:00
nfp_hwmon.c nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_main.c nfp: advertise firmware for mixed 10G/25G mode 2018-02-22 15:22:50 -05:00
nfp_main.h nfp: debug dump ethtool ops 2017-12-05 15:01:01 -05:00
nfp_net_common.c nfp: add a separate counter for packets with CHECKSUM_COMPLETE 2018-04-04 11:36:50 -04:00
nfp_net_ctrl.c nfp: fix TLV offset calculation 2018-02-02 19:08:20 -05:00
nfp_net_ctrl.h nfp: standardize FW header whitespace 2018-02-16 16:24:24 -05:00
nfp_net_debugdump.c nfp: fix fw dump handling of absolute rtsym size 2018-01-23 10:12:01 -05:00
nfp_net_debugfs.c ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
nfp_net_ethtool.c nfp: add a separate counter for packets with CHECKSUM_COMPLETE 2018-04-04 11:36:50 -04:00
nfp_net_main.c nfp: read ME frequency from vNIC ctrl memory 2018-01-19 15:44:18 -05:00
nfp_net_repr.c nfp: modify app MTU setting callbacks 2018-03-30 10:18:54 -04:00
nfp_net_repr.h nfp: protect each repr pointer individually with RCU 2018-01-19 15:44:18 -05:00
nfp_net_sriov.c nfp: inform the VF driver needs to be restarted after changing the MAC 2017-10-28 18:59:48 +09:00
nfp_net_sriov.h nfp: add basic SR-IOV ndo functions 2017-08-25 19:24:58 -07:00
nfp_net.h nfp: add a separate counter for packets with CHECKSUM_COMPLETE 2018-04-04 11:36:50 -04:00
nfp_netvf_main.c nfp: read ME frequency from vNIC ctrl memory 2018-01-19 15:44:18 -05:00
nfp_port.c nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00
nfp_port.h nfp: forbid disabling hw-tc-offload on representors while offload active 2018-02-08 10:01:27 -05:00