]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb3: Set vlan_feature on net_device
authorbrenohl@br.ibm.com <brenohl@br.ibm.com>
Wed, 18 Jul 2012 09:29:08 +0000 (09:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jul 2012 17:48:00 +0000 (10:48 -0700)
commit6b387534afe49e6b9f10f0886de998882c54c470
tree3fc8a3145b96ba82a221d9dbc61ed385d750139b
parentca8ee1dce8020ad6e423926982c8242b4874afa5
cxgb3: Set vlan_feature on net_device

cxgb3 interface has a bad performance when VLAN is set. On my current
setup, a PowerLinux 7R2, I am able to get around 7 Gbps on a TCP_STREAM
(8 instances, 4k message).
With this patch, I am able to reach 9.5 Gbps.

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