Skip to content

Commit 6897940

Browse files
yuanx-wangbruce-richardson
authored andcommitted
net/ixgbe: fix SCTP port filtering on E610
E610 supports SCTP port in FDIR filter, so add it to the support list. Fixes: 3166377 ("net/ixgbe/base: enable E610 device") Cc: [email protected] Signed-off-by: Yuan Wang <[email protected]> Acked-by: Bruce Richardson <[email protected]>
1 parent e1becd9 commit 6897940

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/net/intel/ixgbe/ixgbe_flow.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,10 +2111,11 @@ ixgbe_parse_fdir_filter_normal(struct rte_eth_dev *dev,
21112111
return -rte_errno;
21122112
}
21132113

2114-
/* only x550 family only support sctp port */
2114+
/* only some mac types support sctp port */
21152115
if (hw->mac.type == ixgbe_mac_X550 ||
21162116
hw->mac.type == ixgbe_mac_X550EM_x ||
2117-
hw->mac.type == ixgbe_mac_X550EM_a) {
2117+
hw->mac.type == ixgbe_mac_X550EM_a ||
2118+
hw->mac.type == ixgbe_mac_E610) {
21182119
/**
21192120
* Only care about src & dst ports,
21202121
* others should be masked.

0 commit comments

Comments
 (0)