]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Refactor ice_setup_rx_ctx
authorKrzysztof Kazimierczak <krzysztof.kazimierczak@intel.com>
Sat, 21 Nov 2020 00:39:32 +0000 (16:39 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 7 Jun 2021 15:58:56 +0000 (08:58 -0700)
commit3d64e04136b19a6259df2857610b38011f790e1a
tree96d741131c56cb01fab722f7a8e2763b98f3091a
parent84bacb59bf0c4d6ab10bbeb1a39014333f58c539
ice: Refactor ice_setup_rx_ctx

Move AF_XDP logic and buffer allocation out of ice_setup_rx_ctx() to a
new function ice_vsi_cfg_rxq(), so the function actually sets up the Rx
context.

Signed-off-by: Krzysztof Kazimierczak <krzysztof.kazimierczak@intel.com>
Co-developed-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Kiran Bhandare <kiranx.bhandare@intel.com>
drivers/net/ethernet/intel/ice/ice_base.c
drivers/net/ethernet/intel/ice/ice_base.h
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_xsk.c