linux/drivers/net/ethernet/mellanox/mlxsw
Ido Schimmel 86cb13e4ec mlxsw: spectrum: Fix compilation error when CLS_ACT isn't set
When CONFIG_NET_CLS_ACT isn't set 'struct tcf_exts' has no member named
'actions' and we therefore must not access it. Otherwise compilation
fails.

Fix this by introducing a new macro similar to tc_no_actions(), which
always returns 'false' if CONFIG_NET_CLS_ACT isn't set.

Fixes: 763b4b70af ("mlxsw: spectrum: Add support in matchall mirror TC offloading")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-25 17:57:33 -07:00
..
cmd.h mlxsw: pci: Add resources query implementation. 2016-07-24 23:11:58 -07:00
core_hwmon.c mlxsw: core: remove an unnecessary condition 2016-01-06 15:07:47 -05:00
core.c mlxsw: pci: Add resources query implementation. 2016-07-24 23:11:58 -07:00
core.h mlxsw: pci: Add max span resources to resources query 2016-07-24 23:11:59 -07:00
emad.h mlxsw: Add interface to access registers and process events 2015-07-30 00:05:00 -07:00
item.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-10-20 06:08:27 -07:00
Kconfig mlxsw: spectrum: Introduce support for Data Center Bridging (DCB) 2016-04-06 17:24:18 -04:00
Makefile mlxsw: Introduce simplistic KVD linear area manager 2016-07-05 09:06:30 -07:00
pci.c mlxsw: pci: Add max span resources to resources query 2016-07-24 23:11:59 -07:00
pci.h mlxsw: pci: Implement reset done check 2016-03-13 22:30:01 -04:00
port.h mlxsw: spectrum: Introduce port splitting 2016-03-01 16:07:31 -05:00
reg.h mlxsw: reg: Add the Monitoring Port Analyzer register 2016-07-24 23:11:59 -07:00
spectrum_buffers.c mlxsw: spectrum: Prevent invalid ingress buffer mapping 2016-07-15 14:49:51 -07:00
spectrum_dcb.c mlxsw: spectrum: Prevent invalid ingress buffer mapping 2016-07-15 14:49:51 -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: Return -ENOENT in case of error 2016-07-14 22:14:54 -07:00
spectrum_switchdev.c mlxsw: spectrum: Enable L3 interfaces on top of bridge devices 2016-07-04 18:25:16 -07:00
spectrum.c mlxsw: spectrum: Fix compilation error when CLS_ACT isn't set 2016-07-25 17:57:33 -07:00
spectrum.h mlxsw: spectrum: Add support in matchall mirror TC offloading 2016-07-24 23:12:00 -07:00
switchx2.c mlxsw: pci: Add resources query implementation. 2016-07-24 23:11:58 -07:00
trap.h mlxsw: spectrum: Add traps needed for router implementation 2016-07-02 15:21:18 -04:00
txheader.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00