capsule-rs / capsule-rs/capsule
How to get MTU of an dpdk interface?
- Dominant language
- Rust
- Stars
- 443
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
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`.
Contributor guide
Research direction
Start by tracing the existing pnet-based MTU path for rawsocket and the DPDK device handling in the async network stack, including its smoltcp integration. Compare MTU behavior for ena and igb_uio devices and identify what interface information is available; done means establishing a supported way to obtain a DPDK interface MTU for multi-interface jumbo-frame use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100