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 A013A42344; Tue, 10 Oct 2023 07:48:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 794834027B; Tue, 10 Oct 2023 07:48:20 +0200 (CEST) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) by mails.dpdk.org (Postfix) with ESMTP id 75D6F40278 for ; Tue, 10 Oct 2023 07:48:18 +0200 (CEST) Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-41b2c012a41so3901111cf.2 for ; Mon, 09 Oct 2023 22:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696916898; x=1697521698; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/sOyOb2YIvTJN9PTaZ2xo6nNVdLmp7yQHMjpNrMypow=; b=E3cvDRNrqqLOkBYO9V42iuCnCKwgHsJmYlL+tqC9EtSb/TBvgb/2N2VQv9W5azOmg5 MDtjFXczXiMUaRtXak9Fs+ZUrrnjTuuuZzffeUfJErokW1fjhkjB6nKtkYqhPMtZ68oG sQnQNBksSDztHIK44JLAXaiv+jkpQYyY0QnC7iu66H1fsWWUcRKclWKg+0tk/+dzhriE WYKjOaB0NFKxZcUEuvtxrgFlJfvTnoalvCEvxDHwa7upPI1+5KNVkR0mYMyUFZTXVTHD BUnZ1iAph9+Wyqc/KBVpLbsNFWUHZhxtUWgPQ70/wI0NqkcfHmsdgVc0Ct9ufCIz3HpJ UIHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696916898; x=1697521698; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/sOyOb2YIvTJN9PTaZ2xo6nNVdLmp7yQHMjpNrMypow=; b=lwwS8T7Sq+9P8SXvCA+B7OJzvK3sQYcPPgk387owsDx6V53vvtWYx8w/8JrkG9MfOx /o/NPlyjwcGXQ/O7+8jhKUl+xFTehFn1CCk0xWG6lQ40AhYM4Rz2v6t9iqaqtpJm4nDE 1XgTxiQ8uA58B/uavC58uGm9bZCu5fio/N32HSmE7lVMoZO66b8NAynm33/QzOkoroBL DYInonhSNku/6I3QRn6MxaVCDeH+nSjrA40alw1Nao6rwdwSfT1p+qFFAcE+IA96Yc/C tuJ86Qct82ydgdZI3LcnBTpWoQueLlekQrVe+4KsIJxW7KzoKZxjC3X1hU0/KBE50sv/ D+Cg== X-Gm-Message-State: AOJu0Yzo8jCOJnySDFRoYZe15aTOl79YSs7+2WUl8gpTlHxVK5XKz5By 73/xvPrfzmpG3wIVBuHBBxekfKEl9Dt+dx4eGUA= X-Google-Smtp-Source: AGHT+IHDzgdZYZa4kRk+t7yT9lU3X31j8ZK0LNSBflSGI3IB0gkYmfPVHxxy7Q1KEhsmVwE1WUb3EBJLcmc+0tA1siI= X-Received: by 2002:ac8:57d2:0:b0:412:61e8:652 with SMTP id w18-20020ac857d2000000b0041261e80652mr20030948qta.15.1696916897672; Mon, 09 Oct 2023 22:48:17 -0700 (PDT) MIME-Version: 1.0 References: <20231009163033.1095213-1-skori@marvell.com> <20231009163610.1096092-1-skori@marvell.com> In-Reply-To: <20231009163610.1096092-1-skori@marvell.com> From: Jerin Jacob Date: Tue, 10 Oct 2023 11:17:51 +0530 Message-ID: Subject: Re: [PATCH v2 1/1] usertools/rss: add CNXK RSS key To: skori@marvell.com Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Mon, Oct 9, 2023 at 10:06=E2=80=AFPM wrote: > > From: Sunil Kumar Kori > > This patch adds RSS key for CNXK platforms. CNXK platform uses > 48 bytes long key for hash calculations. > > For the same patch also updates help mesaages to provide range > information for supporting NICs/platforms. > > Also CNXK uses reta size as 64 so to get correct offset to retrieve > queue index, user must pass reta_size option as 64 i.e. -t 64. > > Examples: > $ ./dpdk-rss-flows.py -k cnxk 8 28.0.0.0/24 40.0.0.0/24 -t 64 > SRC_IP DST_IP QUEUE > 28.0.0.1 40.0.0.1 7 > 28.0.0.1 40.0.0.2 2 > 28.0.0.1 40.0.0.3 4 > 28.0.0.1 40.0.0.7 1 > 28.0.0.1 40.0.0.8 3 > 28.0.0.1 40.0.0.9 5 > 28.0.0.1 40.0.0.10 0 > 28.0.0.1 40.0.0.11 6 > > Signed-off-by: Sunil Kumar Kori Acked-by: Jerin Jacob