]> git.feebdaed.xyz Git - 0xmirror/dpdk.git/commit
examples/l3fwd: force link speed
authorDengdui Huang <huangdengdui@huawei.com>
Wed, 27 Aug 2025 01:31:05 +0000 (09:31 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 24 Nov 2025 16:15:05 +0000 (17:15 +0100)
commit2001c8eaf4efb94173410644cf29cbaa62a0ac83
tree9b6adad54f5dd1ffac643567faa81cc30b6bf86b
parent79375d1015b308234e8b6955671a296394249f9b
examples/l3fwd: force link speed

Currently, l3fwd starts in auto-negotiation mode, but it may fail to
link up when auto-negotiation is not supported. Therefore, it is
necessary to support starting with a specified speed for port.

Additionally, this patch does not support changing the duplex mode.
So speeds like 10M, 100M are not configurable using this method.

Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
Reviewed-by: Chengwen Feng <fengchengwen@huawei.com>
examples/l3fwd/main.c