You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hi @qiujiangkun, (I'm a capsule noobie, but know a little about DPDK.. so this answer is mostly from DPDK knowledge.)
Indeed the rte_eth_dev_get_mtu function will get the MTU for the device, however I believe there is a limitation in Capsule at the moment that "multi-segment mbufs" are not supported, which means that the maximum size of any single frame must fit into the DPDK mbuf size (controlled by RTE_MBUF_DEFAULT_DATAROOM).
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 getena
devices' MTU, but notigb_uio
.The text was updated successfully, but these errors were encountered: