net/bnxt: fix RSS RETA indirection table ops
[dpdk.git] / drivers / net / bnxt / bnxt_hwrm.c
index 4f0142c..0c6af16 100644 (file)
@@ -1607,6 +1607,7 @@ int bnxt_hwrm_vnic_rss_cfg(struct bnxt *bp,
        req.hash_key_tbl_addr =
            rte_cpu_to_le_64(vnic->rss_hash_key_dma_addr);
        req.rss_ctx_idx = rte_cpu_to_le_16(vnic->rss_rule);
+       req.vnic_id = rte_cpu_to_le_16(vnic->fw_vnic_id);
 
        rc = bnxt_hwrm_send_message(bp, &req, sizeof(req), BNXT_USE_CHIMP_MB);
 
@@ -3187,7 +3188,6 @@ int bnxt_hwrm_ctx_qstats(struct bnxt *bp, uint32_t cid, int idx,
                stats->q_obytes[idx] = rte_le_to_cpu_64(resp->tx_ucast_bytes);
                stats->q_obytes[idx] += rte_le_to_cpu_64(resp->tx_mcast_bytes);
                stats->q_obytes[idx] += rte_le_to_cpu_64(resp->tx_bcast_bytes);
-               stats->q_errors[idx] += rte_le_to_cpu_64(resp->tx_err_pkts);
        }