From patchwork Wed Jan 24 00:04:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Washington X-Patchwork-Id: 136083 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 E411A439AD; Wed, 24 Jan 2024 01:05:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1EF742D90; Wed, 24 Jan 2024 01:04:51 +0100 (CET) Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) by mails.dpdk.org (Postfix) with ESMTP id C378940EE7 for ; Wed, 24 Jan 2024 01:04:49 +0100 (CET) Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dc26605c273so7805641276.0 for ; Tue, 23 Jan 2024 16:04:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1706054689; x=1706659489; 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=sMchxNA81wbbtV+SI3hQqwWL5aP6bZZN0dO4V5VW4W3hSjDE/oMjKbiii+lv9Rg5WK D2Rb0WL7C/5vXrHQ0X4+1XuWsjR4T1WtcKiPqwZBzskcTZ7hoz8TNoTEFzwJ4RAdVmvA 1gQJjqM5KwpqYigMzJcKZtBqHHmt4JXYeUeihwmgocqO2KIBBwVVY4HVkiQgZ7EvreH6 PzVjS04+7nNhMgBqEpn89ZbsBny5eBF7JUvVW8+FJ07hw1yh9Px5urXr2Kd7tuqPlflW nD+IkiGIuWP16PdvqV2RsMoTurIPaX2mJ/3o5OLYxq+VBg3dQA9RtLJXSSmB5XUR+CL6 QQtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706054689; x=1706659489; 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=BnO0Wmkn8Qd7+8uJd8Twm8iCKTp7hqeV5CoKjl5Z7z4yOELFJyU/3rnn90P4dZV2Vn CjbZ2HCLXypNivhUYD1zOIXkZz5VbusL60PEN2QG4IeTwTbG4dkrm1BepAO0hPmafpjE hWmq4A/7vZFULvgB6u7Ux6YSB8vlOdOSxeWUfiwesNsRDeQVIfa/DVBxacbPy3KuviGt lPVxLTj8dNxvPGA+g9hCIqH7/rm5VCq+drS9kKgcckBJXDluAWYIEZKZV4RwXuCfPs9y UaNEc31eU5PHGVrCIDSmbur0dbZQEJ4wIvk/iGqzQr+YtxlLn65OI1zMxOvAz8Rn0dEK AEHw== X-Gm-Message-State: AOJu0Yx/+uNH1vv8r0wagNE40ENnuJeV3866fLJOM+n6IrmR6Y9sxH6P B0tM5k9yXMMfTTSzHdLpeKcXrxnBB0XnpHJcXymJrqefCW1Zfudef9hvyHAggA265sNGlGf9+4U 0/hrN8yOSow== X-Google-Smtp-Source: AGHT+IG242cPty7XZV3sbrDkxrOX90vSHRGQR1aAkyuS/kdKmfAsoMqudSP24s1dD7UPp8DwnAJVLRiYft+XNw== X-Received: from joshwash.sea.corp.google.com ([2620:15c:11c:202:b9a2:fa74:abc3:bc47]) (user=joshwash job=sendgmr) by 2002:a25:6ad4:0:b0:dc2:5525:f6b with SMTP id f203-20020a256ad4000000b00dc255250f6bmr8118ybc.7.1706054689175; Tue, 23 Jan 2024 16:04:49 -0800 (PST) Date: Tue, 23 Jan 2024 16:04:25 -0800 In-Reply-To: <20240124000426.418527-1-joshwash@google.com> Mime-Version: 1.0 References: <20240123175831.3219292-1-joshwash@google.com> <20240124000426.418527-1-joshwash@google.com> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog Message-ID: <20240124000426.418527-8-joshwash@google.com> Subject: [PATCH v3 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.