From patchwork Mon Feb 5 22:31:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13546342 Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 510701EF1E for ; Mon, 5 Feb 2024 22:32:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707172337; cv=none; b=rEl2+KQeM+v2WuHZ6Q2PhdrjWHxWhSQG4zgtJwBb9cqmTEh2r3wCzbzgJBG8zCcbH7jaJJHUwSf3g69Cww7LUV7gJ4xt7goetM0rnimUgVX7jKrvSh9GiwX3rRVXUhFT51fzGnEYGiK6pD+pRFGvUiLx6rt0wMBNqC+8gi5FE5k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707172337; c=relaxed/simple; bh=545uZ+FhgwB62lqVeu4Z3CBVHEbbIl+2vWKVN1nawoE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=midFlVBCFoc6lMJoH2Xh7Cz3cpcZWr4vTdcKsnagcf6R0JTywWkIyjWEabH72YgLuPSRs8KDWoNqRMI/4ECDdXFscTMuzKppbc2QoxeEJntsuBEBqvn+KJXVvjr4DzjmXRn8vHJ7yo+as+Kl3BnnLKGuqdDU8an8c6LMB2KGrKk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=K1Ov03QK; arc=none smtp.client-ip=209.85.210.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="K1Ov03QK" Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-6e1226b30ffso2848403a34.0 for ; Mon, 05 Feb 2024 14:32:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1707172334; x=1707777134; darn=vger.kernel.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=aCNTR9du6eGYaSy9KkTjUZ3x3HkhHsVWG3Jpm9WiEV4=; b=K1Ov03QKEMMuU2Hk+7UusYGCYISx6t08NsqnN4UTEKhvBqjiYf0hqptKLQGy3LC2nH EntKW84NwZbLg/vcdZJXA+w0k3B+TTg+y7eH8ROdMNRvfdKMTiO68a6zY1394luWajRg lHrw4784GO8glvi9B+2p/J25jPFL3S6XXDV2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707172334; x=1707777134; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aCNTR9du6eGYaSy9KkTjUZ3x3HkhHsVWG3Jpm9WiEV4=; b=BNowF3Y1aaoJLDfRFEYBbrhdihRI2egmWkpbIOCJfOwgcKra+XQXlEpFIt/01qmsPt 7oJDZf+lCHl5iH/HGxzTJ7dAytP42wScTBr2axdT59xxaRviFLvmVXJUrrEwhpDbSbFy qJG0Ppwl/lMWzOu54mIgPETbtXNM29R2y/8rdwn9ReKEhK8HHayg42BRDPWmB3GHcV3w VuA+DajXj6qUVPy+JLh3F7LA/nsXFOr8MCeQS+EPk+PvUGF2zY9fXZm/dACA1FgCuMiP 3hi+oOwR5w4jG1o23QJAbpAKA4i/ioL8qOTe7aprkFNUBth5Y9ck9a9s+1e819elAVDz QuYA== X-Gm-Message-State: AOJu0Yx2dvDDwbw/7x++1/Dbibf2M+Yu+HgDpfuVvXMi5zaT9GLyvK0U A11cXNjsDNJ66ENqtCHLmPSQcqdhOC+MXQWzZ1BI6keIMGAe40J375i4mPKRQZZlFBIBhXZufx4 = X-Google-Smtp-Source: AGHT+IEzDubMQ2bp9whsPq4W0kmMOs0sgu1CeEtNfesvJZhr9XgfmrWN7WqpeMg7g9Sd+E9nloxGDQ== X-Received: by 2002:a05:6871:7503:b0:219:7e6c:fef3 with SMTP id ny3-20020a056871750300b002197e6cfef3mr670874oac.21.1707172334032; Mon, 05 Feb 2024 14:32:14 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWiHW0SxlaR/5tWqsbuVSzXOKMji/Ko7j+VqsV+2Ah05A73a6BacVnn/lR0vRp5X/ydFDxxi5treckcCYKAesp5sItXGqx296hsUS3/LqSy5gkpsk8Uwh1GXsAj0rZCoVMSJLroaVBJOah668E29kXcm8AUvu00PXTla53J8SiI4Zz6f20DZ5ZTJ1PCKgyD3E3Qi64ZDqHb8pqSS7ptJIXgi1I= Received: from lvnvda5233.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id x11-20020ac8120b000000b0042c2d47d7fbsm340864qti.60.2024.02.05.14.32.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2024 14:32:13 -0800 (PST) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, andrew.gospodarek@broadcom.com, pavan.chebbi@broadcom.com Subject: [PATCH net-next 00/13] bnxt_en: Ntuple and RSS updates Date: Mon, 5 Feb 2024 14:31:49 -0800 Message-Id: <20240205223202.25341-1-michael.chan@broadcom.com> X-Mailer: git-send-email 2.32.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org This patch series adds more ntuple and RSS features following recent patches to add support for user configured ntuple filters. Additional features include L2 ether filters, partial tuple masks, IP filters besides TCP/UDP, drop action, saving and re-applying user filters after driver reset, user configured RSS key, and RSS for IPSEC. Ajit Khaparde (1): bnxt_en: Add RSS support for IPSEC headers Edwin Peer (1): bnxt_en: implement fully specified 5-tuple masks Michael Chan (3): bnxt_en: Use firmware provided maximum filter counts. bnxt_en: Add ethtool -N support for ether filters. bnxt_en: Support ethtool -n to display ether filters. Pavan Chebbi (6): bnxt_en: Add separate function to delete the filter structure bnxt_en: Save user configured filters in a lookup list bnxt_en: Retain user configured filters when closing bnxt_en: Restore all the user created L2 and ntuple filters bnxt_en: Add support for user configured RSS key bnxt_en: Invalidate user filters when needed Vikas Gupta (2): bnxt_en: Enhance ethtool ntuple support for ip flows besides TCP/UDP bnxt_en: Add drop action support for ntuple drivers/net/ethernet/broadcom/bnxt/bnxt.c | 346 ++++++++++++---- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 52 ++- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 389 +++++++++++++----- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.h | 2 + 4 files changed, 579 insertions(+), 210 deletions(-)