net/ixgbe: fix SCTP port support on E610
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)
Signed-off-by Yuan Wang <[email protected]>
--- drivers/net/intel/ixgbe/ixgbe_flow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/intel/ixgbe/ixgbe_flow.c +2 -1
@@ -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
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
Signed-off-by Yuan Wang <[email protected]>--- drivers/net/intel/ixgbe/ixgbe_flow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/net/intel/ixgbe/ixgbe_flow.c +0
-0@@ -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
-1if (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 Bruce Richardson <[email protected]>
Patch applied to dpdk-next-net-intel.
Thanks,
/Bruce