I'm built an async high level network stack that supports websocket based on capsule(customized, runtime independent)/rawsocket and smoltcp.
Currently the mtu of rawsocket is fetched by pnet, mtu of dpdk device is hard coded. I would like to play around jumbo frames with multiple interfaces at the same time.
This requires getting MTU of a dpdk interface.
How to get MTU of an dpdk interface?
I can use ip a to get ena devices' MTU, but not igb_uio.
I'm built an async high level network stack that supports websocket based on capsule(customized, runtime independent)/rawsocket and smoltcp.
Currently the mtu of rawsocket is fetched by pnet, mtu of dpdk device is hard coded. I would like to play around jumbo frames with multiple interfaces at the same time.
This requires getting MTU of a dpdk interface.
How to get MTU of an dpdk interface?
I can use
ip ato getenadevices' MTU, but notigb_uio.