mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:40:56 +07:00
bridge: Add ability to enable TSO
Currently a bridge device turns off TSO feature if no bridge ports support it. We can always enable it, since packets can be segmented on ports by software as well as on the bridge device. This will reduce the number of packets processed in the bridge. 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
2f516d52cd
commit
f902e8812e
@ -424,6 +424,7 @@ netdev_features_t br_features_recompute(struct net_bridge *br,
|
||||
features = netdev_increment_features(features,
|
||||
p->dev->features, mask);
|
||||
}
|
||||
features = netdev_add_tso_features(features, mask);
|
||||
|
||||
return features;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user