MCPcopy Index your code
hub / github.com/F-Stack/f-stack / rte_eth_promiscuous_get

Function rte_eth_promiscuous_get

dpdk/lib/ethdev/rte_ethdev.c:2906–2917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2904}
2905
2906int
2907rte_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
2919int
2920rte_eth_allmulticast_enable(uint16_t port_id)

Calls

no outgoing calls