]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Remove xsk_buff_pool from VSI structure
authorMichal Swiatkowski <michal.swiatkowski@intel.com>
Mon, 2 Nov 2020 09:37:27 +0000 (04:37 -0500)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 9 Feb 2021 00:27:01 +0000 (16:27 -0800)
commitc7a219048e459cf99c6fec0f7c1e42414e9e6202
tree5632e967a31754080e0ab8c515c180997eca6f32
parent34295a3696fbd0d90ee7c62b3162ffdb112b3497
ice: Remove xsk_buff_pool from VSI structure

Current implementation of netdev already contains xsk_buff_pools.
We no longer have to contain these structures in ice_vsi.

Refactor the code to operate on netdev-provided xsk_buff_pools.

Move scheduling napi on each queue to a separate function to
simplify setup function.

Signed-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Kiran Bhandare <kiranx.bhandare@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice.h
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_xsk.c