summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/en_rx.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-07-10 22:29:19 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-07-17 05:59:30 (GMT)
commit036be6dbcfbe3da14be9b3463b94a5f79d8a2d71 (patch)
tree6de042db9c434574e4d23a3a440001ab95df2b27 /drivers/net/ethernet/mellanox/mlx4/en_rx.c
parent9c64508af2c171f57a198729c59a7a6f6998b3a1 (diff)
downloadlinux-fsl-qoriq-036be6dbcfbe3da14be9b3463b94a5f79d8a2d71.tar.xz
bridge: Fix enforcement of multicast hash_max limit
The hash size is doubled when it needs to grow and compared against hash_max. The >= comparison will limit the hash table size to half of what is expected i.e. the default 512 hash_max will not allow the hash table to grow larger than 256. Also print the hash table limit instead of the desirable size when the limit is reached. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_rx.c')
0 files changed, 0 insertions, 0 deletions