From patchwork Thu Feb 8 19:05:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 136562 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 5889943AB4; Thu, 8 Feb 2024 20:08:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DDB842E56; Thu, 8 Feb 2024 20:08:33 +0100 (CET) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 7B6E5402D1 for ; Thu, 8 Feb 2024 20:08:30 +0100 (CET) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6e06d2180b0so153402b3a.0 for ; Thu, 08 Feb 2024 11:08:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1707419309; x=1708024109; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qqrc3dYAP1STL4K2E19XdAgGAiiB9sbm8sOysngF+vA=; b=aPvAddX1Nnj7PtNIWLBnEigvY2ptcJHe/i2317VJFnrVccM/ZrWVQi/baDaPaDuz80 cmw+LNlKttbbEOGLyyhXxMPiwPs3R443twv5L7uqIaiVxPr1dcvXwzhHuZ5731SyKbi9 B7YfML/qHeedwB/sRUZI+EfZQ6ekxKWXkpBSYRnj/8nxE0OWgUsWkJfDND4po1J4DWMc UAaBNFd6MPXxd9T8jGybIK37PwmN5JWryJmtzoiD5/yg2PsxIZSJAF3F7+Wi0YTZ9HcP ZJBxacQ/MVKIzNYpBnOs58XWWfLNlke0GP1mNSAuPYRhskGG6Wh3/DiRBuvUTNAm9EwY M8bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707419309; x=1708024109; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qqrc3dYAP1STL4K2E19XdAgGAiiB9sbm8sOysngF+vA=; b=liJnuC5Pj+l7Z10+KGSBtQ7/5agKc4loKWFwB0848aRbQ9V21jJ8Tr3yPuG22dAcVS i2DBulBLtiyb/1G6IL7wWEfVADnUJAW8Qlg6/iHRTJLdNfD5EcfgRj37NrtorWx4f1Or BO9A1n9Y12S4bXcrRKPgs2qcAFUK/OnMAHMY8ZLiimyNut/Hb+YOTwnggHG9AxtDn19z jcR1IQvnFTHfqx3KcRhMJ0nJNqb+6DVTU1Sa6FfZi0MkovPGg8vJvYRVYeE/H0WWe83d PfscxIqpeI4NHVAH5ilzzjd73K8chzFr9e3DYK9ybQhhWwTH4uHEsRyDXu8yIwMeo6HU FRgg== X-Gm-Message-State: AOJu0YxXfypefXCFNoIDgJ+9EVZsnEKFKfDvmGCvgCZ+qtyUZXE28m61 mYoPngUHSpIjcJ8BH2a+26zbBr8sQueoYylcfAvsI6u6c3SIvdmP+qzMYRiQjINzshNfqod9VS+ SQaw= X-Google-Smtp-Source: AGHT+IG7I02MyYkTNAbf49PSIs60FmygU4SDK+cKjZzWUU/jHn3qdtLLrS906+HpbYP2VbuneE3Hzg== X-Received: by 2002:a05:6a20:4320:b0:19e:9d92:492e with SMTP id h32-20020a056a20432000b0019e9d92492emr634034pzk.44.1707419309627; Thu, 08 Feb 2024 11:08:29 -0800 (PST) Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id z1-20020aa79901000000b006e053e98e1csm79951pff.136.2024.02.08.11.08.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 11:08:29 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 1/7] net/tap: remove unused RSS hash types Date: Thu, 8 Feb 2024 11:05:49 -0800 Message-ID: <20240208190827.332368-2-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240208190827.332368-1-stephen@networkplumber.org> References: <20240130034925.44869-1-stephen@networkplumber.org> <20240208190827.332368-1-stephen@networkplumber.org> MIME-Version: 1.0 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 The driver doesn't support these other hash types, and there is no reason to implement these in future. Signed-off-by: Stephen Hemminger --- drivers/net/tap/tap_rss.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/tap/tap_rss.h b/drivers/net/tap/tap_rss.h index dff46a012f94..8766ffc244f6 100644 --- a/drivers/net/tap/tap_rss.h +++ b/drivers/net/tap/tap_rss.h @@ -21,12 +21,6 @@ enum hash_field { HASH_FIELD_IPV4_L3_L4, /* IPv4 src/dst addr + L4 src/dst ports */ HASH_FIELD_IPV6_L3, /* IPv6 src/dst addr */ HASH_FIELD_IPV6_L3_L4, /* IPv6 src/dst addr + L4 src/dst ports */ - HASH_FIELD_L2_SRC, /* Ethernet src addr */ - HASH_FIELD_L2_DST, /* Ethernet dst addr */ - HASH_FIELD_L3_SRC, /* L3 src addr */ - HASH_FIELD_L3_DST, /* L3 dst addr */ - HASH_FIELD_L4_SRC, /* TCP/UDP src ports */ - HASH_FIELD_L4_DST, /* TCP/UDP dst ports */ }; struct rss_key {