[dpdk-dev] [PATCH v3] ether: use a default for max Rx frame size in configure()
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Apr 7 14:15:47 CEST 2017
2017-04-07 13:02, Andriy Berestovskyy:
> At the moment rte_eth_dev_configure() behaves inconsistent:
> - for normal frames: zero max_rx_pkt_len uses a default
> - for jumbo frames: zero max_rx_pkt_len gives an error
>
> This patch fixes this inconsistency by using a default value
> if max_rx_pkt_len is zero both for normal and jumbo frames.
>
> Signed-off-by: Andriy Berestovskyy <Andriy.Berestovskyy at caviumnetworks.com>
> ---
>
> Notes:
> v3 changes:
> - use a default only if max_rx_pkt_len is zero
Looks good.
Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
It is a small API change but it is fixing an inconsistency,
so I think it can be integrated in 17.05-rc2 as is.
Any different opinion?
More information about the dev
mailing list