Skip to content

Commit 643ef5f

Browse files
Shaiqwanibruce-richardson
authored andcommitted
net/ixgbe: add E610 NIC speed support
Added a switch case for the E610 NIC adapter to set all supported link speeds (100M, 1G, 2.5G, 5G, 10G) in the ixgbe driver. Previously, E610 was not explicitly handled. Signed-off-by: Shaiq Wani <[email protected]> Acked-by: Bruce Richardson <[email protected]>
1 parent 1a37db9 commit 643ef5f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/net/intel/ixgbe/ixgbe_ethdev.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,6 +2797,11 @@ ixgbe_dev_start(struct rte_eth_dev *dev)
27972797
allowed_speeds = RTE_ETH_LINK_SPEED_10M |
27982798
RTE_ETH_LINK_SPEED_100M | RTE_ETH_LINK_SPEED_1G;
27992799
break;
2800+
case ixgbe_mac_E610:
2801+
allowed_speeds = RTE_ETH_LINK_SPEED_100M | RTE_ETH_LINK_SPEED_1G |
2802+
RTE_ETH_LINK_SPEED_2_5G | RTE_ETH_LINK_SPEED_5G |
2803+
RTE_ETH_LINK_SPEED_10G;
2804+
break;
28002805
default:
28012806
allowed_speeds = RTE_ETH_LINK_SPEED_100M | RTE_ETH_LINK_SPEED_1G |
28022807
RTE_ETH_LINK_SPEED_10G;

0 commit comments

Comments
 (0)