]> git.droids-corp.org - dpdk.git/commit
examples/dma: fix MTU configuration
authorHuisong Li <lihuisong@huawei.com>
Sun, 24 Apr 2022 06:07:39 +0000 (14:07 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Jun 2022 21:31:31 +0000 (23:31 +0200)
commite0e95de2be21f05b0a7beb0e63ef969337b60a40
treee6322e2b058ca7239a6bad7ccc0a088696a05287
parent39b5ab60df3078f651fd2a43cfce0e044de1192e
examples/dma: fix MTU configuration

The MTU in dma App can be configured by 'max_frame_size' parameters which
have a default value(1518). It's not reasonable to use it directly as MTU.
This patch fix it.

Fixes: 1bb4a528c41f ("ethdev: fix max Rx packet length")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
examples/dma/dmafwd.c