aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2022-03-02 09:59:27 -0800
committerJakub Kicinski <[email protected]>2022-03-03 08:26:55 -0800
commit6c7273a266759d9d36f7c862149f248bcdeddc0f (patch)
tree2ee8b9a50c61c5c202492645dfe338c21e8cf60e /lib/crypto/mpi
parent312f2d500af55823b96cd33b6b9bf6c4c0bc6e78 (diff)
ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
Commit c685c69fba71 ("ixgbe: don't do any AF_XDP zero-copy transmit if netif is not OK") addressed the ring transient state when MEM_TYPE_XSK_BUFF_POOL was being configured which in turn caused the interface to through down/up. Maurice reported that when carrier is not ok and xsk_pool is present on ring pair, ksoftirqd will consume 100% CPU cycles due to the constant NAPI rescheduling as ixgbe_poll() states that there is still some work to be done. To fix this, do not set work_done to false for a !netif_carrier_ok(). Fixes: c685c69fba71 ("ixgbe: don't do any AF_XDP zero-copy transmit if netif is not OK") Reported-by: Maurice Baijens <[email protected]> Tested-by: Maurice Baijens <[email protected]> Signed-off-by: Maciej Fijalkowski <[email protected]> Tested-by: Sandeep Penigalapati <[email protected]> Signed-off-by: Tony Nguyen <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/crypto/mpi')
0 files changed, 0 insertions, 0 deletions