diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-05-30 17:23:17 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-06-03 11:44:19 -0400 |
commit | e68a8c10c4c5daf363e946d10c1a5cba77d7f92c (patch) | |
tree | baf15d8c97d503287636c2cb66f65abb2a902812 | |
parent | f285e3d329ce68cc355fadf4ab2c8f34d7f264cb (diff) |
qla3xxx: device doesnt do hardware checksumming.
Reading the code for ql_hw_csum_setup(), it is obvious that
this driver is broken for IPV6. The driver sets the NETIF_F_HW_SUM
flag, but the code for checksum setup only deals with IPV4.
Compile tested only, no hardware available.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rwxr-xr-x | drivers/net/qla3xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c index d8766c0e8255..585be044ebbb 100755 --- a/drivers/net/qla3xxx.c +++ b/drivers/net/qla3xxx.c | |||
@@ -4044,7 +4044,7 @@ static int __devinit ql3xxx_probe(struct pci_dev *pdev, | |||
4044 | if (pci_using_dac) | 4044 | if (pci_using_dac) |
4045 | ndev->features |= NETIF_F_HIGHDMA; | 4045 | ndev->features |= NETIF_F_HIGHDMA; |
4046 | if (qdev->device_id == QL3032_DEVICE_ID) | 4046 | if (qdev->device_id == QL3032_DEVICE_ID) |
4047 | ndev->features |= (NETIF_F_HW_CSUM | NETIF_F_SG); | 4047 | ndev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; |
4048 | 4048 | ||
4049 | qdev->mem_map_registers = | 4049 | qdev->mem_map_registers = |
4050 | ioremap_nocache(pci_resource_start(pdev, 1), | 4050 | ioremap_nocache(pci_resource_start(pdev, 1), |