linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Ido Schimmel f24af33015 mlxsw: Simplify traps creation
The Host Trap Group Table (HTGT) register configures trap groups, which
are populated with trap IDs using the Host PacKet Trap (HPKT) register.
However, a trap ID can only be present inside one trap group (the last
configured).

Instead of passing both the trap group and ID for the function that
packs HPKT, pass only the trap ID and derive from it the trap group.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-15 23:27:55 -07:00
..
mlx4 net/mlx4_core: Replace VF zero mac with random mac in mlx4_core 2015-10-14 19:14:44 -07:00
mlx5/core net/mlx5_core: Wait for FW readiness on startup 2015-10-14 19:14:43 -07:00
mlxsw mlxsw: Simplify traps creation 2015-10-15 23:27:55 -07:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00