examples: limit max frame size
authorAndriy Berestovskyy <andriy.berestovskyy@caviumnetworks.com>
Mon, 10 Apr 2017 14:30:54 +0000 (16:30 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Apr 2017 00:21:29 +0000 (02:21 +0200)
commit5e470a6654e1c90066ce4e96dc26798093c34d6e
treea664637ffd5f7c6fcdc8b55028e5cf5629880dd4
parent871b8b8c7d44fce50ccda5721f0d063f62451f39
examples: limit max frame size

Some PMDs do not support 9,5K jumbo frames, so the example fails.
Limit the frame size to the maximum supported by the underlying NIC.

Signed-off-by: Andriy Berestovskyy <andriy.berestovskyy@caviumnetworks.com>
examples/ip_fragmentation/main.c
examples/ip_reassembly/main.c
examples/ipv4_multicast/main.c