diff options
author | Deepak SIKRI <deepak.sikri@st.com> | 2012-04-04 06:33:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-05 00:39:23 +0200 |
commit | 38912bdbde5f39aa00dfc6228ef580ff79b46bd3 (patch) | |
tree | edd34f950438e75d8b47a71c832830e934117b77 /drivers/net/ethernet/stmicro/stmmac/stmmac.h | |
parent | stmmac: Define CSUM offload engine Types (diff) | |
download | linux-38912bdbde5f39aa00dfc6228ef580ff79b46bd3.tar.xz linux-38912bdbde5f39aa00dfc6228ef580ff79b46bd3.zip |
stmmac: sanitize the rx coe and add the type-1 csum (v2)
This patch sanities the RX coe and adds the Type-1 Rx checksum offload engine (COE).
So the RX COE can be passed through the platform but can be fixed
at run-time in case of the core has the HW capability register.
Also to support the Type-1 Rx COE the driver must append the
HW checksum at the end of payload in case the Rx checksum
engine was used to offload the HW checksum.
This v2 version also fixes the IPC that has to be enabled and verified.
Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Hacked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h index b4b095fdcf29..b65d787fee69 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h @@ -56,8 +56,6 @@ struct stmmac_priv { struct stmmac_extra_stats xstats; struct napi_struct napi; - - int rx_coe; int no_csum_insertion; struct phy_device *phydev; |