]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1459a19026984d03832e84f1948bb6e352ac4d90
treebce7d750a162a40dd84be8aa27823da450f006db
parent7700d65a553b63a6fb170ff2e1d73cb767791496
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