Skip to content

Commit

Permalink
net/ixgbe: fix missing loopback support for E610
Browse files Browse the repository at this point in the history
The check for loopback support was missing a clause to check for E610.
Add that extra option now.

Fixes: 3166377 ("net/ixgbe/base: enable E610 device")
Cc: [email protected]

Signed-off-by: Zhichao Zeng <[email protected]>
Tested-by: Hailin Xu <[email protected]>
  • Loading branch information
zengzhichao233 authored and bruce-richardson committed Nov 26, 2024
1 parent 327cea3 commit 9e9b88d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/ixgbe/ixgbe_rxtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -5359,7 +5359,8 @@ ixgbe_check_supported_loopback_mode(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 0;

return -ENOTSUP;
Expand Down

0 comments on commit 9e9b88d

Please sign in to comment.