| 2904 | } |
| 2905 | |
| 2906 | int |
| 2907 | rte_eth_promiscuous_get(uint16_t port_id) |
| 2908 | { |
| 2909 | struct rte_eth_dev *dev; |
| 2910 | |
| 2911 | RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -ENODEV); |
| 2912 | dev = &rte_eth_devices[port_id]; |
| 2913 | |
| 2914 | rte_eth_trace_promiscuous_get(port_id, dev->data->promiscuous); |
| 2915 | |
| 2916 | return dev->data->promiscuous; |
| 2917 | } |
| 2918 | |
| 2919 | int |
| 2920 | rte_eth_allmulticast_enable(uint16_t port_id) |
no outgoing calls