aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2021-01-18 16:13:14 +0100
committerTony Nguyen <[email protected]>2021-02-12 10:28:40 -0800
commit5c57e507f247ece4d2190f17446850e5a3fa6cf4 (patch)
treec9b42d5eae71a67fc6472f0f3dcbb1795ee684aa /lib/mpi/mpi-add.c
parent43a925e49d467c2a5d7f510fbf25ef9835715e24 (diff)
ice: skip NULL check against XDP prog in ZC path
Whole zero-copy variant of clean Rx IRQ is executed when xsk_pool is attached to rx_ring and it can happen only when XDP program is present on interface. Therefore it is safe to assume that program is always !NULL and there is no need for checking it in ice_run_xdp_zc. Reviewed-by: Björn Töpel <[email protected]> Signed-off-by: Maciej Fijalkowski <[email protected]> Tested-by: Kiran Bhandare <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions