net: Make RX-FCS and HW GRO mutually exclusive
authorGal Pressman <galp@mellanox.com>
Mon, 12 Mar 2018 09:48:49 +0000 (11:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 15:15:16 +0000 (11:15 -0400)
commitde8d5ab2ff6edc8e26822965a30b6aa4e9332025
treef325f018f7f7d547d6c11d1e275d4c4410eff8c6
parent678f4bda35483473ae7ad674ece4c7c43a000888
net: Make RX-FCS and HW GRO mutually exclusive

Same as LRO, hardware GRO cannot be enabled with RX-FCS.
When both are requested, hardware GRO will be dropped.

Suggested-by: David Miller <davem@davemloft.net>
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c