2017-03-31 14:04, Gaetan Rivet:
> /**
> + * Iterates over valid ethdev ports.
> + *
> + * @param: port_id
warning: expected whitespace after : command
Will fix it when applying
> + * The id of the next possible valid port.
> + * @return
> + * Next valid port id, RTE_MAX_ETHPORTS if there is
This iterator helps applications iterate over the device list and skip
holes caused by invalid or detached devices.
Signed-off-by: Gaetan Rivet
---
lib/librte_ether/rte_ethdev.c | 17 ++---
lib/librte_ether/rte_ethdev.h | 21 -
2 files changed, 34 insertions(+), 4
2 matches
Mail list logo