> + int features = 0;
> + if (ioctl(tap_fd, TUNGETFEATURES, &features) < 0) {
> + PMD_LOG(ERR, "ioctl(TUNGETFEATURES) %s", strerror(errno));
> + goto error;
> + }
> +
> + int flags = IFF_TAP | IFF_MULTI_QUEUE | IFF_NO_PI;
> + if ((features & flags) == 0)
Add basic driver initialization, documentation, and device creation
and basic documentation.
Signed-off-by: Stephen Hemminger
---
doc/guides/nics/features/ioring.ini | 9 +
doc/guides/nics/index.rst | 1 +
doc/guides/nics/ioring.rst | 66 +++
drivers/net/ioring/meson.
2 matches
Mail list logo