Hi,
Today, as far as I can see (at least for linux generic), the type of pktio
selected at open time depends on:
1) the priority order defined in pktio_io/io_ops.c (currentely: netmap mmap
socket and usual sockets)
2)A set of environment variable (ODP_PKTIO_DISABLE_NETMAP,
Hi,
I went through the same issue as well..
In ODP we have defined that the dev-name is implementation specific
and hence I like the idea to add socket type to dev-name something
like "SOCKET_MMAP:eth0"/ "NETMAP: eth0" and this maps well with the
ODP definition for device name.
Regards,
Bala
On
Hi,
I like this.
It seems more robust and easier extended than all the environment variable.
We should also keep the basic portname. Ideally io_ops should be in performance
order so if I write generic code that uses en0,
it'll try netmap, then sock_mmap and finally fallback to standard sockets
Hi,
I went through the same issue as well..
In ODP we have defined that the dev-name is implementation specific
and hence I like the idea to add socket type to dev-name something
like "SOCKET_MMAP:eth0"/ "NETMAP: eth0" and this maps well with the
ODP definition for device name.
Regards,
Bala
On