ehea: fix IPv6 support
Subsystems (2)
PATCH 2/3 ehea: fix IPv6 support
From: Thomas Klein <[email protected]>
Indicate that EHEA calculates IPv4 checksums only
Signed-off-by Thomas Klein <[email protected]>
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]>
Cc <[email protected]>
Signed-off-by Andrew Morton <[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
@@ -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
@@ -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;
_
Quoted 35 lines · [email protected] wrote:
From: Thomas Klein <[email protected]>
Indicate that EHEA calculates IPv4 checksums only
Signed-off-by Thomas Klein <[email protected]>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]>Cc <[email protected]>Signed-off-by Andrew Morton <[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-supportdrivers/net/ehea/ehea.hdrivers/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 1diff -puN
drivers/net/ehea/ehea_main.c~ehea-fix-ipv6-supportdrivers/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