From patchwork Wed Jan 24 00:15:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Washington X-Patchwork-Id: 136090 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 D6BFC439AD; Wed, 24 Jan 2024 01:15:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D4BA42DEE; Wed, 24 Jan 2024 01:15:18 +0100 (CET) Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) by mails.dpdk.org (Postfix) with ESMTP id E7E3F41104 for ; Wed, 24 Jan 2024 01:15:16 +0100 (CET) Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-1d4a097002fso58058875ad.3 for ; Tue, 23 Jan 2024 16:15:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1706055316; x=1706660116; 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=xS8h26UjGtjUihQB5NG18OkLu1ZKZrutg/FCYFT5NV0JuXZLPDHZKbgPRTezaXUo0Q fZQ53hsVGdIuUWG2QDyzDWm0hf+oZUwX9NX6W1onhRiDmWnct6cDi6zpPdDKVJkVNr7R ZLuUJoNj3xVgIyq1lOfBOBvRGn10sp0MG/0k6EJhsGuoSNB3d0m6LFi9Ln1B3JgshFJ4 4uD3wlDgXKGqvfM9hicH55djrYNCvySQib9BFzLP6x9GRQNNEST1FzgmnoB7panXEVjr 38RXI/yNfIC7JFN4z4L1EWrIwmWvSnh1dSZbrDtyW/kSH0MEhtS7ZHPxNRtqKaqNIqOO uF2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706055316; x=1706660116; 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=H8N4VuOQcI0zl2/n/XMy8hhzQsc8UU4NKL2v6Hh777B6IdJywdju0zEzwN4fgbHA2i rn+dGSPKQy8lmLph1E+aelHw11XOH6qotBfc6uYjf/ShLC/+l42i26Z4C6MctykR2y3c qgHLnI0kO2R0qiAnOJRd6rrrCpzQ7A0trcEkykA4XY+18pghcjLw/5kLH/jwq3r6KSVn grz3hC3r0aufrJMIOus/DexqsXJ2WsituPeKTutl1tdYVMPUgM9bbV4fApJiKK3gYJ61 IfRQkwGyXQBhaORtM6YpFAuDKPUsdCkom8xdKyc8k0+0mJKXD4Bovr3VdVDlXAP4kLAs y2nw== X-Gm-Message-State: AOJu0YybDlhZmQ66X+Uy5fgtNpTM4ahEycnf0Ktl0pjEq5mxZ7TtQ285 +IlW0Z4s9DGmPk9tZaS0XCTzWZEfkWNckYX3d7tRW/K4dwtH5z9I0RWvOaho9Ms6A9QMOD0Z/2u rJwAajva8pw== X-Google-Smtp-Source: AGHT+IGs/oa2FqvBv/io9ItSPmFTuBfLHSFIsNO5GyitlG0H8rexPGHR4aMrlbPlpX+I4mL0aF89Ua8XiM6ZCA== X-Received: from joshwash.sea.corp.google.com ([2620:15c:11c:202:b9a2:fa74:abc3:bc47]) (user=joshwash job=sendgmr) by 2002:a17:902:ea06:b0:1d7:5d88:f99c with SMTP id s6-20020a170902ea0600b001d75d88f99cmr36plg.10.1706055316175; Tue, 23 Jan 2024 16:15:16 -0800 (PST) Date: Tue, 23 Jan 2024 16:15:00 -0800 In-Reply-To: <20240124001501.446195-1-joshwash@google.com> Mime-Version: 1.0 References: <20240123175831.3219292-1-joshwash@google.com> <20240124001501.446195-1-joshwash@google.com> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog Message-ID: <20240124001501.446195-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.