]> 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)
commitd733db5ed25de89000d0c6ef831642be898cd1d0
tree5c4cb28b2c9559e255d7b0c2b26720e8774fc95d
parent0f280e4d23c26dfd20f4d9bd078c50358fc5fdd5
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