summaryrefslogtreecommitdiff
path: root/samples/Makefile
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2016-08-29 01:13:46 +0300
committerDavid S. Miller <davem@davemloft.net>2016-08-28 23:24:15 -0400
commitcc8e9ebf952699cb6870f1366a4920d05b036e31 (patch)
treeac2651c5d31fede401c5e8348abdb04431ef7c12 /samples/Makefile
parent6e8dd6d6f4bd2fd6fefdbf2e73bf251e36db59af (diff)
net/mlx5e: Fix ethtool -g/G rx ring parameter report with striding RQ
The driver RQ has two possible configurations: striding RQ and non-striding RQ. Until this patch, the driver always reported the number of hardware WQEs (ring descriptors). For non striding RQ configuration, this was OK since we have one WQE per pending packet For striding RQ, multiple packets can fit into one WQE. For better user experience we normalize the rx_pending parameter (size of wqe/mtu) as the average ring size in case of striding RQ. Fixes: 461017cb006a ('net/mlx5e: Support RX multi-packet WQE ...') Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions