rocker: add change MTU support
authorScott Feldman <sfeldma@gmail.com>
Wed, 8 Jul 2015 23:06:47 +0000 (16:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jul 2015 07:31:14 +0000 (00:31 -0700)
commit77a58c741df1b91258cc4df3e6893ff61e8293a4
tree3641887a4ad9d2acddc1a6192128a8a10dc16b61
parent910be1abbec9cac102fde8ab6dd68a9b410ca441
rocker: add change MTU support

Implement ndo_change_mtu: on MTU change, reallocate Rx ring bufs and signal
HW of new port MTU value.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Tested-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c
drivers/net/ethernet/rocker/rocker.h