Skip to content

Commit 684115f

Browse files
committed
native: Fix PMD name
1 parent be43a06 commit 684115f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

native/pmd.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ int init_pmd_port(int port, int rxqs, int txqs, int rxq_core[], int txq_core[],
135135
rte_eth_dev_info_get(port, &dev_info);
136136

137137
eth_rxconf = dev_info.default_rxconf;
138-
if (strcmp(dev_info.driver_name, "rte_em_pmd") != 0) {
138+
if (strcmp(dev_info.driver_name, "rte_em_pmd") != 0 ||
139+
strcmp(dev_info.driver_name, "net_e1000_em") != 0) {
139140
/* Drop packets when no descriptors are available
140141
* Protected since this is not supported by EM driver
141142
* and there is no convenient way to look this up in DPDK. */

0 commit comments

Comments
 (0)