Skip to content

update xdp_features flag according to NIC re-configuration

Lorenzo Bianconi bpf netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 14 repliesApplied 8/8
  2. v18 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- rebase on top of net tree
- remove NETDEV_XDP_ACT_NDO_XMIT_SG support in mlx5e driver
- always enable NETDEV_XDP_ACT_NDO_XMIT support in mlx5e driver

Patches in v2 All 8 applied

#Subject and filesSizeRepliesApplied
1/8tools: ynl: fix render-max for flags definitiontools/net/ynl/ynl-gen-c.py+8 -30 repliesApplied
2/8tools: ynl: fix get_mask utility routinetools/net/ynl/lib/nlspec.py+2 -40 repliesApplied
3/8xdp: add xdp_set_features_flag utility routineDocumentation/netlink/specs/netdev.yaml include/net/xdp.h include/uapi/linux/netdev.h +2 more+35 -70 repliesApplied
4/8net: thunderx: take into account xdp_features setting tx/rx queuesdrivers/net/ethernet/cavium/thunder/nicvf_ethtool.c drivers/net/ethernet/cavium/thunder/nicvf_main.c+14 -70 repliesApplied
5/8net: ena: take into account xdp_features setting tx/rx queuesdrivers/net/ethernet/amazon/ena/ena_ethtool.c drivers/net/ethernet/amazon/ena/ena_netdev.c+16 -50 repliesApplied
6/8veth: take into account device reconfiguration for xdp_features flagdrivers/net/veth.c+38 -48 repliesApplied
7/8net/mlx5e: take into account device reconfiguration for xdp_features flagdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c drivers/net/ethernet/mellanox/mlx5/core/en_main.c +1 more+39 -126 repliesApplied
8/8mvpp2: take care of xdp_features when reconfiguring queuesdrivers/net/ethernet/marvell/mvpp2/mvpp2_main.c+12 -30 repliesApplied

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchShay AgroskinLorenzo Bianconi
1/8
2/8
3/8R-b
4/8
5/8R-b
6/8A-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net v2 0/8] update xdp_features flag according to NIC re-configuration

Changes since v1:
- rebase on top of net tree
- remove NETDEV_XDP_ACT_NDO_XMIT_SG support in mlx5e driver
- always enable NETDEV_XDP_ACT_NDO_XMIT support in mlx5e driver

Lorenzo Bianconi (7):
tools: ynl: fix render-max for flags definition
tools: ynl: fix get_mask utility routine
xdp: add xdp_set_features_flag utility routine
net: thunderx: take into account xdp_features setting tx/rx queues
net: ena: take into account xdp_features setting tx/rx queues
veth: take into account device reconfiguration for xdp_features flag net/mlx5e: take into account device reconfiguration for xdp_features
flag

Matteo Croce (1):
mvpp2: take care of xdp_features when reconfiguring queues

 Documentation/netlink/specs/netdev.yaml       |  1 +
 drivers/net/ethernet/amazon/ena/ena_ethtool.c | 15 +++++--
 drivers/net/ethernet/amazon/ena/ena_netdev.c  |  6 ++-
 .../ethernet/cavium/thunder/nicvf_ethtool.c   | 17 +++++---
 .../net/ethernet/cavium/thunder/nicvf_main.c  |  4 +-
 .../net/ethernet/marvell/mvpp2/mvpp2_main.c   | 15 +++++--
 drivers/net/ethernet/mellanox/mlx5/core/en.h  |  1 +
 .../ethernet/mellanox/mlx5/core/en_ethtool.c  | 10 ++++-
 .../net/ethernet/mellanox/mlx5/core/en_main.c | 37 +++++++++++-----
 .../net/ethernet/mellanox/mlx5/core/en_rep.c  |  3 ++
 drivers/net/veth.c                            | 42 +++++++++++++++++--
 include/net/xdp.h                             | 11 +++++
 include/uapi/linux/netdev.h                   |  2 +
 net/core/xdp.c                                | 26 ++++++++----
 tools/include/uapi/linux/netdev.h             |  2 +
 tools/net/ynl/lib/nlspec.py                   |  6 +--
 tools/net/ynl/ynl-gen-c.py                    | 11 +++--
 17 files changed, 164 insertions(+), 45 deletions(-)
Signature · 1 line
2.39.2