]> git.karo-electronics.de Git - linux-beck.git/commit
qlcnic: fix vlan TSO on big endian machine
authorSucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Mon, 4 Oct 2010 04:20:13 +0000 (04:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Oct 2010 05:46:50 +0000 (22:46 -0700)
commit7e56cac4b68805470849ba373dd313ba0e7cdb81
treeac25d1e2bd40838b37e9e51a2c6ab8afc321b982
parentb501595cbb8afeaa9aaa870b3d29ef051403511a
qlcnic: fix vlan TSO on big endian machine

o desc->vlan_tci is in __le16 format. Doing htons and
  cpu_to_le64 again on vlan_tci, result in invalid value on ppc.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_hw.c
drivers/net/qlcnic/qlcnic_main.c