]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Make RSS indirection table size a constant
authorAchiad Shochat <achiad@mellanox.com>
Sun, 16 Aug 2015 13:04:46 +0000 (16:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Aug 2015 22:51:35 +0000 (15:51 -0700)
commite62fbf6ec0f4c3383701742e5ac75eee5fb418bb
treeed77fbf1a0b9ce023dac81c6ae330478f260371a
parentf9015249e24852213df509746d0a4b8820e8dea0
net/mlx5e: Make RSS indirection table size a constant

The indirection table size was defined by a variable that
was actually assigned a constant value.
Since we do not have any forseen intension to make it configurable
we simply made it a constant.

We also limit the number of channels such that the RSS indirection
table could always populate all RX rings.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c