nfp: inherit the max_mtu from the PF netdev
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>
Fri, 17 Nov 2017 01:06:41 +0000 (17:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Nov 2017 05:09:36 +0000 (14:09 +0900)
commit743ba5b47f7961fb29f2e06bb694fb4f068ac58f
tree145c7f907cad55cbdf0b0f6a2724646d775049fb
parent745eaf9afe37238e89244953e2e9727006b4432c
nfp: inherit the max_mtu from the PF netdev

The PF netdev is used for data transfer for reprs, so reprs inherit the
maximum MTU settings of the PF netdev.

Fixes: 5de73ee46704 ("nfp: general representor implementation")
Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c