Skip to content

vdpa:/mlx5: Add debugfs subtree

Eli Cohen lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/24 patches 0 repliesNew
  2. v2 posting 1/24 patches 0 repliesSuperseded
  3. v14 patches 11 repliesSuperseded

Changes in v2 from the cover letter

1. Enforce VLAN filtering onl if VIRTIO_NET_F_CTRL_VLAN is negotiated.
2. Error flow cleanups.

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vdpa/mlx5: Fix rule forwarding VLAN to TIRdrivers/vdpa/mlx5/net/mlx5_vnet.c+8 -30 replies
2/4vdpa/mlx5: Move some definitions to a new header filedrivers/vdpa/mlx5/net/mlx5_vnet.c drivers/vdpa/mlx5/net/mlx5_vnet.h+56 -440 replies
3/4vdpa/mlx5: Add debugfs subtreedrivers/vdpa/mlx5/Makefile drivers/vdpa/mlx5/net/debug.c drivers/vdpa/mlx5/net/mlx5_vnet.c +1 more+87 -10 replies
4/4vdpa/mlx5: Add RX counters to debugfsdrivers/vdpa/Kconfig drivers/vdpa/mlx5/net/debug.c drivers/vdpa/mlx5/net/mlx5_vnet.c +1 more+215 -270 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchSi-Wei Liu
1/4
2/4R-b
3/4R-b
4/4

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 v2 resend 0/4] vdpa:/mlx5: Add debugfs subtree

First patch fixes a copy paste error causing VLAN tagged packets to no be filtered.In addition it modifies the logic so VLAN filtering is enforced only if VIRTIO_NET_F_CTRL_VLAN is negotiated.

Following three patches add debugfs subtree.
First one just moves definitions to a new header file. These definitions are needed for following patches.
Second patch adds entries to read flow table number and TIR number. Third patch adds multicast and unicast packets and bytes counters for for each untagged or VLAN tagged incoming traffic. This is depends on MLX5_VDPA_STEERING_DEBUG config option and is off by default.

v1->v2:
1. Enforce VLAN filtering onl if VIRTIO_NET_F_CTRL_VLAN is negotiated.
2. Error flow cleanups.

Eli Cohen (4):
vdpa/mlx5: Fix rule forwarding VLAN to TIR vdpa/mlx5: Move some definitions to a new header file vdpa/mlx5: Add debugfs subtree
vdpa/mlx5: Add RX counters to debugfs

 drivers/vdpa/Kconfig              |  12 ++
 drivers/vdpa/mlx5/Makefile        |   2 +-
 drivers/vdpa/mlx5/net/debug.c     | 152 +++++++++++++++++++++++++
 drivers/vdpa/mlx5/net/mlx5_vnet.c | 181 ++++++++++++++++++------------
 drivers/vdpa/mlx5/net/mlx5_vnet.h |  94 ++++++++++++++++
 5 files changed, 366 insertions(+), 75 deletions(-)
 create mode 100644 drivers/vdpa/mlx5/net/debug.c
 create mode 100644 drivers/vdpa/mlx5/net/mlx5_vnet.h
Signature · 1 line
2.35.1