drivers: net: xgene: Fix hardware checksum setting
authorQuan Nguyen <qnguyen@apm.com>
Wed, 15 Mar 2017 20:27:16 +0000 (13:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Mar 2017 04:52:51 +0000 (21:52 -0700)
commite026e700d940a1ea3d3bc84d92ac668b1f015462
treeb9290d30106df90334096a9a988355f388cce79c
parent4b72436dc3dd2457056b22d6f147777368c869fa
drivers: net: xgene: Fix hardware checksum setting

This patch fixes the hardware checksum settings by properly program
the classifier. Otherwise, packet may be received with checksum error
on X-Gene1 SoC.

Signed-off-by: Quan Nguyen <qnguyen@apm.com>
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h