MCPcopy Create free account
hub / github.com/F-Stack/f-stack / is_valid_port

Function is_valid_port

dpdk/lib/eventdev/rte_eventdev.c:669–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667}
668
669static inline int
670is_valid_port(struct rte_eventdev *dev, uint8_t port_id)
671{
672 if (port_id < dev->data->nb_ports)
673 return 1;
674 else
675 return 0;
676}
677
678int
679rte_event_port_default_conf_get(uint8_t dev_id, uint8_t port_id,

Calls

no outgoing calls

Tested by

no test coverage detected