capsule-rs / capsule-rs/capsule

How to get MTU of an dpdk interface?

Open
#140 2 comments 1 reaction 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.