net/intel: enable ethertype filter for E610

Message ID 20250423055339.79209-1-kaiwenx.deng@intel.com (mailing list archive)
State Accepted
Delegated to: Bruce Richardson
Headers
Series net/intel: enable ethertype filter for E610 |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/intel-Functional success Functional PASS
ci/github-robot: build success github build: passed
ci/iol-mellanox-Functional success Functional Testing PASS
ci/iol-marvell-Functional success Functional Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-sample-apps-testing success Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-compile-arm64-testing success Testing PASS

Commit Message

Kaiwen Deng April 23, 2025, 5:53 a.m. UTC
This commit adds the E610 MAC type to the filter support check.

Fixes: 962549bb27c7 ("net/ixgbe: move MAC type check macros")
Cc: stable@dpdk.org

Signed-off-by: Kaiwen Deng <kaiwenx.deng@intel.com>
---
 drivers/net/intel/ixgbe/ixgbe_ethdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

hailinx April 24, 2025, 6:45 a.m. UTC | #1
> -----Original Message-----
> From: Kaiwen Deng <kaiwenx.deng@intel.com>
> Sent: Wednesday, April 23, 2025 1:54 PM
> To: dev@dpdk.org
> Cc: stable@dpdk.org; Deng, KaiwenX <kaiwenx.deng@intel.com>; Burakov,
> Anatoly <anatoly.burakov@intel.com>; Medvedkin, Vladimir
> <vladimir.medvedkin@intel.com>; Wenzhuo Lu <wenzhuo.lu@intel.com>; Wei
> Zhao <wei.zhao1@intel.com>
> Subject: [PATCH] net/intel: enable ethertype filter for E610
> 
> This commit adds the E610 MAC type to the filter support check.
> 
> Fixes: 962549bb27c7 ("net/ixgbe: move MAC type check macros")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Kaiwen Deng <kaiwenx.deng@intel.com>
> ---
Tested-by: Xu, HailinX <hailinx.xu@intel.com>
  
Bruce Richardson May 1, 2025, 2:08 p.m. UTC | #2
On Thu, Apr 24, 2025 at 06:45:06AM +0000, Xu, HailinX wrote:
> > -----Original Message-----
> > From: Kaiwen Deng <kaiwenx.deng@intel.com>
> > Sent: Wednesday, April 23, 2025 1:54 PM
> > To: dev@dpdk.org
> > Cc: stable@dpdk.org; Deng, KaiwenX <kaiwenx.deng@intel.com>; Burakov,
> > Anatoly <anatoly.burakov@intel.com>; Medvedkin, Vladimir
> > <vladimir.medvedkin@intel.com>; Wenzhuo Lu <wenzhuo.lu@intel.com>; Wei
> > Zhao <wei.zhao1@intel.com>
> > Subject: [PATCH] net/intel: enable ethertype filter for E610
> > 
> > This commit adds the E610 MAC type to the filter support check.
> > 
> > Fixes: 962549bb27c7 ("net/ixgbe: move MAC type check macros")
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: Kaiwen Deng <kaiwenx.deng@intel.com>
> > ---
> Tested-by: Xu, HailinX <hailinx.xu@intel.com>

Applied to dpdk-next-net-intel.

Thanks,
/Bruce
  

Patch

diff --git a/drivers/net/intel/ixgbe/ixgbe_ethdev.h b/drivers/net/intel/ixgbe/ixgbe_ethdev.h
index 8ad841ea2c..7804b4ca03 100644
--- a/drivers/net/intel/ixgbe/ixgbe_ethdev.h
+++ b/drivers/net/intel/ixgbe/ixgbe_ethdev.h
@@ -145,7 +145,7 @@ 
 #define MAC_TYPE_FILTER_SUP(type)    do {\
 	if ((type) != ixgbe_mac_82599EB && (type) != ixgbe_mac_X540 &&\
 		(type) != ixgbe_mac_X550 && (type) != ixgbe_mac_X550EM_x &&\
-		(type) != ixgbe_mac_X550EM_a)\
+		(type) != ixgbe_mac_X550EM_a && (type) != ixgbe_mac_E610)\
 		return -ENOTSUP;\
 } while (0)