Skip to content

Commit

Permalink
net/ixgbe: fix missing E610 support in flow engine
Browse files Browse the repository at this point in the history
Currently flow engine is missing a new mac type E610 in the check for
fdir support.  This patch adds this mac type to the check.

Fixes: 3166377 ("net/ixgbe/base: enable E610 device")
Cc: stable@dpdk.org

Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
  • Loading branch information
vmedvedk authored and bruce-richardson committed Jan 20, 2025
1 parent 6d7e741 commit 7fd1761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion drivers/net/ixgbe/ixgbe_fdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,8 @@ ixgbe_fdir_configure(struct rte_eth_dev *dev)
hw->mac.type != ixgbe_mac_X540 &&
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)
return -ENOSYS;

/* x550 supports mac-vlan and tunnel mode but other NICs not */
Expand Down
3 changes: 2 additions & 1 deletion drivers/net/ixgbe/ixgbe_flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -2764,7 +2764,8 @@ ixgbe_parse_fdir_filter(struct rte_eth_dev *dev,
hw->mac.type != ixgbe_mac_X540 &&
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)
return -ENOTSUP;

ret = ixgbe_parse_fdir_filter_normal(dev, attr, pattern,
Expand Down

0 comments on commit 7fd1761

Please sign in to comment.