From patchwork Tue Jan 23 00:16:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Washington X-Patchwork-Id: 136055 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AA3E54399F; Tue, 23 Jan 2024 01:18:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 862EC410FB; Tue, 23 Jan 2024 01:17:29 +0100 (CET) Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) by mails.dpdk.org (Postfix) with ESMTP id 1831240E54 for ; Tue, 23 Jan 2024 01:17:28 +0100 (CET) Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-5ff85fabbecso50000937b3.3 for ; Mon, 22 Jan 2024 16:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1705969047; x=1706573847; darn=dpdk.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=RjEXN+MDgMJ+RjrBcpU7/j+fHCdgFrni93HNms5lMt8=; b=TsSLaiG00uJw2sDV8Y16hpl9NnsFxHzfqIfhW7WJaqRaSbbcaHd5RxeAu88BpfN42Y Gu7jNMb3+3Lf6F4yOWCwBCqs0zhmrR1dOD8/8d9f9ZhNAjBL4UpdBX8Vf+3+QBqZ1mog qhnJTZulrrYHFLsH0odQ1njvRq6lS5/m9BUvFznnSKG/de62cYHr7nJ4VGF2fU0qP7qM XO3aTqnkvfLO3E60OkaGTDLED83DiGwoyJuFZ4CMbvy21dCFWqEefvwApfU/ZtiVIvlY QkxA7aVvwU5f7w2MpBK4Rq5SMwXZY20qEA2VJvuxcC9+NJimkX0Tu8GLyG8vZGKM1h65 Y29Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705969047; x=1706573847; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RjEXN+MDgMJ+RjrBcpU7/j+fHCdgFrni93HNms5lMt8=; b=ElqWAtjMrbqm6LzxcQIT62Pqe9dwqkcZ6VoykLaN77EBHoqqA54G7B5hZ4mdM/xojs 7CjHdypzht8ex+U5iZzerHorxKX+/DeLSqT00QELs+HNhI63l4R9U9lX+SwHw3vNPWnA H7idB6cjtNSj0u3M988JzlFFQeRTyUOVkKh+MsP0EJx/XguTx3ypj2up3m8Dd0Au7zYL PQds3VziN/+iuM54TmvhSm7zG+8nU4GA8priUGklkA6JF5R3XH/js4kua7atQy39Lx/o 8lZaDkrFHUIxyaC0rAKfN+TSSbrMGsexe8DNBQFJqOtGZA8KifAk4XcodOtAui92to/+ l4fw== X-Gm-Message-State: AOJu0Yx2QYlpqU4/V9Zn+He1RAibp6PthFkPlnDLt6Y9CweTIDNSs5wv qragKKsHafAnyaQw5jqx/qVBQpE0SfSlqMaCqwNxfeICTYGlOmaFwxoAnF9+n278kJhqM/+TmMN Tr2tz/jJrXA== X-Google-Smtp-Source: AGHT+IFICq0RxqpEE7weY4fCM/mOM2IMx3dfNjKdO6cWWq77Uhelkr3lEcNss+9UDjvu9Y3vAstwRK5mko0Bkg== X-Received: from joshwash.sea.corp.google.com ([2620:15c:11c:202:9096:2b97:b7f7:1182]) (user=joshwash job=sendgmr) by 2002:a05:6902:1808:b0:dc2:3426:c9ee with SMTP id cf8-20020a056902180800b00dc23426c9eemr313844ybb.11.1705969047559; Mon, 22 Jan 2024 16:17:27 -0800 (PST) Date: Mon, 22 Jan 2024 16:16:44 -0800 In-Reply-To: <20240123001645.1507779-1-joshwash@google.com> Mime-Version: 1.0 References: <20240123001645.1507779-1-joshwash@google.com> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog Message-ID: <20240123001645.1507779-8-joshwash@google.com> Subject: [PATCH 7/7] net/gve: update GVE documentation with RSS support From: Joshua Washington To: Junfeng Guo , Jeroen de Borst , Rushil Gupta , Joshua Washington Cc: dev@dpdk.org, Ferruh Yigit 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 --- doc/guides/nics/gve.rst | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/guides/nics/gve.rst b/doc/guides/nics/gve.rst index 1c3eaf03ef..80991e70cf 100644 --- a/doc/guides/nics/gve.rst +++ b/doc/guides/nics/gve.rst @@ -70,6 +70,8 @@ Supported features of the GVE PMD are: - Link state information - Tx multi-segments (Scatter Tx) - Tx UDP/TCP/SCTP Checksum +- RSS hash configuration +- RSS redirection table update and query Currently, only GQI_QPL and GQI_RDA queue format are supported in PMD. Jumbo Frame is not supported in PMD for now. @@ -77,10 +79,12 @@ It'll be added in a future DPDK release. Also, only GQI_QPL queue format is in use on GCP since GQI_RDA hasn't been released in production. -Currently, setting MTU with value larger than 1460 is not supported. +RSS +^^^ -Currently, only "RSS hash" is force enabled -so that the backend hardware device calculated hash values -could be shared with applications. -But for RSS, there is no such API to config RSS hash function or RETA table. -So, limited RSS is supported only with default config/setting. +GVE RSS can be enabled and configured using the standard interfaces. The driver +does not support querying the initial RSS configuration. + +The RSS hash key must be exactly 40 bytes, and the redirection table must have +128 entries. The RSS hash key must be configured before the redirection table +can be set up.