This patch removes some redundant code from bnxt_mq_rx_configure().
Fixes:
75cd6fb1d901 ("net/bnxt: fix the association of a MACVLAN per VNIC")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
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