DPDK patches and discussions
 help / color / mirror / Atom feed
From: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
To: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 0/2] net/cxgbe: add RAW MAC matchall filter support
Date: Tue, 29 Jun 2021 12:42:24 +0300	[thread overview]
Message-ID: <0660e188-6b06-9cb8-7400-36d8f28a97cb@oktetlabs.ru> (raw)
In-Reply-To: <cover.1622676125.git.rahul.lakkireddy@chelsio.com>

On 6/3/21 12:57 AM, Rahul Lakkireddy wrote:
> 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(-)
> 

Applied, thanks.

      parent reply	other threads:[~2021-06-29  9:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
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 ` Andrew Rybchenko [this message]

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=0660e188-6b06-9cb8-7400-36d8f28a97cb@oktetlabs.ru \
    --to=andrew.rybchenko@oktetlabs.ru \
    --cc=dev@dpdk.org \
    --cc=rahul.lakkireddy@chelsio.com \
    /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).