>-----Original Message-----
>From: Intel-wired-lan <[email protected]> On Behalf Of
>Fijalkowski, Maciej
>Sent: Tuesday, January 23, 2024 5:29 PM
>To: [email protected]
>Cc: [email protected]; Fijalkowski, Maciej
><[email protected]>; Nguyen, Anthony L
><[email protected]>; Karlsson, Magnus
><[email protected]>
>Subject: [Intel-wired-lan] [PATCH iwl-next 2/2] 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 <[email protected]>
>---
> drivers/net/ethernet/intel/ice/ice_base.c | 76 ++++++++++++++++++++++-
>drivers/net/ethernet/intel/ice/ice_base.h | 7 ++-
>drivers/net/ethernet/intel/ice/ice_lib.c | 73 ----------------------
>drivers/net/ethernet/intel/ice/ice_lib.h | 6 --
>drivers/net/ethernet/intel/ice/ice_xsk.c | 20 +-----
> 5 files changed, 82 insertions(+), 100 deletions(-)
>
Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at
Intel)