From: Xiao Wang Date: Fri, 15 Jul 2016 10:38:40 +0000 (+0800) Subject: net/fm10k: fix FTAG mode with multiple queues X-Git-Tag: spdx-start~6160 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ddc592ede8da65c3b3393f75ca1cf5c6c5da446c;p=dpdk.git net/fm10k: fix FTAG mode with multiple queues 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 Signed-off-by: Xiao Wang --- diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index 217853fbc8..144b2de887 100644 --- 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) {