DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] net/cxgbe: add RAW MAC matchall filter support
@ 2021-06-02 21:57 Rahul Lakkireddy
  2021-06-02 21:57 ` [dpdk-dev] [PATCH 1/2] net/cxgbe: use C11 atomics instead of rte_atomic ops Rahul Lakkireddy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rahul Lakkireddy @ 2021-06-02 21:57 UTC (permalink / raw)
  To: dev

Chelsio T6 ASIC doesn't track Rx promisc traffic dropped due to lack
of Rx buffers and hence the imissed counter doesn't increment. Add
support for RAW MAC filter to insert a wildcard matchall rule at
the end of MPS TCAM to make MPS track the promisc traffic.

Patch 1 converts all deprecated rte_atomic ops to C11 atomics.

Patch 2 queries firmware for RAW MAC matchall filter support and
enables it when available.

Rahul Lakkireddy (2):
  net/cxgbe: use C11 atomics instead of rte_atomic ops
  net/cxgbe: add MAC matchall to track promisc traffic

 doc/guides/nics/cxgbe.rst               | 14 ++--
 drivers/net/cxgbe/base/common.h         |  3 +
 drivers/net/cxgbe/base/t4_hw.c          |  1 -
 drivers/net/cxgbe/base/t4fw_interface.h |  2 +
 drivers/net/cxgbe/clip_tbl.c            | 13 ++--
 drivers/net/cxgbe/clip_tbl.h            |  2 +-
 drivers/net/cxgbe/cxgbe_ethdev.c        | 15 ++++-
 drivers/net/cxgbe/cxgbe_main.c          | 37 +++++++----
 drivers/net/cxgbe/cxgbe_ofld.h          |  6 +-
 drivers/net/cxgbe/l2t.c                 | 14 ++--
 drivers/net/cxgbe/l2t.h                 |  2 +-
 drivers/net/cxgbe/mps_tcam.c            | 87 ++++++++++++++++++++++---
 drivers/net/cxgbe/mps_tcam.h            |  6 +-
 drivers/net/cxgbe/sge.c                 |  1 -
 drivers/net/cxgbe/smt.c                 | 14 ++--
 drivers/net/cxgbe/smt.h                 |  2 +-
 16 files changed, 161 insertions(+), 58 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2021-06-29  9:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 21:57 [dpdk-dev] [PATCH 0/2] net/cxgbe: add RAW MAC matchall filter support Rahul Lakkireddy
2021-06-02 21:57 ` [dpdk-dev] [PATCH 1/2] net/cxgbe: use C11 atomics instead of rte_atomic ops Rahul Lakkireddy
2021-06-02 21:57 ` [dpdk-dev] [PATCH 2/2] net/cxgbe: add MAC matchall to track promisc traffic Rahul Lakkireddy
2021-06-29  9:42 ` [dpdk-dev] [PATCH 0/2] net/cxgbe: add RAW MAC matchall filter support Andrew Rybchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).