]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/octeontx2/otx2_ethdev.h
ethdev: change promiscuous callbacks to return status
[dpdk.git] / drivers / net / octeontx2 / otx2_ethdev.h
index 5de0a1d4d103d52e0938f8c39e037fb8e8264c89..8814622e4381c879a277dd2e5621e69308d3b95f 100644 (file)
@@ -379,8 +379,8 @@ int otx2_nix_rx_descriptor_done(void *rxq, uint16_t offset);
 int otx2_nix_rx_descriptor_status(void *rx_queue, uint16_t offset);
 
 void otx2_nix_promisc_config(struct rte_eth_dev *eth_dev, int en);
-void otx2_nix_promisc_enable(struct rte_eth_dev *eth_dev);
-void otx2_nix_promisc_disable(struct rte_eth_dev *eth_dev);
+int otx2_nix_promisc_enable(struct rte_eth_dev *eth_dev);
+int otx2_nix_promisc_disable(struct rte_eth_dev *eth_dev);
 void otx2_nix_allmulticast_enable(struct rte_eth_dev *eth_dev);
 void otx2_nix_allmulticast_disable(struct rte_eth_dev *eth_dev);
 int otx2_nix_tx_queue_start(struct rte_eth_dev *eth_dev, uint16_t qidx);