net/bonding: add ethdev ops function for MTU set
authorSharmila Podury <sharmila.podury@att.com>
Thu, 11 Jan 2018 19:12:44 +0000 (11:12 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit55b58a7374554cd1c86f4a13a0e2f54e9ba6fe4d
tree671590958e9cb8b418116489623c3364ed16ee28
parentc5097d53613779c156b548ee4097b59c3c8e611d
net/bonding: add ethdev ops function for MTU set

Set the MTU for bonding device by calling .mtu_set for all
the slaves. Set the MTU only if all slaves support .mtu_set,
and there is no error returned from any slave.

Signed-off-by: Sharmila Podury <sharmila.podury@att.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/net/bonding/rte_eth_bond_pmd.c