kni: Fix kni_autotest for new Rx/Tx offloads API
PATCH 1/1 kni: Fix kni_autotest for new Rx/Tx offloads API
Fixed a bug where kni_autotest would not start due to the lack of the ETH_TXQ_FLAGS_IGNORE flag being set in the rte_eth_txconf structure passed to rte_eth_tx_queue_setup.
This was introduced in commit 4b954bb16747 ("ethdev: remove new to old offloads API helpers")
--- test/test/test_kni.c | 1 + 1 file changed, 1 insertion(+)
test/test/test_kni.c +1 -0
@@ -67,6 +67,7 @@ static const struct rte_eth_txconf tx_conf = { }, .tx_free_thresh = 0, .tx_rs_thresh = 0, + .txq_flags = ETH_TXQ_FLAGS_IGNORE, };static const struct rte_eth_conf port_conf = {
Signature · 1 line
2.18.0.rc1.1.g6f333ff2f
29/06/2018 01:02, Dan Gora:
Quoted 6 lines
Fixed a bug where
kni_autotestwould not start due to the lack of theETH_TXQ_FLAGS_IGNOREflag being set in therte_eth_txconfstructure passed torte_eth_tx_queue_setup.This was introduced in commit
4b954bb16747("ethdev: remove new to old offloads API helpers")
The flag ETH_TXQ_FLAGS_IGNORE has been removed in 18.08.
Hi Thomas,
thanks... Is it worthwhile to mark this patch as eligible for backporting?
d
Quoted 12 lines · Thomas Monjalon
29/06/2018 01:02, Dan Gora:
Quoted 6 lines
Fixed a bug where
kni_autotestwould not start due to the lack of theETH_TXQ_FLAGS_IGNOREflag being set in therte_eth_txconfstructure passed torte_eth_tx_queue_setup.This was introduced in commit
4b954bb16747("ethdev: remove new to old offloads API helpers")The flag
ETH_TXQ_FLAGS_IGNOREhas been removed in 18.08.
01/08/2018 21:50, Dan Gora:
Quoted 3 lines
Hi Thomas,
thanks... Is it worthwhile to mark this patch as eligible for backporting?
I don't think so.
Ferruh?
Quoted 14 lines · Thomas Monjalon
Quoted 12 lines
29/06/2018 01:02, Dan Gora:
Quoted 6 lines
Fixed a bug where
kni_autotestwould not start due to the lack of theETH_TXQ_FLAGS_IGNOREflag being set in therte_eth_txconfstructure passed torte_eth_tx_queue_setup.This was introduced in commit
4b954bb16747("ethdev: remove new to old offloads API helpers")The flag
ETH_TXQ_FLAGS_IGNOREhas been removed in 18.08.
Quoted 7 lines · Thomas Monjalon
01/08/2018 21:50, Dan Gora:
Quoted 3 lines
Hi Thomas,
thanks... Is it worthwhile to mark this patch as eligible for backporting?
I don't think so.
Ferruh?
Same here, I don't think required to backport this.
Quoted 21 lines
Quoted 16 lines · Thomas Monjalon
Quoted 12 lines
29/06/2018 01:02, Dan Gora:
Quoted 6 lines
Fixed a bug where
kni_autotestwould not start due to the lack of theETH_TXQ_FLAGS_IGNOREflag being set in therte_eth_txconfstructure passed torte_eth_tx_queue_setup.This was introduced in commit
4b954bb16747("ethdev: remove new to old offloads API helpers")The flag
ETH_TXQ_FLAGS_IGNOREhas been removed in 18.08.