diff options
author | Guy Ergas | 2017-02-20 15:18:17 +0100 |
---|---|---|
committer | Saeed Mahameed | 2017-04-07 00:20:59 +0200 |
commit | 102722fc6832a16850c05595b98c9232549d99f3 (patch) | |
tree | a65e618f9994137649a672913f92eb6c6bacd2e0 /include/linux/mlx5/mlx5_ifc.h | |
parent | net/mlx5: Update the list of the PCI supported devices (diff) | |
download | kernel-qcow2-linux-102722fc6832a16850c05595b98c9232549d99f3.tar.gz kernel-qcow2-linux-102722fc6832a16850c05595b98c9232549d99f3.tar.xz kernel-qcow2-linux-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/mlx5_ifc.h')
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 1 |
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, }; |