vhost: mark vDPA driver API as internal
[dpdk.git] / drivers / net / bnxt / bnxt_ethdev.c
index 91f114e..257e6b0 100644 (file)
@@ -747,12 +747,6 @@ static int bnxt_start_nic(struct bnxt *bp)
        if (BNXT_CHIP_P5(bp))
                bp->max_ring_grps = BNXT_MAX_RSS_CTXTS_P5;
 
-       rc = bnxt_alloc_all_hwrm_stat_ctxs(bp);
-       if (rc) {
-               PMD_DRV_LOG(ERR, "HWRM stat ctx alloc failure rc: %x\n", rc);
-               goto err_out;
-       }
-
        rc = bnxt_alloc_hwrm_rings(bp);
        if (rc) {
                PMD_DRV_LOG(ERR, "HWRM ring alloc failure rc: %x\n", rc);
@@ -1006,6 +1000,7 @@ static int bnxt_dev_info_get_op(struct rte_eth_dev *eth_dev,
        dev_info->speed_capa = bnxt_get_speed_capabilities(bp);
        dev_info->dev_capa = RTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP |
                             RTE_ETH_DEV_CAPA_RUNTIME_TX_QUEUE_SETUP;
+       dev_info->dev_capa &= ~RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP;
 
        dev_info->default_rxconf = (struct rte_eth_rxconf) {
                .rx_thresh = {