[PATCH 1/3] qla3xxx: device doesnt do hardware checksumming.
From: Stephen Hemminger <hidden>
Date: 2007-05-30 21:38:08
From: Stephen Hemminger <hidden>
Date: 2007-05-30 21:38:08
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 <redacted> --- drivers/net/qla3xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/qla3xxx.c 2007-05-30 14:05:12.000000000 -0700
+++ b/drivers/net/qla3xxx.c 2007-05-30 14:09:25.000000000 -0700@@ -4044,7 +4044,7 @@ static int __devinit ql3xxx_probe(struct if (pci_using_dac) ndev->features |= NETIF_F_HIGHDMA; if (qdev->device_id == QL3032_DEVICE_ID) - ndev->features |= (NETIF_F_HW_CSUM | NETIF_F_SG); + ndev->features |= NETIF_F_IP_CSUM | NETIF_F_SG; qdev->mem_map_registers = ioremap_nocache(pci_resource_start(pdev, 1),
--
Stephen Hemminger <shemminger@linux-foundation.org>