mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] vdpa:/mlx5: Add debugfs subtree
@ 2022-10-19 12:46 Eli Cohen
  2022-10-19 12:46 ` [PATCH v2 1/4] vdpa/mlx5: Fix rule forwarding VLAN to TIR Eli Cohen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eli Cohen @ 2022-10-19 12:46 UTC (permalink / raw)
  To: mst, jasowang, linux-kernel, virtualization
  Cc: si-wei.liu, eperezma, lulu, Eli Cohen

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

-- 
2.35.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-19 13:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 12:46 [PATCH v2 0/4] vdpa:/mlx5: Add debugfs subtree Eli Cohen
2022-10-19 12:46 ` [PATCH v2 1/4] vdpa/mlx5: Fix rule forwarding VLAN to TIR Eli Cohen
2022-10-19 12:46 ` [PATCH v2 2/4] vdpa/mlx5: Move some definitions to a new header file Eli Cohen
2022-10-19 12:46 ` [PATCH v2 3/4] vdpa/mlx5: Add debugfs subtree Eli Cohen
2022-10-19 12:46 ` [PATCH v2 4/4] vdpa/mlx5: Add RX counters to debugfs Eli Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®