linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
John Hurley 326367427c net: sched: call reoffload op on block callback reg
Call the reoffload tcf_proto_op on all tcf_proto nodes in all chains of a
block when a callback tries to register to a block that already has
offloaded rules. If all existing rules cannot be offloaded then the
registration is rejected. This replaces the previous policy of rejecting
such callback registration outright.

On unregistration of a callback, the rules are flushed for that given cb.
The implementation of block sharing in the NFP driver, for example,
duplicates shared rules to all devs bound to a block. This meant that
rules could still exist in hw even after a device is unbound from a block
(assuming the block still remains active).

Signed-off-by: John Hurley <john.hurley@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-06-26 23:21:33 +09:00
..
cmd.h mlxsw: cmd: Handle error after reset gracefully 2018-05-29 10:10:03 -04:00
core_acl_flex_actions.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
core_acl_flex_actions.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
core_acl_flex_keys.c
core_acl_flex_keys.h mlxsw: core: Fix flex keys scratchpad offset conflict 2018-02-28 12:32:36 -05:00
core_hwmon.c ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
core_thermal.c
core.c mlxsw: Add extack messages for port_{un, }split failures 2018-06-05 12:32:38 -04:00
core.h mlxsw: Add extack messages for port_{un, }split failures 2018-06-05 12:32:38 -04:00
emad.h
i2c.c mlxsw: core: Add support for reload 2018-01-16 14:15:35 -05:00
i2c.h
ib.h
item.h mlxsw: reg: add rdpm register 2018-01-14 12:21:11 -05:00
Kconfig net: Remove depends on HAS_DMA in case of platform dependency 2018-06-23 10:44:30 +09:00
Makefile mlxsw: spectrum: Move SPAN code to separate module 2018-02-13 12:26:25 -05:00
minimal.c
pci_hw.h mlxsw: pci: Introduce helpers to work with multiple CQE versions 2018-05-03 13:44:42 -04:00
pci.c mlxsw: pci: Utilize MRSR register to perform FW reset 2018-05-29 10:10:03 -04:00
pci.h
port.h
reg.h mlxsw: reg: Add Management Reset and Shutdown Register 2018-05-29 10:10:03 -04:00
resources.h mlxsw: resources: Add CQE versions resources 2018-05-03 13:44:42 -04:00
spectrum_acl_flex_actions.c mlxsw: spectrum: Keep mirror netdev in mlxsw_sp_span_entry 2018-02-27 14:46:27 -05:00
spectrum_acl_flex_actions.h mlxsw: spectrum_acl: Fix flex actions header ifndef define construct 2018-04-01 10:56:41 -04:00
spectrum_acl_flex_keys.h
spectrum_acl_tcam.c mlxsw: spectrum_acl: Do not invalidate already invalid ACL groups 2018-03-20 12:11:02 -04:00
spectrum_acl.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-23 11:31:58 -04:00
spectrum_buffers.c mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic 2018-03-17 17:34:54 -04:00
spectrum_cnt.c
spectrum_cnt.h
spectrum_dcb.c
spectrum_dpipe.c mlxsw: spectrum_dpipe: Connect dpipe tables to resources 2018-01-16 14:15:35 -05:00
spectrum_dpipe.h
spectrum_fid.c mlxsw: spectrum: Treat IPv6 unregistered multicast as broadcast 2018-02-28 12:32:36 -05:00
spectrum_flower.c mlxsw: spectrum: Fix gact_ok offloading 2018-03-09 13:02:13 -05:00
spectrum_ipip.c mlxsw: spectrum_ipip: Support decoding IPv6 tunnel addresses 2018-02-27 14:46:26 -05:00
spectrum_ipip.h mlxsw: spectrum_ipip: Support decoding IPv6 tunnel addresses 2018-02-27 14:46:26 -05:00
spectrum_kvdl.c devlink: convert occ_get op to separate registration 2018-04-08 12:45:57 -04:00
spectrum_mr_tcam.c mlxsw: spectrum_router: Support IPv6 multicast to host CPU 2018-03-26 13:14:44 -04:00
spectrum_mr_tcam.h
spectrum_mr.c mlxsw: spectrum_mr: Add ipv6 specific operations 2018-03-26 13:14:44 -04:00
spectrum_mr.h mlxsw: spectrum_mr: Add ipv6 specific operations 2018-03-26 13:14:44 -04:00
spectrum_qdisc.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
spectrum_router.c mlxsw: spectrum_router: Add mlxsw_sp_rif_fid() 2018-06-26 18:05:22 +09:00
spectrum_router.h mlxsw: spectrum_router: Add mlxsw_sp_rif_fid() 2018-06-26 18:05:22 +09:00
spectrum_span.c mlxsw: spectrum_span: Suppress VLAN on BRIDGE_VLAN_INFO_UNTAGGED 2018-06-04 13:27:57 -04:00
spectrum_span.h mlxsw: spectrum_span: Allow bridge for gretap mirror 2018-04-30 12:42:40 -04:00
spectrum_switchdev.c mlxsw: spectrum_switchdev: Ban PVID change if bridge has a RIF 2018-06-26 18:05:22 +09:00
spectrum_switchdev.h mlxsw: spectrum_switchdev: Publish two functions 2018-04-30 12:42:40 -04:00
spectrum.c net: sched: call reoffload op on block callback reg 2018-06-26 23:21:33 +09:00
spectrum.h mlxsw: spectrum: Extract mlxsw_sp_stp_spms_state() 2018-04-30 12:42:40 -04:00
switchib.c mlxsw: Move "resources_query_enable" out of mlxsw_config_profile 2018-04-01 10:56:43 -04:00
switchx2.c mlxsw: use devlink helper to generate physical port name 2018-05-19 16:30:39 -04:00
trap.h mlxsw: spectrum: Add multicast router trap for PIMv6 2018-03-26 13:14:45 -04:00
txheader.h