mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-01 13:10:14 +07:00
macvlan: Don't segment multiple tagged packets on macvlan device
Macvlan/macvtap devices don't need to segment multiple tagged packets since the lower devices can segment them. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0fbd050a7d
commit
f56e67b515
@ -1047,6 +1047,7 @@ static const struct net_device_ops macvlan_netdev_ops = {
|
|||||||
.ndo_netpoll_cleanup = macvlan_dev_netpoll_cleanup,
|
.ndo_netpoll_cleanup = macvlan_dev_netpoll_cleanup,
|
||||||
#endif
|
#endif
|
||||||
.ndo_get_iflink = macvlan_dev_get_iflink,
|
.ndo_get_iflink = macvlan_dev_get_iflink,
|
||||||
|
.ndo_features_check = passthru_features_check,
|
||||||
};
|
};
|
||||||
|
|
||||||
void macvlan_common_setup(struct net_device *dev)
|
void macvlan_common_setup(struct net_device *dev)
|
||||||
|
Loading…
Reference in New Issue
Block a user