From patchwork Fri Jan 26 17:33:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Washington X-Patchwork-Id: 136188 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 41C54439D4; Fri, 26 Jan 2024 18:34:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C967842E66; Fri, 26 Jan 2024 18:33:44 +0100 (CET) Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.201]) by mails.dpdk.org (Postfix) with ESMTP id 0F0BA42E64 for ; Fri, 26 Jan 2024 18:33:42 +0100 (CET) Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-6ddcec40883so608828b3a.2 for ; Fri, 26 Jan 2024 09:33:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1706290421; x=1706895221; 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=Lt+sEB6f9rGApeJ7HvimM3N2DS3KGC0tMGwDYAcxyFoYd2n59F0B0qRE8Vu2ap9Mag 6XkDHAMDAeSRl0oVttm3pD87xpf3ykygd4ZOaHIwQsV8oPD3bsoHbIPfUx2x2clX8Z7R o0iM0tecs7MOEuZeXxkHQZbu6ocgrTs0R2c6L8CEsuQM59f1Z8HGF8EjkKyty1Z5ehXU FD9dDFw83JB87xt44iu3X8saT9i/EJMnlMNKUTQgURWIc3rCfURlcwXijVJR+PciwtU2 /d5JKla7xx7c7hFhzh5s55nU9wn6+EXG6Amb7WCmLs1UY0toKqIa4KQ/PZTCMl/Sgx6j boYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706290421; x=1706895221; 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=CHfF1VBkSaFRSBRULfVo5iWn+R/p/tSpfgTljQehgwAjQVJGo/pCXKybWN2/Hs6WoI 8gNYEGKxwfpUNZuYPEVIk19NQD4vTK9oGc8ti6Br4Q1xh67AHm/4yqdEOmSJ2JPDZpIs 47WXs+5NJ9vK26c+oPMdxichxiT0RKlZG3LfHhlUT+/w/F49LwQaXqQiD3cWZBfv5J0s JW2X2HfVi4LjkLiigxOh872negdWKc1ZgM0Z02SjSbIyptpu/AG7d1nPBIP7pn5cvLuV aHW8WGmS/ujHklIqxmXrkvDy+b2aA4Lb02YDupnunvC6+SKU5SrniIyxtPIqxInYxY0n etfw== X-Gm-Message-State: AOJu0YxovTMcfCye1dITAa4/Y94JOaEHWTmNctfIBX8F8wttsHV96gFe Omq0W/gEDIiCGsMg1Vgvr7pQwouKBUm2+h3NkdC5lyBH8YaGftp7n2l387PtwH7wlWleF1Z+Zw/ JKO1Oze1ZcA== X-Google-Smtp-Source: AGHT+IFWJiOpFT+XJstS6nVHwB0HDmYJy9djDjSyS6LXU+gi5Tf18OVUk9H6tAH+SHe86aGW1W3uMrYYF2bmJg== X-Received: from joshwash.sea.corp.google.com ([2620:15c:11c:202:32b0:8478:d496:bc49]) (user=joshwash job=sendgmr) by 2002:a05:6a00:8f06:b0:6dd:e157:fe74 with SMTP id ji6-20020a056a008f0600b006dde157fe74mr20999pfb.0.1706290421321; Fri, 26 Jan 2024 09:33:41 -0800 (PST) Date: Fri, 26 Jan 2024 09:33:16 -0800 In-Reply-To: <20240126173317.2779230-1-joshwash@google.com> Mime-Version: 1.0 References: <20240124001501.446195-1-joshwash@google.com> <20240126173317.2779230-1-joshwash@google.com> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog Message-ID: <20240126173317.2779230-8-joshwash@google.com> Subject: [PATCH v4 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.