]> git.baikalelectronics.ru Git - kernel.git/commit
qlge: Add offload features to vlan interfaces
authorbrenohl@br.ibm.com <brenohl@br.ibm.com>
Fri, 27 Jul 2012 08:54:52 +0000 (08:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jul 2012 06:18:30 +0000 (23:18 -0700)
commit355c6e7e3be53b9c945de10b8d14b8308d619f35
tree6034d345e12d1a67c11e77b0a52c95f828e93e54
parentc9117a283f8a90dc4ba0d8393f0c1bc8d96881ee
qlge: Add offload features to vlan interfaces

This patch fills the net_device vlan_features with the proper hardware features,
thus, improving the vlan interface performance.

With the patch applied, I can see around 148% improvement on a TCP_STREAM test,
from 3.5 Gb/s to 8.7 Gb/s. On TCP_RR, I see a 11% improvement, from 18k
to 20. The CPU utilization is almost the same on both cases, from the comparison
above.

Signed-off-by: Breno Leitao <brenohl@br.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_main.c