Skip to content

configuration support for switch headers & phy

Hariprasad Kelam lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8octeontx2-af: Add new CGX_CMDs to set and get PHY modulation typedrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h +2 more+77 -10 replies
2/8octeontx2-pf: Add ethtool priv flag to control PAM4 on/offdrivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c+62 -01 reply
3/8octeontx2-af: Support for parsing pkts with switch headersdrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/npc.h drivers/net/ethernet/marvell/octeontx2/af/rvu.h +3 more+82 -20 replies
4/8octeontx2-af: Do not allow VFs to overwrite PKIND configdrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/rvu.h +2 more+60 -40 replies
5/8octeontx2-af: Put CGX LMAC also in Higig2 modedrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/mbox.h +4 more+214 -200 replies
6/8octeontx2-pf: Support to enable EDSA/Higig2 pkts parsingdrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c +3 more+188 -80 replies
7/8octeontx2-af: Add flow steering support for FDSA tagdrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/npc.h drivers/net/ethernet/marvell/octeontx2/af/rvu.h +4 more+40 -60 replies
8/8octeontx2-pf: Add ntuple filter support for FDSAdrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c +1 more+121 -150 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [net-next PATCH 0/8] configuration support for switch headers & phy

This series of patches add support for parsing switch headers and configuration support for phy modulation type(NRZ or PAM4).

PHYs that support changing modulation type ,user can configure it through private flags pam4.

Marvell switches support DSA(distributed switch architecture) with different switch headers like FDSA and EDSA. This patch series adds private flags to enable user to configure interface in fdsa/edsa mode such that flow steering (forwading packets to pf/vf depending on switch header fields) and packet parsing can be acheived.

Also adds support for HIGIG2 protocol, user can configure interface in higig mode through higig private flage, such that packet classification and flow sterring achieved on packets with higig header

Felix Manlunas (2):
octeontx2-af: Add new CGX_CMDs to set and get PHY modulation type
octeontx2-pf: Add ethtool priv flag to control PAM4 on/off

Hariprasad Kelam (6):
octeontx2-af: Support for parsing pkts with switch headers
octeontx2-af: Do not allow VFs to overwrite PKIND config
octeontx2-af: Put CGX LMAC also in Higig2 mode
octeontx2-pf: Support to enable EDSA/Higig2 pkts parsing
octeontx2-af: Add flow steering support for FDSA tag
octeontx2-pf: Add ntuple filter support for FDSA

 .../net/ethernet/marvell/octeontx2/af/cgx.c   | 177 ++++++++++++-
 .../net/ethernet/marvell/octeontx2/af/cgx.h   |  19 +-
 .../ethernet/marvell/octeontx2/af/cgx_fw_if.h |   6 +
 .../net/ethernet/marvell/octeontx2/af/mbox.h  |  39 ++-
 .../net/ethernet/marvell/octeontx2/af/npc.h   |  14 +-
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |   9 +
 .../ethernet/marvell/octeontx2/af/rvu_cgx.c   | 103 +++++++-
 .../marvell/octeontx2/af/rvu_debugfs.c        |   3 +-
 .../ethernet/marvell/octeontx2/af/rvu_nix.c   |  44 +++-
 .../ethernet/marvell/octeontx2/af/rvu_npc.c   |  76 ++++++
 .../marvell/octeontx2/af/rvu_npc_fs.c         |  14 +-
 .../marvell/octeontx2/nic/otx2_common.c       |   2 +
 .../marvell/octeontx2/nic/otx2_common.h       |  36 ++-
 .../marvell/octeontx2/nic/otx2_ethtool.c      | 244 ++++++++++++++++++
 .../marvell/octeontx2/nic/otx2_flows.c        |  58 ++++-
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  |  21 +-
 .../marvell/octeontx2/nic/otx2_txrx.c         |   1 +
 .../ethernet/marvell/octeontx2/nic/otx2_vf.c  |  10 +
 18 files changed, 832 insertions(+), 44 deletions(-)

--
2.17.1