From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3FAFCD6E56 for ; Mon, 1 Jun 2026 09:36:01 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F289F4025F; Mon, 1 Jun 2026 11:36:00 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 83E134025F for ; Mon, 1 Jun 2026 11:35:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru AA89B6B DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1780306559; bh=GrLNn/AYvFDvJWz0hCVdxWTqehmvTFQSMIw7dBF0p8Q=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=YdSjXzkXTYdOu9fnNtUU7z5zxdk+itpvvFFgFVnnGw21ODRnnAz0cVsBTrbl2TjG8 VLh3Qo3ZTgYJ7oooD9+w6uN7xg0iIMTsbc7bQoY5R3BM7jdoskG4dalHy48qGNP5xz N/qDuurDfG/kP9GQ59m3mJNN39ux9cTJ6onxBCs8= Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (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 AA89B6B; Mon, 1 Jun 2026 12:35:58 +0300 (MSK) Message-ID: Date: Mon, 1 Jun 2026 12:35:58 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/5] ethdev: skip VMDq pools unless configured To: David Marchand , dev@dpdk.org Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra , Thomas Monjalon References: <20260403091836.1073484-1-david.marchand@redhat.com> <20260506123554.2524136-1-david.marchand@redhat.com> <20260506123554.2524136-2-david.marchand@redhat.com> Content-Language: en-US From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20260506123554.2524136-2-david.marchand@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 5/6/26 3:35 PM, David Marchand wrote: > The mac_addr_add API describes that only the 0 pool should be passed > unless VMDq has been enabled, though there was no validation so far. > Add such a check, then cleanup the related operations (adding, removing, > restoring). > > As a side effect, the net/cnxk does not need to manually reset the > mac_pool_sel[] array. > > Signed-off-by: David Marchand Acked-by: Andrew Rybchenko@oktetlabs.ru>