Hello,

Can we go odp_pktio_open() return default interface provided by implementation?

For linux-generic we already have environment variables to select between mmap and raw sockets.
Also we can add hint what is default interface name.

Like:
export ODP_PKIO_DEFAULT_DEV="eth0"

And if this variable is not exported it might be eth0, eth1, then eth2. Or first device found in list returned by ioctl.

Reason is to add to CUNIT tests coverage for functions which need pktio.

Maxim.

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to