aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2024-07-26 20:17:13 +0200
committerTony Nguyen <[email protected]>2024-07-29 08:52:29 -0700
commit9da75a511c5558fa3da56759984fd1fa859186f0 (patch)
tree29c3ce9391973504cbc7f888663ed6aad620f4e1 /drivers/fpga/fpga-mgr.c
parentd5922717994911e8f0eab736f3ba0d968c158823 (diff)
ice: toggle netif_carrier when setting up XSK pool
This so we prevent Tx timeout issues. One of conditions checked on running in the background dev_watchdog() is netif_carrier_ok(), so let us turn it off when we disable the queues that belong to a q_vector where XSK pool is being configured. Turn carrier on in ice_qp_ena() only when ice_get_link_status() tells us that physical link is up. Fixes: 2d4238f55697 ("ice: Add support for AF_XDP") Reviewed-by: Shannon Nelson <[email protected]> Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at Intel) Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions