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.
33 nfb_eth_promiscuous_enable(struct rte_eth_dev *dev);
36 * DPDK callback to disable promiscuous mode.
39 * Pointer to Ethernet device structure.
44 nfb_eth_promiscuous_disable(struct rte_eth_dev *dev);
47 * Getter for allmulticast mode
49 * Pointer to Ethernet device structure.
50 * @return 1 if enabled 0 otherwise
53 nfb_eth_allmulticast_get(struct rte_eth_dev *dev);
56 * DPDK callback to enable allmulticast mode.
59 * Pointer to Ethernet device structure.
64 nfb_eth_allmulticast_enable(struct rte_eth_dev *dev);
67 * DPDK callback to disable allmulticast mode.
70 * Pointer to Ethernet device structure.
75 nfb_eth_allmulticast_disable(struct rte_eth_dev *dev);
77 #endif /* _NFB_RXMODE_H_ */