From nobody Tue Jun 14 19:21:50 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E7BAA832583 for ; Tue, 14 Jun 2022 19:21:51 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smarthost1.sentex.ca", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LMywv0WLlz3vw8; Tue, 14 Jun 2022 19:21:51 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.16.1/8.16.1) with ESMTPS id 25EJLnuF004451 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 14 Jun 2022 15:21:49 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:f1d4:55ea:6a38:d261] ([IPv6:2607:f3e0:0:4:f1d4:55ea:6a38:d261]) by pyroxene2a.sentex.ca (8.16.1/8.15.2) with ESMTPS id 25EJLn2R086212 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 14 Jun 2022 15:21:49 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <6508c580-fbe5-1588-eb66-5240978d2f5c@sentex.net> Date: Tue, 14 Jun 2022 15:21:50 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: impact on performance by querying Chelsio NIC filter rules Content-Language: en-US To: Navdeep Parhar , FreeBSD Questions References: <781946ca-0f6e-7c80-134a-2c7166d7aeeb@FreeBSD.org> From: mike tancsa In-Reply-To: <781946ca-0f6e-7c80-134a-2c7166d7aeeb@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4LMywv0WLlz3vw8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:1::12 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-3.39 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[mike]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f3e0::/32]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sentex.net]; NEURAL_HAM_LONG(-0.99)[-0.988]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-questions]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[199.212.134.19:received] X-ThisMailContainsUnwantedMimeParts: N On 6/14/2022 3:13 PM, Navdeep Parhar wrote: > On 6/14/22 7:46 AM, mike tancsa wrote: >> Hi All, >> >>      I have been making use of the built in filtering capabilities of >> the Chelsio 10G and above NICs with great success so far. I have a >> new project that would mean querying the card (via cxgbetool t5nex0 >> filter list) every 5-10 seconds. Does the act of retrieving those >> values have any impact on the performance of the card ? I have about >> 50 rules right now. > > Filter retrieval in cxgbe is a lightweight activity involving a few > PCIe writes and reads.  It has no impact on the performance of the > hardware's data path. > > Thanks Navdeep for the confirmation, not to mention the most excellent hardware and drivers!     ---Mike