1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019 Cesnet
3 * Copyright(c) 2019 Netcope Technologies, a.s. <info@netcope.com>
13 #include <rte_ethdev.h>
16 * Getter for promiscuous mode
18 * Pointer to Ethernet device structure.
19 * @return 1 if enabled 0 otherwise
22 nfb_eth_promiscuous_get(struct rte_eth_dev *dev);
25 * DPDK callback to enable promiscuous mode.
28 * Pointer to Ethernet device structure.
31 nfb_eth_promiscuous_enable(struct rte_eth_dev *dev);
34 * DPDK callback to disable promiscuous mode.
37 * Pointer to Ethernet device structure.
40 nfb_eth_promiscuous_disable(struct rte_eth_dev *dev);
43 * Getter for allmulticast mode
45 * Pointer to Ethernet device structure.
46 * @return 1 if enabled 0 otherwise
49 nfb_eth_allmulticast_get(struct rte_eth_dev *dev);
52 * DPDK callback to enable allmulticast mode.
55 * Pointer to Ethernet device structure.
58 nfb_eth_allmulticast_enable(struct rte_eth_dev *dev);
61 * DPDK callback to disable allmulticast mode.
64 * Pointer to Ethernet device structure.
67 nfb_eth_allmulticast_disable(struct rte_eth_dev *dev);
69 #endif /* _NFB_RXMODE_H_ */