From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 80019A0A0C; Tue, 29 Jun 2021 11:42:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A2844117C; Tue, 29 Jun 2021 11:42:28 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 68F6D40E01 for ; Tue, 29 Jun 2021 11:42:26 +0200 (CEST) Received: from [192.168.1.71] (unknown [188.170.72.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id D24A97F52A; Tue, 29 Jun 2021 12:42:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru D24A97F52A DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1624959745; bh=9qD6z/NqKg3i0jN1BHZPG1YA11FJHNNuMgAxyGpY0oY=; h=Subject:To:References:From:Date:In-Reply-To; b=SbEMd7sqo0FjlRTEqkYGCbDDLqDP0aakX+NwXeNzydWCl3+Qi3DKPdN3UR30oC1w4 6hqoh+1vMZbWWU3bCogr9prrE/F+bBgvT7nDXNOXtp0H2fb3PU7YduvluNJ26BWPAm p/VZn1tA3upxSUsktRJZIykYLCx7u6rwR0Alcdeg= To: Rahul Lakkireddy , dev@dpdk.org References: From: Andrew Rybchenko Message-ID: <0660e188-6b06-9cb8-7400-36d8f28a97cb@oktetlabs.ru> Date: Tue, 29 Jun 2021 12:42:24 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 0/2] net/cxgbe: add RAW MAC matchall filter support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.