Skip to content

i40e: Add software controlled DCB feature

Arkadiusz Kubalewski intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i40e: Add hardware configuration for software based DCBdrivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h drivers/net/ethernet/intel/i40e/i40e_common.c drivers/net/ethernet/intel/i40e/i40e_dcb.c +4 more+1365 -130 replies
2/3i40e: Add init and default config of software based DCBdrivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_ethtool.c drivers/net/ethernet/intel/i40e/i40e_main.c+496 -590 replies
3/3i40e: Add netlink callbacks support for software based DCBdrivers/net/ethernet/intel/i40e/i40e_dcb_nl.c+745 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-wired-lan] [PATCH net-next 0/3] i40e: Add software controlled DCB feature

DCB feature was supported by Firmware LLDP agent only. If Firmware LLDP agent is enabled it receives DCB related TLVs, then it configures hardware accordingly.

Allow the OS to take control of handling LLDP frames related to DCB functionality.

After disabling the Firmware LLDP agent (private flag:
disable-fw-lldp : on), the driver configures DCB with default values (only one Traffic Class). At the same time, it allows the OS (software based LLDP agent - userspace application i.e. lldpad) to receive DCB TLVs and set desired DCB config through DCB related netlink callbacks.

Arkadiusz Kubalewski (3):
i40e: Add hardware configuration for software based DCB
i40e: Add init and default config of software based DCB
i40e: Add netlink callbacks support for software based DCB feature

 drivers/net/ethernet/intel/i40e/i40e.h        |  15 +-
 .../net/ethernet/intel/i40e/i40e_adminq_cmd.h |  11 +-
 drivers/net/ethernet/intel/i40e/i40e_common.c |  65 +-
 drivers/net/ethernet/intel/i40e/i40e_dcb.c    | 949 +++++++++++++++++-
 drivers/net/ethernet/intel/i40e/i40e_dcb.h    | 169 +++-
 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c | 752 +++++++++++++-
 .../net/ethernet/intel/i40e/i40e_ethtool.c    |  20 +-
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 528 +++++++++-
 .../net/ethernet/intel/i40e/i40e_prototype.h  |   9 +-
 .../net/ethernet/intel/i40e/i40e_register.h   | 172 +++-
 drivers/net/ethernet/intel/i40e/i40e_type.h   |   3 +-
 11 files changed, 2614 insertions(+), 79 deletions(-)

base-commit: 977a109bc3e30ee6303dd767090e04eb5170e986

Signature · 7 lines
2.18.4

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Sowackiego 173 | 80-298 Gdask | Sd Rejonowy Gdask Pnoc | VII Wydzia Gospodarczy Krajowego Rejestru Sdowego - KRS 101882 | NIP 957-07-52-316 | Kapita zakadowy 200.000 PLN.
Ta wiadomo wraz z zacznikami jest przeznaczona dla okrelonego adresata i moe zawiera informacje poufne. W razie przypadkowego otrzymania tej wiadomoci, prosimy o powiadomienie nadawcy oraz trwae jej usunicie; jakiekolwiek przegldanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.