summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorAmir Vadai <amirv@mellanox.com>2014-10-27 12:37:47 +0300
committerDavid S. Miller <davem@davemloft.net>2014-10-29 00:18:01 +0300
commitd5ec899adb442161b8ae43777572ef8076f379a0 (patch)
tree4d41103e45c1b086d74f0b2cd1ec5d1892738196 /include/uapi/linux
parent207af6c5073021dfe32ae01d342a4dbf08e57515 (diff)
downloadlinux-d5ec899adb442161b8ae43777572ef8076f379a0.tar.xz
net/mlx4_en: Report actual number of rings in indirection table
Hardware requires the number of rings in indirection table to be a power of 2. When setting number of channels to a non power of 2 number, indirection table is using only the closest power of 2 rings. Report this number in 'ethtool -x' and not the total number of rx rings. Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions