net/af_packet: support MTU change
authorChas Williams <ciwillia@brocade.com>
Thu, 5 Jan 2017 13:53:42 +0000 (08:53 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:41:43 +0000 (19:41 +0100)
commitcc68ac4847bc98364f87f502d83fbef92431db23
treef165365404674cce585d5234657091df129e9a3b
parent1b93c2aa81b4eaa0a13ef2b87ac61d8e1eb81f81
net/af_packet: support MTU change

The underlying Linux device's MTU is changed subject to the frame size
limitations during device creation.

Signed-off-by: Chas Williams <ciwillia@brocade.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/af_packet/rte_eth_af_packet.c