linux/drivers/net/ethernet/mellanox/mlxsw
Amit Cohen a4cb1c02c3 mlxsw: spectrum_router: Set offload_failed flag
When FIB_EVENT_ENTRY_{REPLACE, APPEND} are triggered and route insertion
fails, FIB abort is triggered.

After aborting, set the appropriate hardware flag to make the kernel emit
RTM_NEWROUTE notification with RTM_F_OFFLOAD_FAILED flag.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-02-08 16:47:03 -08:00
..
cmd.h mlxsw: spectrum: Set KVH XLT cache mode for Spectrum2/3 2020-12-14 19:09:55 -08:00
core_acl_flex_actions.c mlxsw: core_acl_flex_actions: Add police action 2020-07-15 18:10:00 -07:00
core_acl_flex_actions.h mlxsw: core_acl_flex_actions: Add police action 2020-07-15 18:10:00 -07:00
core_acl_flex_keys.c mlxsw: core_acl: Use an array instead of a struct with a zero-length array 2020-12-06 19:22:14 -08:00
core_acl_flex_keys.h mlxsw: core_acl: Avoid defining static variable in header file 2020-03-27 15:06:43 -07:00
core_env.c mlxsw: Update module's settings when module is plugged in 2020-09-27 13:27:01 -07:00
core_env.h net: don't include ethtool.h from netdevice.h 2020-11-23 17:27:04 -08:00
core_hwmon.c mlxsw: core_hwmon: Query MTMP before writing to set only relevant fields 2020-09-27 13:27:00 -07:00
core_thermal.c mlxsw: core: Increase critical threshold for ASIC thermal zone 2021-01-09 16:25:10 -08:00
core.c mlxsw: Register physical ports as a devlink resource 2021-01-22 20:42:13 -08:00
core.h mlxsw: Register physical ports as a devlink resource 2021-01-22 20:42:13 -08:00
emad.h
i2c.c mlxsw: i2c: Add missing field documentation 2020-03-27 15:06:43 -07:00
i2c.h
ib.h
item.h
Kconfig mlxsw: Fix firmware flashing 2020-11-18 11:07:00 -08:00
Makefile mlxsw: spectrum_router: Introduce XM implementation of router low-level ops 2020-12-14 19:09:54 -08:00
minimal.c mlxsw: Ignore ports that are connected to eXtended mezanine 2020-12-14 19:09:54 -08:00
pci_hw.h mlxsw: pci: Add mirror reason field to CQEv2 2020-07-14 14:50:49 -07:00
pci.c mlxsw: pci: switch from 'pci_' to 'dma_' API 2021-01-14 16:49:54 -08:00
pci.h
port.h
reg.h mlxsw: reg: Add Router LPM Cache Enable Register 2020-12-14 19:09:55 -08:00
resources.h mlxsw: resources: Add resource identifier for global policers 2020-07-15 18:09:59 -07:00
spectrum1_acl_tcam.c
spectrum1_kvdl.c
spectrum1_mr_tcam.c
spectrum2_acl_tcam.c mlxsw: Fix some IS_ERR() vs NULL bugs 2020-04-23 12:34:43 -07:00
spectrum2_kvdl.c
spectrum2_mr_tcam.c mlxsw: spectrum: Rename acl_block to flow_block 2020-04-27 12:43:29 -07:00
spectrum_acl_atcam.c
spectrum_acl_bloom_filter.c
spectrum_acl_ctcam.c
spectrum_acl_erp.c
spectrum_acl_flex_actions.c mlxsw: spectrum_acl: Offload FLOW_ACTION_POLICE 2020-07-15 18:10:00 -07:00
spectrum_acl_flex_actions.h
spectrum_acl_flex_keys.c
spectrum_acl_tcam.c mlxsw: spectrum_acl: Fix mlxsw_sp_acl_tcam_group_add()'s error path 2020-09-27 13:22:31 -07:00
spectrum_acl_tcam.h mlxsw: spectrum_flower: Expose a function to get min and max rule priority 2020-05-09 16:02:43 -07:00
spectrum_acl.c mlxsw: spectrum_acl: Offload FLOW_ACTION_POLICE 2020-07-15 18:10:00 -07:00
spectrum_buffers.c mlxsw: spectrum_buffers: Support two headroom modes 2020-09-17 17:01:38 -07:00
spectrum_cnt.c mlxsw: spectrum_cnt: Use flex_array_size() helper in memcpy() 2020-07-30 17:38:23 -07:00
spectrum_cnt.h
spectrum_dcb.c mlxsw: spectrum_dcb: Implement dcbnl_setbuffer / getbuffer 2020-09-17 17:01:38 -07:00
spectrum_dpipe.c mlxsw: spectrum_router: Add support for blackhole nexthops 2020-11-24 12:14:56 -08:00
spectrum_dpipe.h
spectrum_ethtool.c mlxsw: ethtool: Pass link mode in use to ethtool 2021-02-03 18:37:29 -08:00
spectrum_fid.c mlxsw: spectrum: Remove unused RIF and FID families 2020-03-27 15:06:43 -07:00
spectrum_flow.c mlxsw: spectrum_flow: Promote binder-type dispatch to spectrum.c 2020-07-13 17:22:22 -07:00
spectrum_flower.c mlxsw: spectrum_acl: Offload FLOW_ACTION_POLICE 2020-07-15 18:10:00 -07:00
spectrum_ipip.c mlxsw: spectrum_router: Reduce mlxsw_sp_ipip_fib_entry_op_gre4() 2020-12-06 19:22:14 -08:00
spectrum_ipip.h mlxsw: spectrum_router: Reduce mlxsw_sp_ipip_fib_entry_op_gre4() 2020-12-06 19:22:14 -08:00
spectrum_kvdl.c
spectrum_matchall.c mlxsw: spectrum_span: Allow setting policer on a SPAN agent 2020-07-14 14:50:49 -07:00
spectrum_mr_tcam.c mlxsw: Fix some IS_ERR() vs NULL bugs 2020-04-23 12:34:43 -07:00
spectrum_mr_tcam.h
spectrum_mr.c mlxsw: spectrum_mr: Use flexible-array member instead of zero-length array 2020-12-06 19:22:14 -08:00
spectrum_mr.h
spectrum_nve_vxlan.c mlxsw: Veto Q-in-VNI for Spectrum-1 ASIC 2020-12-08 15:45:56 -08:00
spectrum_nve.c mlxsw: Veto Q-in-VNI for Spectrum-1 ASIC 2020-12-08 15:45:56 -08:00
spectrum_nve.h mlxsw: Veto Q-in-VNI for Spectrum-1 ASIC 2020-12-08 15:45:56 -08:00
spectrum_policer.c mlxsw: spectrum_policer: Add devlink resource support 2020-07-15 18:10:00 -07:00
spectrum_ptp.c mlxsw: spectrum_ptp: use PTP wide message type definitions 2020-11-25 12:23:14 -08:00
spectrum_ptp.h mlxsw: spectrum_ptp: use PTP wide message type definitions 2020-11-25 12:23:14 -08:00
spectrum_qdisc.c mlxsw: spectrum_qdisc: Disable port buffer autoresize with qdiscs 2020-09-17 17:01:38 -07:00
spectrum_router_xm.c mlxsw: spectrum_router: Use eXtended mezzanine to offload IPv4 router 2020-12-14 19:09:55 -08:00
spectrum_router.c mlxsw: spectrum_router: Set offload_failed flag 2021-02-08 16:47:03 -08:00
spectrum_router.h mlxsw: spectrum_router: Use eXtended mezzanine to offload IPv4 router 2020-12-14 19:09:55 -08:00
spectrum_span.c mlxsw: spectrum_span: Do not overwrite policer configuration 2021-01-28 13:09:01 -08:00
spectrum_span.h mlxsw: spectrum_span: Do not overwrite policer configuration 2021-01-28 13:09:01 -08:00
spectrum_switchdev.c mlxsw: spectrum_switchdev: remove transactional logic for VLAN objects 2021-01-11 16:00:57 -08:00
spectrum_switchdev.h
spectrum_trap.c mlxsw: spectrum_trap: Add blackhole_nexthop trap 2020-11-24 12:14:56 -08:00
spectrum_trap.h mlxsw: spectrum_trap: Allow for per-ASIC traps initialization 2020-08-03 18:06:46 -07:00
spectrum.c mlxsw: spectrum: Set KVH XLT cache mode for Spectrum2/3 2020-12-14 19:09:55 -08:00
spectrum.h mlxsw: ethtool: Pass link mode in use to ethtool 2021-02-03 18:37:29 -08:00
switchib.c mlxsw: Set port split ability attribute in driver 2020-07-09 13:15:29 -07:00
switchx2.c net: don't include ethtool.h from netdevice.h 2020-11-23 17:27:04 -08:00
trap.h mlxsw: spectrum_router: Use different trap identifier for unresolved nexthops 2020-11-24 12:14:55 -08:00
txheader.h