]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt_reps.c
net/bnxt: enable filter ctrl ops for port representor
[dpdk.git] / drivers / net / bnxt / bnxt_reps.c
index 47e2dd72bb600aa78a5b0c5140751c2cfdd515f4..c425e69aafa17d6a54ef26454e7bf9361c59badd 100644 (file)
@@ -29,6 +29,7 @@ static const struct eth_dev_ops bnxt_vf_rep_dev_ops = {
        .dev_stop = bnxt_vf_rep_dev_stop_op,
        .stats_get = bnxt_vf_rep_stats_get_op,
        .stats_reset = bnxt_vf_rep_stats_reset_op,
+       .filter_ctrl = bnxt_filter_ctrl_op
 };
 
 uint16_t
@@ -132,8 +133,6 @@ bnxt_vf_rep_tx_burst(void *tx_queue,
        pthread_mutex_unlock(&parent->rep_info->vfr_lock);
 
        return rc;
-
-       return 0;
 }
 
 int bnxt_vf_representor_init(struct rte_eth_dev *eth_dev, void *params)