DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 0/2] net/cxgbe: add RAW MAC matchall filter support
Date: Thu,  3 Jun 2021 03:27:49 +0530	[thread overview]
Message-ID: <cover.1622676125.git.rahul.lakkireddy@chelsio.com> (raw)

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


             reply	other threads:[~2021-06-02 23:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02 21:57 Rahul Lakkireddy [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1622676125.git.rahul.lakkireddy@chelsio.com \
    --to=rahul.lakkireddy@chelsio.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).