aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-10-02 10:10:14 -0700
committerDavid S. Miller <davem@davemloft.net>2018-10-02 11:47:58 -0700
commitff58e2df62ce29d0552278c290ae494b30fe0c6f (patch)
tree49c6b849d1cab1bd98f5e03b95707b9b210f53ff /net/dccp
parentdeclance: Fix continuation with the adapter identification message (diff)
downloadlinux-dev-ff58e2df62ce29d0552278c290ae494b30fe0c6f.tar.xz
linux-dev-ff58e2df62ce29d0552278c290ae494b30fe0c6f.zip
nfp: avoid soft lockups under control message storm
When FW floods the driver with control messages try to exit the cmsg processing loop every now and then to avoid soft lockups. Cmsg processing is generally very lightweight so 512 seems like a reasonable budget, which should not be exceeded under normal conditions. Fixes: 77ece8d5f196 ("nfp: add control vNIC datapath") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Tested-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions