Re: [PATCH net-next 0/5][pull request] ice: Support 5 layer Tx scheduler topology

From
Wilczynski, Michal <hidden>
Date
2023-05-24 13:25:35
Reply to
Jiri Pirko, 2023-05-24

On 5/24/2023 1:54 PM, Jiri Pirko wrote:
Tue, May 23, 2023 at 07:40:03PM CEST, anthony.l.nguyen@intel.com wrote:
quoted
Michal Wilczynski says:

For performance reasons there is a need to have support for selectable
Tx scheduler topology. Currently firmware supports only the default
9-layer and 5-layer topology. This patch series enables switch from
default to 5-layer topology, if user decides to opt-in.
Why exactly the user cares which FW implementation you use. From what I
see, there is a FW but causing unequal queue distribution in some cases,
you fox this. Why would the user want to alter the behaviour between
fixed and unfixed?
I wouldn't say it's a FW bug. Both approaches - 9-layer and 5-layer have their own pros
and cons, and in some cases 5-layer is preferable, especially if the user desires the performance
to be better. But at the same time the user gives up the layers in a tree that are actually useful in
some cases (especially if using DCB, but also recently added devlink-rate implementation).

Regards,
Michał
quoted
The following are changes since commit b2e3406a38f0f48b1dfb81e5bb73d243ff6af179:
 octeontx2-pf: Add support for page pool
and are available in the git repository at:
 git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 100GbE

Lukasz Czapnik (1):
 ice: Add txbalancing devlink param

Michal Wilczynski (2):
 ice: Enable switching default tx scheduler topology
 ice: Document txbalancing parameter

Raj Victor (2):
 ice: Support 5 layer topology
 ice: Adjust the VSI/Aggregator layers

Documentation/networking/devlink/ice.rst      |  17 ++
.../net/ethernet/intel/ice/ice_adminq_cmd.h   |  31 +++
drivers/net/ethernet/intel/ice/ice_common.c   |   6 +
drivers/net/ethernet/intel/ice/ice_ddp.c      | 200 ++++++++++++++++++
drivers/net/ethernet/intel/ice/ice_ddp.h      |   7 +-
drivers/net/ethernet/intel/ice/ice_devlink.c  | 161 +++++++++++++-
.../net/ethernet/intel/ice/ice_fw_update.c    |   2 +-
.../net/ethernet/intel/ice/ice_fw_update.h    |   3 +
drivers/net/ethernet/intel/ice/ice_main.c     | 105 +++++++--
drivers/net/ethernet/intel/ice/ice_nvm.c      |   2 +-
drivers/net/ethernet/intel/ice/ice_nvm.h      |   3 +
drivers/net/ethernet/intel/ice/ice_sched.c    |  34 +--
drivers/net/ethernet/intel/ice/ice_sched.h    |   3 +
drivers/net/ethernet/intel/ice/ice_type.h     |   1 +
14 files changed, 534 insertions(+), 41 deletions(-)

-- 
2.38.1
  
Thread (16 messages) 16 messages, 5 authors, last reply 2023-05-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help