git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83453b8
)
net/fm10k: fix FTAG mode with multiple queues
author
Xiao Wang
<xiao.w.wang@intel.com>
Fri, 15 Jul 2016 10:38:40 +0000
(18:38 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Fri, 15 Jul 2016 20:58:18 +0000
(22:58 +0200)
In multi-queue + FTAG use case, we need to turn tx_ftag_en on for all
the Tx queues.
Fixes:
7958b1310d5e
("fm10k: enable FTAG based forwarding")
Reported-by: Ricky Li <ricky.li@intel.com>
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
drivers/net/fm10k/fm10k_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/fm10k/fm10k_ethdev.c
b/drivers/net/fm10k/fm10k_ethdev.c
index
217853f
..
144b2de
100644
(file)
--- a/
drivers/net/fm10k/fm10k_ethdev.c
+++ b/
drivers/net/fm10k/fm10k_ethdev.c
@@
-2738,10
+2738,8
@@
fm10k_set_tx_function(struct rte_eth_dev *dev)
txq = dev->data->tx_queues[i];
txq->tx_ftag_en = tx_ftag_en;
/* Check if Vector Tx is satisfied */
- if (fm10k_tx_vec_condition_check(txq))
{
+ if (fm10k_tx_vec_condition_check(txq))
use_sse = 0;
- break;
- }
}
if (use_sse) {