summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice.h
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2024-01-23 14:58:46 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-02-02 20:13:13 +0300
commita292ba981324ec790eb671df1c64fae5c98c4b3d (patch)
tree900e2934d58e86895e699989b036dbf5c82feeaa /drivers/net/ethernet/intel/ice/ice.h
parent3e5fb691faee1d43ee13d4ce2666b0a05e1555b3 (diff)
downloadlinux-a292ba981324ec790eb671df1c64fae5c98c4b3d.tar.xz
ice: make ice_vsi_cfg_txq() static
Currently, XSK control path in ice driver calls directly ice_vsi_cfg_txq() whereas we have ice_vsi_cfg_single_txq() for that purpose. Use the latter from XSK side and make ice_vsi_cfg_txq() static. ice_vsi_cfg_txq() resides in ice_base.c and is rather big, so to reduce the code churn let us move the callers of it from ice_lib.c to ice_base.c. This change puts ice_qp_ena() on nice diet due to the checks and operations that ice_vsi_cfg_single_{r,t}xq() do internally. add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-182 (-182) Function old new delta ice_xsk_pool_setup 2165 1983 -182 Total: Before=472597, After=472415, chg -0.04% Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Acked-by: Magnus Karlsson <magnus.karlsson@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice.h')
0 files changed, 0 insertions, 0 deletions