git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/mlx5: fix default devargs initialization
[dpdk.git]
/
drivers
/
net
/
cnxk
/
cn9k_rx_select.c
diff --git
a/drivers/net/cnxk/cn9k_rx_select.c
b/drivers/net/cnxk/cn9k_rx_select.c
index
f2fcbe3
..
79f171f
100644
(file)
--- a/
drivers/net/cnxk/cn9k_rx_select.c
+++ b/
drivers/net/cnxk/cn9k_rx_select.c
@@
-15,6
+15,10
@@
pick_rx_func(struct rte_eth_dev *eth_dev,
eth_dev->rx_pkt_burst =
rx_burst[dev->rx_offload_flags & (NIX_RX_OFFLOAD_MAX - 1)];
+ if (eth_dev->data->dev_started)
+ rte_eth_fp_ops[eth_dev->data->port_id].rx_pkt_burst =
+ eth_dev->rx_pkt_burst;
+
rte_atomic_thread_fence(__ATOMIC_RELEASE);
}