net/mlx5e: Add support for RXFCS feature flag
authorGuy Ergas <guye@mellanox.com>
Mon, 20 Feb 2017 14:18:17 +0000 (16:18 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 6 Apr 2017 22:20:59 +0000 (01:20 +0300)
commit102722fc6832a16850c05595b98c9232549d99f3
treea65e618f9994137649a672913f92eb6c6bacd2e0
parentd0dd989f97d8d4ca44cd9bf2f34596e159236db2
net/mlx5e: Add support for RXFCS feature flag

Add support for rx-fcs flag from ethtool.
In case this flag is set, update all RQs to scatter the FCS data into
the packet.

Signed-off-by: Guy Ergas <guye@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
include/linux/mlx5/mlx5_ifc.h