net/mlx5e: Set hairpin queue size
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 4 Jan 2018 10:47:19 +0000 (12:47 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 19 Jan 2018 20:41:32 +0000 (22:41 +0200)
commiteb9180f792afe6e1f5a723381632791ad134ec39
treec9d458ef7911601dcb31bf453d22313e68ad3dee
parent4d533e0f86952eb97f66f2c9548313f6e51066c0
net/mlx5e: Set hairpin queue size

For a given hairpin packet buffer size, different queue sizes
(values of log_hairpin_num_packets) determine how the data is broken
to strides on the RQ. Currently the chosen value is set to 64B strides.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c