Skip to contentSkip to conversation

net/ixgbe: fix SCTP port support on E610

PATCH In review Yuan Wang 2 participants 2 messages Jul 18, 2025 – Aug 7, 2025 Network drivers

lore
Share & tools
lore

Yuan Wang

author
#0 lore raw

PATCH 1/1 net/ixgbe: fix SCTP port support on E610

E610 supports SCTP port in FDIR filter, so add it to the support list.

Fixes 86e19565f5e2 (net/ixgbe: fix SCTP port support)
---
 drivers/net/intel/ixgbe/ixgbe_flow.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/intel/ixgbe/ixgbe_flow.c +2 -1
index 6278646720..1bf0af330f 100644
@@ -2114,7 +2114,8 @@ ixgbe_parse_fdir_filter_normal(struct rte_eth_dev *dev,
 		/* only x550 family only support sctp port */
 		if (hw->mac.type == ixgbe_mac_X550 ||
 		    hw->mac.type == ixgbe_mac_X550EM_x ||
-		    hw->mac.type == ixgbe_mac_X550EM_a) {
+		    hw->mac.type == ixgbe_mac_X550EM_a ||
+		    hw->mac.type == ixgbe_mac_E610) {
 			/**
 			 * Only care about src & dst ports,
 			 * others should be masked.
Signature · 1 line
2.47.1
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Yuan Wang

E610 supports SCTP port in FDIR filter, so add it to the support list.

Fixes 86e19565f5e2 (net/ixgbe: fix SCTP port support)

When this commit was made back in 2017, there was no E610 to support, so therefore it wasn't the broken commit. Putting fixline of 316637762a5f ("net/ixgbe/base: enable E610 device"), to ensure that this gets backported only onto those releases which have E610 support.

drivers/net/intel/ixgbe/ixgbe_flow.c ixgbe_parse_fdir_filter_normal(struct rte_eth_dev *dev, · line 2114

Quoted 13 lines
---
 drivers/net/intel/ixgbe/ixgbe_flow.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/intel/ixgbe/ixgbe_flow.c +0 -0
index 6278646720..1bf0af330f 100644
@@ -2114,7 +2114,8 @@ ixgbe_parse_fdir_filter_normal(struct rte_eth_dev *dev,
 		/* only x550 family only support sctp port */

This comment needs update now too, since it's not just X550 parts. Will update on apply.

Quoted 11 lines
drivers/net/intel/ixgbe/ixgbe_flow.c +2 -1
 		if (hw->mac.type == ixgbe_mac_X550 ||
 		    hw->mac.type == ixgbe_mac_X550EM_x ||
-		    hw->mac.type == ixgbe_mac_X550EM_a) {
+		    hw->mac.type == ixgbe_mac_X550EM_a ||
+		    hw->mac.type == ixgbe_mac_E610) {
 			/**
 			 * Only care about src & dst ports,
 			 * others should be masked.
Signature · 1 line
2.47.1

Patch applied to dpdk-next-net-intel.

Thanks,
/Bruce