OpenCloudOS-Kernel/drivers/net/ethernet/mellanox/mlxsw
Nogah Frankel d570b7ee4e mlxsw: Change trap set function
Change trap setting function so instead of determining the trap group by
trap id, it gets it as a parameter (so later we can have different trap
groups for Spectrum and Switchx2).
Add "is_ctrl" parameter to the trap setting function. It control whether
the trapped packets wait in a designated control buffer or in their
default one. This parameter is ignored by Switchx2 and Switchib.
Add these parameters to the traps array in Spectrum, Switchx2 and
Switchib.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-25 21:22:14 -05:00
..
Kconfig mlxsw: core: Implement thermal zone 2016-11-22 10:04:19 -05:00
Makefile mlxsw: core: Implement thermal zone 2016-11-22 10:04:19 -05:00
cmd.h mlxsw: cmd: Push resource query defines to cmd.h 2016-10-23 17:21:29 -04:00
core.c mlxsw: Change trap set function 2016-11-25 21:22:14 -05:00
core.h mlxsw: Change trap set function 2016-11-25 21:22:14 -05:00
core_hwmon.c mlxsw: core: Zero payload buffers for couple of registers 2016-10-30 16:50:17 -04:00
core_thermal.c mlxsw: core: Implement thermal zone 2016-11-22 10:04:19 -05:00
emad.h mlxsw: Add interface to access registers and process events 2015-07-30 00:05:00 -07:00
i2c.c mlxsw: Introduce support for I2C bus 2016-11-16 23:29:04 -05:00
i2c.h mlxsw: Introduce support for I2C bus 2016-11-16 23:29:04 -05:00
ib.h mlxsw: switchx2: Add IB port support 2016-10-30 16:50:17 -04:00
item.h mlxsw: item: Make char *buf arg constant for getters 2016-10-23 17:21:28 -04:00
minimal.c mlxsw: minimal: Add I2C support for Mellanox ASICs 2016-11-16 23:29:04 -05:00
pci.c mlxsw: Add bus capability flag 2016-11-16 23:29:04 -05:00
pci.h mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver 2016-10-30 16:50:17 -04:00
pci_hw.h mlxsw: pci: Fix the FW ready mask length 2016-11-03 16:21:27 -04:00
port.h mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver 2016-10-30 16:50:17 -04:00
reg.h mlxsw: Change trap set function 2016-11-25 21:22:14 -05:00
resources.h mlxsw: Convert resources into array 2016-10-23 17:21:29 -04:00
spectrum.c mlxsw: Change trap set function 2016-11-25 21:22:14 -05:00
spectrum.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-11-15 10:54:36 -05:00
spectrum_buffers.c mlxsw: spectrum: Fix sparse warnings 2016-09-20 04:32:50 -04:00
spectrum_dcb.c mlxsw: spectrum: Do not override PAUSE settings 2016-08-08 12:57:27 -07:00
spectrum_kvdl.c mlxsw: Introduce simplistic KVD linear area manager 2016-07-05 09:06:30 -07:00
spectrum_router.c mlxsw: spectrum_router: Adjust placement of FIB abort warning 2016-11-16 15:18:01 -05:00
spectrum_switchdev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-11-15 10:54:36 -05:00
switchib.c mlxsw: switchib: Use generic listener struct for events 2016-11-25 21:22:14 -05:00
switchx2.c mlxsw: Change trap set function 2016-11-25 21:22:14 -05:00
trap.h mlxsw: spectrum: Trap loop-backed packets 2016-08-17 19:18:27 -04:00
txheader.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00