]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
qlge: remove NETIF_F_TSO6 flag
authorAmerigo Wang <amwang@redhat.com>
Thu, 10 Jan 2013 22:52:54 +0000 (22:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jan 2013 23:55:10 +0000 (15:55 -0800)
commitf7e9e230f41f991a6e3e7cb6096424fdfb626081
tree726a5365ab93e2245f25556edbe887925af66a0d
parent7b514a886ba50e3b99295b00805f0d5ad750ca66
qlge: remove NETIF_F_TSO6 flag

It is werid that qlge driver supports NETIF_F_TSO6 but
not NETIF_F_IPV6_CSUM. This also causes some kernel warning [1]
when VLAN device setups on a qlge interface.

I think the qlge hardware doesn't support NETIF_F_IPV6_CSUM,
so we have to just remove the NETIF_F_TSO6 flag.

After this patch, the TCP/IPv6 traffic becomes normal again,
no kernel warnings any more.

NOTE: I only tested it on 2.6.32 kernel, even if the upstream
kernel could fix this automatically (it is hard to track NETIF*
flags), removing it is also safe.

1. https://bugzilla.redhat.com/show_bug.cgi?id=891839

Cc: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Cc: Ron Mercer <ron.mercer@qlogic.com>
Cc: linux-driver@qlogic.com
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_main.c