From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=lUFH2b3PgeEyokJ2ySBrWC47SMQaA8rBit/dvQ5aab8=; b=iadc6HokPgYnP4yZx6luKhUt/pHMfBV1WRwlzY/96lqIXpFXULzjuNxDIDQa3PiRg/ 7NC4zZOoHqmjoJymXpNHjNsdcwa2dGGLbK3gGPM8JiZk2SDBXNjvKyrRqvP3CkUZPOGS plHN8V+3ek6ER7pv7wb4FJBOybJ0FZJunCWKAyEcZnlZwHGPNfSAewUH+oG1727SaPy5 7Mb1GzkCR+28c+zAAjq7bktTkspdVq+aEYH/NvzCNTWlP1lStL5kS9WeX5rSux+/9GmF 6bRaIXsEnqcqQS0yHn2FEDWIh/xhQ6CCsIwEHmdqpqPwd0KrVpaV5HBe5D+Ld0zCNEBE YlWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=lUFH2b3PgeEyokJ2ySBrWC47SMQaA8rBit/dvQ5aab8=; b=CBHCls67qI5ZwnIIeH3jE6kKQmkO+AEFlIZWeT/2H40awFOj7eYUyvDfl4VcYcGvKi Lv5hbyj+f4HDv3J3jZBqvGeIfbNkkFk4Aby2rCSK+uJMQJm5Fkh7RBmk/pgSwTzn+Scy LsFiSmFpNk0FsqOiT+Hd3HQYsebo69BOYuhzdFGOQj2JIjq1GQTBXT7cbYrX3Wfdi+/S PryPrvpzJVlUikRFjbzF2MIjhkvgGbN9oOuA8VnjjF5nV+zAp9V8G8umHzRLOrMWJRr1 TFePSkcUpCfv5AdHm0gV7966sRVVbtSeLNcDXKbsrv8zrOuoi/dItxFQKLxaQlx8j4CJ YNoQ== X-Gm-Message-State: ALoCoQmNCbuzYrkIyZKkva2j5e/mFUn2IE/N//SCTORammNYcFOBQgVWI7uuMN7UJeLJB9DbtP0X X-Received: by 10.28.210.77 with SMTP id j74mr17771543wmg.60.1446546279010; Tue, 03 Nov 2015 02:24:39 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id w9sm26767580wjf.20.2015.11.03.02.24.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Nov 2015 02:24:38 -0800 (PST) From: Thomas Monjalon To: Nelio Larenjero Date: Tue, 03 Nov 2015 11:23:28 +0100 Message-ID: <1814998.7voNHEibcz@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1446487917-18241-1-git-send-email-adrien.mazarguil@6wind.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3] mlx5: RETA query/update support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2015 10:24:39 -0000 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