From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] mlx5: RETA query/update support Date: Tue, 03 Nov 2015 11:23:28 +0100 Message-ID: <1814998.7voNHEibcz@xps13> References: <1446231537-8380-1-git-send-email-adrien.mazarguil@6wind.com> <1446487917-18241-1-git-send-email-adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Nelio Larenjero Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 306E58E86 for ; Tue, 3 Nov 2015 11:24:39 +0100 (CET) Received: by wmec75 with SMTP id c75so82134902wme.1 for ; Tue, 03 Nov 2015 02:24:39 -0800 (PST) In-Reply-To: <1446487917-18241-1-git-send-email-adrien.mazarguil@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-11-02 19:11, Adrien Mazarguil: > From: Nelio Laranjeiro > > ConnectX-4 adapters to not have a constant indirection table size, which is > set at runtime from the number of RX queues. The maximum size is retrieved > using a hardware query and is normally 512. > > Since the current RETA API cannot handle a variable size, any query/update > command causes it to be silently updated to RSS_INDIRECTION_TABLE_SIZE > entries regardless of the original size. > > Also due to the underlying type of the configuration structure, the maximum > size is limited to RSS_INDIRECTION_TABLE_SIZE (currently 128, at most 256 > entries). > > A port stop/start must be done to apply the new RETA configuration. > > Signed-off-by: Nelio Laranjeiro Applied, thanks