Skip to content

Commit 6e41ba1

Browse files
bruce-richardsontmonjalo
authored andcommitted
net/ixgbe: add checks for E610 VF
A number of places in the ixgbe code check for a virtual function, but these checks were missing the identifier for the E610 VF. Add them into the conditionals. Fixes: f678f3d ("net/ixgbe: fix missing VF PCI ID") Cc: [email protected] Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Vladimir Medvedkin <[email protected]>
1 parent ef41b96 commit 6e41ba1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/net/intel/ixgbe/ixgbe_rxtx.c

+4
Original file line numberDiff line numberDiff line change
@@ -2767,6 +2767,7 @@ ixgbe_dev_tx_queue_setup(struct rte_eth_dev *dev,
27672767
* Modification to set VFTDT for virtual function if vf is detected
27682768
*/
27692769
if (hw->mac.type == ixgbe_mac_82599_vf ||
2770+
hw->mac.type == ixgbe_mac_E610_vf ||
27702771
hw->mac.type == ixgbe_mac_X540_vf ||
27712772
hw->mac.type == ixgbe_mac_X550_vf ||
27722773
hw->mac.type == ixgbe_mac_X550EM_x_vf ||
@@ -2987,6 +2988,7 @@ ixgbe_is_vf(struct rte_eth_dev *dev)
29872988
case ixgbe_mac_X550_vf:
29882989
case ixgbe_mac_X550EM_x_vf:
29892990
case ixgbe_mac_X550EM_a_vf:
2991+
case ixgbe_mac_E610_vf:
29902992
return 1;
29912993
default:
29922994
return 0;
@@ -3153,6 +3155,7 @@ ixgbe_dev_rx_queue_setup(struct rte_eth_dev *dev,
31533155
* Modified to setup VFRDT for Virtual Function
31543156
*/
31553157
if (hw->mac.type == ixgbe_mac_82599_vf ||
3158+
hw->mac.type == ixgbe_mac_E610_vf ||
31563159
hw->mac.type == ixgbe_mac_X540_vf ||
31573160
hw->mac.type == ixgbe_mac_X550_vf ||
31583161
hw->mac.type == ixgbe_mac_X550EM_x_vf ||
@@ -5835,6 +5838,7 @@ ixgbevf_dev_rx_init(struct rte_eth_dev *dev)
58355838
case ixgbe_mac_X550_vf:
58365839
case ixgbe_mac_X550EM_x_vf:
58375840
case ixgbe_mac_X550EM_a_vf:
5841+
case ixgbe_mac_E610_vf:
58385842
switch (dev->data->dev_conf.rxmode.mq_mode) {
58395843
case RTE_ETH_MQ_RX_RSS:
58405844
case RTE_ETH_MQ_RX_DCB_RSS:

0 commit comments

Comments
 (0)