git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/txgbe: support VF promiscuous and allmulticast
[dpdk.git]
/
drivers
/
net
/
nfb
/
nfb_rxmode.h
diff --git
a/drivers/net/nfb/nfb_rxmode.h
b/drivers/net/nfb/nfb_rxmode.h
index
4c59651
..
5a29e5f
100644
(file)
--- a/
drivers/net/nfb/nfb_rxmode.h
+++ b/
drivers/net/nfb/nfb_rxmode.h
@@
-26,8
+26,10
@@
nfb_eth_promiscuous_get(struct rte_eth_dev *dev);
*
* @param dev
* Pointer to Ethernet device structure.
*
* @param dev
* Pointer to Ethernet device structure.
+ *
+ * @return always 0
*/
*/
-void
+int
nfb_eth_promiscuous_enable(struct rte_eth_dev *dev);
/**
nfb_eth_promiscuous_enable(struct rte_eth_dev *dev);
/**
@@
-35,8
+37,10
@@
nfb_eth_promiscuous_enable(struct rte_eth_dev *dev);
*
* @param dev
* Pointer to Ethernet device structure.
*
* @param dev
* Pointer to Ethernet device structure.
+ *
+ * @return always 0
*/
*/
-void
+int
nfb_eth_promiscuous_disable(struct rte_eth_dev *dev);
/**
nfb_eth_promiscuous_disable(struct rte_eth_dev *dev);
/**
@@
-53,8
+57,10
@@
nfb_eth_allmulticast_get(struct rte_eth_dev *dev);
*
* @param dev
* Pointer to Ethernet device structure.
*
* @param dev
* Pointer to Ethernet device structure.
+ *
+ * @return always 0
*/
*/
-void
+int
nfb_eth_allmulticast_enable(struct rte_eth_dev *dev);
/**
nfb_eth_allmulticast_enable(struct rte_eth_dev *dev);
/**
@@
-62,8
+68,10
@@
nfb_eth_allmulticast_enable(struct rte_eth_dev *dev);
*
* @param dev
* Pointer to Ethernet device structure.
*
* @param dev
* Pointer to Ethernet device structure.
+ *
+ * @return always 0
*/
*/
-void
+int
nfb_eth_allmulticast_disable(struct rte_eth_dev *dev);
#endif /* _NFB_RXMODE_H_ */
nfb_eth_allmulticast_disable(struct rte_eth_dev *dev);
#endif /* _NFB_RXMODE_H_ */