Skip to contentSkip to conversation

ehea: fix IPv6 support

PATCH In review [email protected] 2 participants 2 messages Mar 27, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 ehea: fix IPv6 support

From: Thomas Klein <[email protected]>

Indicate that EHEA calculates IPv4 checksums only

Cc Jeff Garzik <[email protected]>
Cc Christoph Raisch <[email protected]>
Cc "Jan-Bernd Themann" <[email protected]>
Cc Stefan Roscher <[email protected]>
Cc Hannes Hering <[email protected]>
Cc "David S. Miller" <[email protected]>

---

 drivers/net/ehea/ehea.h      |    2 +-
 drivers/net/ehea/ehea_main.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ehea/ehea.h renamed from drivers/net/ehea/ehea.h~ehea-fix-ipv6-support +1 -1
diff -puN drivers/net/ehea/ehea.h~ehea-fix-ipv6-support drivers/net/ehea/ehea.h
@@ -40,7 +40,7 @@
 #include <asm/io.h>
 
 #define DRV_NAME	"ehea"
-#define DRV_VERSION	"EHEA_0087"
+#define DRV_VERSION	"EHEA_0089"
 
 /* eHEA capability flags */
 #define DLPAR_PORT_ADD_REM 1
drivers/net/ehea/ehea_main.c renamed from drivers/net/ehea/ehea_main.c~ehea-fix-ipv6-support +1 -1
diff -puN drivers/net/ehea/ehea_main.c~ehea-fix-ipv6-support drivers/net/ehea/ehea_main.c
@@ -3110,7 +3110,7 @@ struct ehea_port *ehea_setup_single_port
 	dev->vlan_rx_add_vid = ehea_vlan_rx_add_vid;
 	dev->vlan_rx_kill_vid = ehea_vlan_rx_kill_vid;
 	dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_TSO
-		      | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_HW_VLAN_TX
+		      | NETIF_F_HIGHDMA | NETIF_F_IP_CSUM | NETIF_F_HW_VLAN_TX
 		      | NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER
 		      | NETIF_F_LLTX;
 	dev->tx_timeout = &ehea_tx_watchdog;

_

#1 lore raw
Quoted 35 lines · [email protected] wrote:

From: Thomas Klein <[email protected]>

Indicate that EHEA calculates IPv4 checksums only

Cc Jeff Garzik <[email protected]>
Cc Christoph Raisch <[email protected]>
Cc "Jan-Bernd Themann" <[email protected]>
Cc Stefan Roscher <[email protected]>
Cc Hannes Hering <[email protected]>
Cc "David S. Miller" <[email protected]>

---

 drivers/net/ehea/ehea.h      |    2 +-
 drivers/net/ehea/ehea_main.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/net/ehea/ehea.h~ehea-fix-ipv6-support drivers/net/ehea/ehea.h

drivers/net/ehea/ehea.h renamed from drivers/net/ehea/ehea.h~ehea-fix-ipv6-support +1 -1
@@ -40,7 +40,7 @@
 #include <asm/io.h>
 
 #define DRV_NAME	"ehea"
-#define DRV_VERSION	"EHEA_0087"
+#define DRV_VERSION	"EHEA_0089"
 
 /* eHEA capability flags */
 #define DLPAR_PORT_ADD_REM 1

diff -puN drivers/net/ehea/ehea_main.c~ehea-fix-ipv6-support drivers/net/ehea/ehea_main.c

drivers/net/ehea/ehea_main.c struct ehea_port *ehea_setup_single_port · line 3116

Quoted 8 lines
drivers/net/ehea/ehea_main.c renamed from drivers/net/ehea/ehea_main.c~ehea-fix-ipv6-support +1 -1
@@ -3110,7 +3110,7 @@ struct ehea_port *ehea_setup_single_port
 	dev->vlan_rx_add_vid = ehea_vlan_rx_add_vid;
 	dev->vlan_rx_kill_vid = ehea_vlan_rx_kill_vid;
 	dev->features = NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_TSO
-		      | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_HW_VLAN_TX
+		      | NETIF_F_HIGHDMA | NETIF_F_IP_CSUM | NETIF_F_HW_VLAN_TX
 		      | NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER
 		      | NETIF_F_LLTX;
 	dev->tx_timeout = &ehea_tx_watchdog;

davem already has this