aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorGuy Ergas <guye@mellanox.com>2017-02-20 16:18:17 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2017-04-07 01:20:59 +0300
commit102722fc6832a16850c05595b98c9232549d99f3 (patch)
treea65e618f9994137649a672913f92eb6c6bacd2e0 /include/linux/mlx5
parentnet/mlx5: Update the list of the PCI supported devices (diff)
downloadlinux-dev-102722fc6832a16850c05595b98c9232549d99f3.tar.xz
linux-dev-102722fc6832a16850c05595b98c9232549d99f3.zip
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>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 56bc842b0620..1993adbd2c82 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -5122,6 +5122,7 @@ struct mlx5_ifc_modify_rq_out_bits {
enum {
MLX5_MODIFY_RQ_IN_MODIFY_BITMASK_VSD = 1ULL << 1,
+ MLX5_MODIFY_RQ_IN_MODIFY_BITMASK_SCATTER_FCS = 1ULL << 2,
MLX5_MODIFY_RQ_IN_MODIFY_BITMASK_RQ_COUNTER_SET_ID = 1ULL << 3,
};