Skip to content

Configurable VLAN mode for NCSI driver

Jiaqing Zhao linux-devicetree lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net/ncsi: Fix value of NCSI_CAP_VLAN_ANYnet/ncsi/internal.h+1 -10 replies
2/6net/ncsi: Rename NCSI_CAP_VLAN_NO to NCSI_CAP_VLAN_FILTEREDnet/ncsi/internal.h net/ncsi/ncsi-manage.c+2 -20 replies
3/6net/ncsi: Enable VLAN filtering when callback is registerednet/ncsi/ncsi-manage.c+5 -00 replies
4/6ftgmac100: Remove enable NCSI VLAN filteringdrivers/net/ethernet/faraday/ftgmac100.c+0 -30 replies
5/6dt-bindings: net: Add NCSI bindingsDocumentation/devicetree/bindings/net/ncsi.yaml MAINTAINERS include/dt-bindings/net/ncsi.h+51 -00 replies
6/6net/ncsi: Support VLAN mode configurationnet/ncsi/internal.h net/ncsi/ncsi-manage.c+35 -70 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] Configurable VLAN mode for NCSI driver

Currently kernel kernel NCSI driver only supports the "VLAN + non-VLAN" mode (Mode #2), but this mode is an optional mode [1] defined in NCSI specification and some NCSI devices like Intel E810 Network Adapter [2] does not support that mode. This patchset adds a new "ncsi,vlan-mode" device tree property for configuring the VLAN mode of NCSI device.

[1] Table 58 - VLAN Enable Modes

    https://www.dmtf.org/sites/default/files/standards/documents/DSP0222_1.0.0.pdf
[2] 12.6.5.4.3 VLAN
    https://cdrdv2.intel.com/v1/dl/getContent/613875

Jiaqing Zhao (6):
net/ncsi: Fix value of NCSI_CAP_VLAN_ANY net/ncsi: Rename NCSI_CAP_VLAN_NO to NCSI_CAP_VLAN_FILTERED net/ncsi: Enable VLAN filtering when callback is registered
ftgmac100: Remove enable NCSI VLAN filtering
dt-bindings: net: Add NCSI bindings
net/ncsi: Support VLAN mode configuration

 .../devicetree/bindings/net/ncsi.yaml         | 34 ++++++++++++++
 MAINTAINERS                                   |  2 +
 drivers/net/ethernet/faraday/ftgmac100.c      |  3 --
 include/dt-bindings/net/ncsi.h                | 15 ++++++
 net/ncsi/internal.h                           |  5 +-
 net/ncsi/ncsi-manage.c                        | 46 ++++++++++++++++---
 6 files changed, 93 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/ncsi.yaml
 create mode 100644 include/dt-bindings/net/ncsi.h
Signature · 1 line
2.34.1