From patchwork Tue Jan 23 17:58:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Washington X-Patchwork-Id: 136076 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 19F27439AA; Tue, 23 Jan 2024 18:59:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A3AF42DE2; Tue, 23 Jan 2024 18:58:57 +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 5786D42DDA for ; Tue, 23 Jan 2024 18:58:55 +0100 (CET) Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-5fc6463b0edso75909247b3.0 for ; Tue, 23 Jan 2024 09:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1706032735; x=1706637535; 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=h3aZaUFyUZGbxwS3paZWlQTufwqd1KsKY3UizzQlwB8=; b=yXHXYQ1p4T0a5XxEnt4Fxomh1e0fGfmx0JtTUmcWpZn/YEOQTbmZjmzdeGO2YTsOA+ n2TQzk1aSl0sGHHINYE344+sOyk1c603iwx5gmDLP13bNNpsTkSC59nIIMOysKP2zK5m PIr5DHepdvcUXFUEe1RIpR1crsf0jKklTlQChbcasAXN+5k7Mg/rqW6gNYAod+TUyDF4 xXhjgi1x7bj3Z+D5GkBwZtisI+OyclmmO0cW7+l53cDlOeqgCgwmQfJhNHbRPEg7whq2 ApaqPuA+y7vGxjWphkrkjBMwRpdG+/HqklNCB1Vm7dpNq2mmT8nvlaa7oq7Kq7f4+ZxH 3KJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706032735; x=1706637535; 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=h3aZaUFyUZGbxwS3paZWlQTufwqd1KsKY3UizzQlwB8=; b=REbEFWtf+kxfTjTUXMY8TKJKUYJxhI/5NKWzg1X5lvMSd3dO0trwJ7VeSf4wvCl+xn qAbKPalhCcxq5jqcVXebs9vLfKMk2JI/MgdvQdFeOyELDqXXVUHr8Ee3JvMd/O1H0+ul 3CKkYNKYfD6qL7jtJsRc8L8Mp/jF5zce4uerf2kqeSW0yLsy6iVVIgRA6GMNWBhrepIk xaRcTh30vP7Ha4rPEA52cwEuC6p32MguYgW8vc2/WxKwxtZ6Zr4BR/57TaMPgJMCqNS+ KRqQ60DsS1ZbU4NkutRFVXKhe2T1/JUuo1SQ4prPd7i1Uw6Bz5Q0igQXMjLIbbEz/Jcu U3CQ== X-Gm-Message-State: AOJu0YwXxF1TwsMrz6QyrFEkzbS7mYvQLxDlAY327C6SZ3sw3SYNEsH/ Fdo8QMP49I3lQ10/a54wzKm5zIUO07v8+OA47GdccB0F+RSmnFRHkWVJ2mw9owAWEsjI+0RYVTA vgJ7LlHjbZQ== X-Google-Smtp-Source: AGHT+IEzx6gmqSbjqqKVfPYa1zW0qgpCpmfLkDZx7968i34NLXGwkdlu11RLFA6jO+rOT+2DgUKq9inTeAVE5w== X-Received: from joshwash.sea.corp.google.com ([2620:15c:11c:202:b9a2:fa74:abc3:bc47]) (user=joshwash job=sendgmr) by 2002:a81:9bc1:0:b0:5ff:781e:b40f with SMTP id s184-20020a819bc1000000b005ff781eb40fmr2126365ywg.2.1706032734851; Tue, 23 Jan 2024 09:58:54 -0800 (PST) Date: Tue, 23 Jan 2024 09:58:30 -0800 In-Reply-To: <20240123175831.3219292-1-joshwash@google.com> Mime-Version: 1.0 References: <20240123175831.3219292-1-joshwash@google.com> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog Message-ID: <20240123175831.3219292-8-joshwash@google.com> Subject: [PATCH v2 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 This patch updates the GVE doc page to communicate that GVE now supports RSS configuration and explains the limitations. Signed-off-by: Joshua Washington --- 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.