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)
commit936896e9080b84b0e8b9b23e84fb734e91f5ba6d
treeed77fbf1a0b9ce023dac81c6ae330478f260371a
parent57afead5445de85658e3fa3811ef0cdbf5ed73bf
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
This page took 0.027655 seconds and 5 git commands to generate.