bridge: Add ability to enable TSO
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Fri, 9 Jan 2015 05:16:40 +0000 (14:16 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 21:18:09 +0000 (16:18 -0500)
commitf902e8812ef657c6cf744ac25e21865217155460
treebce7d750a162a40dd84be8aa27823da450f006db
parent2f516d52cd07db9414dc0cd4e6f308e460b69f87
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>
net/bridge/br_if.c