]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: only remove RXCSUM feature if no rx coe is available
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 1 Sep 2014 07:17:53 +0000 (09:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 04:51:29 +0000 (21:51 -0700)
commit4c22015623efc18956769fa13939464a8afefa96
tree5c4cb28b2c9559e255d7b0c2b26720e8774fc95d
parentcb126058dcf44bbf813bd807913b1dcd557d7f6f
stmmac: only remove RXCSUM feature if no rx coe is available

In case of the HW is not able to do the receive checksum offloading
the only feature to remove is NETIF_F_RXCSUM.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c