]> 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)
commit828175b72633f7a762f0dcf8a8fc4ad5ae7924ca
treebce7d750a162a40dd84be8aa27823da450f006db
parent497f7bf461396c52379c381da68efd611b0d8392
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