Skip to content

RFC update xdp_features flag according to NIC re-configuration

Lorenzo Bianconi bpf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tools: ynl: fix render-max for flags definitiontools/net/ynl/ynl-gen-c.py+8 -34 replies
2/6xdp: add xdp_set_features_flag utility routineDocumentation/netlink/specs/netdev.yaml include/net/xdp.h include/uapi/linux/netdev.h +2 more+35 -70 replies
3/6net: 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 replies
4/6net: 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 replies
5/6veth: take into account device reconfiguration for xdp_features flagdrivers/net/veth.c+38 -40 replies
6/6net/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+51 -80 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC net-next 0/6] update xdp_features flag according to NIC re-configuration

Take into account possible NIC configuration changes (e.g. LRO or tx/rx queues reconfiguration) setting device xdp_features flag.
Introduce xdp_set_features_flag utility routine.

Lorenzo Bianconi (6):
tools: ynl: fix render-max for flags definition
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

 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 +-
 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 | 45 ++++++++++++++++---
 .../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/ynl-gen-c.py                    | 11 +++--
 15 files changed, 162 insertions(+), 34 deletions(-)
Signature · 1 line
2.39.2