Skip to content

mv88e6xxx: Allow config of ATU hash algorithm

Andrew Lunn netdev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 1 replyIn review
  2. v52 patches 3 repliesSuperseded
  3. v42 patches 11 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches4 repliesSuperseded
v22 patches5 repliesSuperseded
v12 patches5 repliesSuperseded

Changes in v6 from the cover letter

Rebase net-next/master

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: dsa: Add support for devlink device parametersinclude/net/dsa.h net/dsa/dsa.c net/dsa/dsa2.c+77 -10 replies
2/2net: dsa: mv88e6xxx: Add devlink param for ATU hash algorithm.Documentation/networking/devlink-params-mv88e6xxx.txt MAINTAINERS drivers/net/dsa/mv88e6xxx/chip.c +3 more+177 -10 replies

Reviews trailers per patch

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

Read the v6 thread

Cover letter [PATCH net-next v6 0/2] mv88e6xxx: Allow config of ATU hash algorithm

v2:

Pass a pointer for where the hash should be stored, return a plain errno, or 0.

Document the parameter.

v3:

Document type of parameter, and valid range
Add break statements to default clause of switch
Directly use ctx->val.vu8

v4:

Consistently use devlink, not a mix of devlink and dl. Fix allocation of devlink priv
Remove upper case from parameter name
Make mask 16 bit wide.

v5:
Back to using the parameter name ATU_hash

v6:
Rebase net-next/master

Andrew Lunn (2):
net: dsa: Add support for devlink device parameters
net: dsa: mv88e6xxx: Add devlink param for ATU hash algorithm.

 .../networking/devlink-params-mv88e6xxx.txt   |   7 +
 MAINTAINERS                                   |   1 +
 drivers/net/dsa/mv88e6xxx/chip.c              | 131 +++++++++++++++++-
 drivers/net/dsa/mv88e6xxx/chip.h              |   4 +
 drivers/net/dsa/mv88e6xxx/global1.h           |   3 +
 drivers/net/dsa/mv88e6xxx/global1_atu.c       |  32 +++++
 include/net/dsa.h                             |  23 +++
 net/dsa/dsa.c                                 |  48 +++++++
 net/dsa/dsa2.c                                |   7 +-
 9 files changed, 254 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/networking/devlink-params-mv88e6xxx.txt
Signature · 1 line
2.23.0