[dpdk-stable] patch 'net/bnxt: remove redundant code parsing pool map' has been queued to stable release 17.08.1
Yuanhan Liu
yliu at fridaylinux.org
Tue Nov 21 14:18:20 CET 2017
Hi,
FYI, your patch has been queued to stable release 17.08.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/24/17. So please
shout if anyone has objections.
Thanks.
--yliu
---
>From 4e6a1f8eb1749e01060454dd233bb21344597e35 Mon Sep 17 00:00:00 2001
From: Ajit Khaparde <ajit.khaparde at broadcom.com>
Date: Tue, 24 Oct 2017 16:19:43 -0500
Subject: [PATCH] net/bnxt: remove redundant code parsing pool map
[ upstream commit 6eda9e550e3d5e70949fb452c70113a326e785df ]
This patch removes some redundant code from bnxt_mq_rx_configure().
Fixes: 75cd6fb1d901 ("net/bnxt: fix the association of a MACVLAN per VNIC")
Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
---
drivers/net/bnxt/bnxt_rxq.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_rxq.c b/drivers/net/bnxt/bnxt_rxq.c
index ed168cc..6715fbd 100644
--- a/drivers/net/bnxt/bnxt_rxq.c
+++ b/drivers/net/bnxt/bnxt_rxq.c
@@ -170,17 +170,6 @@ int bnxt_mq_rx_configure(struct bnxt *bp)
rc = -ENOMEM;
goto err_out;
}
- for (j = 0; j < conf->nb_pool_maps; j++) {
- if (conf->pool_map[j].pools & (1UL << i)) {
- RTE_LOG(ERR, PMD,
- "Add vlan %u to vmdq pool %u\n",
- conf->pool_map[j].vlan_id, i);
-
- filter->l2_ivlan = conf->pool_map[j].vlan_id;
- filter->enables |=
- HWRM_CFA_L2_FILTER_ALLOC_INPUT_ENABLES_L2_IVLAN;
- }
- }
/*
* TODO: Configure & associate CFA rule for
* each VNIC for each VMDq with MACVLAN, MACVLAN+TC
--
2.7.4
More information about the stable
mailing list