net/mlx4_en: Fix UP limit in ieee_ets->prio_tc
authorAmir Vadai <amirv@mellanox.com>
Sun, 2 Mar 2014 08:24:57 +0000 (10:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2014 01:04:00 +0000 (20:04 -0500)
commitfd8daa45f2bd9b876e0dbb9503ccc5a5252844f2
tree9f97b4d69ad8044c243fe0b1867549760bddf5af
parent80cbfd3695c68d4dd9c41a0342837cb116958ea5
net/mlx4_en: Fix UP limit in ieee_ets->prio_tc

User priority limit has to be less than MLX4_EN_NUM_UP.

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>
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c