[dpdk-dev] [PATCH] net/sfc: fix always fail Tx queue setup with VLAN offload
Andrew Rybchenko
arybchenko at solarflare.com
Wed Mar 22 11:03:36 CET 2017
Fixes: 1eb4d2e4b360 ("net/sfc: make VLAN insertion a datapath-dependent feature")
Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
---
It would be good if the fix is squashed into corresponding patch.
drivers/net/sfc/sfc_tx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/sfc/sfc_tx.c b/drivers/net/sfc/sfc_tx.c
index 0c8ff26..e7ec802 100644
--- a/drivers/net/sfc/sfc_tx.c
+++ b/drivers/net/sfc/sfc_tx.c
@@ -101,7 +101,6 @@ sfc_tx_qcheck_conf(struct sfc_adapter *sa, uint16_t nb_tx_desc,
sa->dp_tx->dp.name);
rc = EINVAL;
}
- rc = EINVAL;
}
if ((flags & ETH_TXQ_FLAGS_NOXSUMSCTP) == 0) {
--
2.9.3
More information about the dev
mailing list