linux/drivers/net/ethernet/mellanox/mlxsw
Amit Cohen 43c1b83305 mlxsw: spectrum_router: Increase parsing depth for multipath hash
Commit 01848e05f8 ("mlxsw: spectrum_router: Add support for inner
layer 3 multipath hash policy") and commit daeabf89eb ("mlxsw:
spectrum_router: Add support for custom multipath hash policy") added
support for multipath hash policies where the hash is calculated based
on inner packet fields.

For IPv6-in-IPv6 packets, the default parsing depth (96 bytes) is not
enough when these policies are used.

Therefore, for such cases, call the new API to increase / decrease the
parsing depth as necessary. Care is taken to ensure the API is not
called multiple times.

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-08-22 21:39:55 +01: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 mirror sampler action 2021-03-16 15:32:22 -07:00
core_acl_flex_actions.h mlxsw: core_acl_flex_actions: Add mirror sampler action 2021-03-16 15:32:22 -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
core_env.c mlxsw: core_env: Avoid unnecessary memcpy()s 2021-06-24 15:41:55 -07:00
core_env.h mlxsw: core: Add support for module EEPROM read by page 2021-06-21 12:33:05 -07:00
core_hwmon.c mlxsw: reg: Extend MTMP register with new threshold field 2021-06-08 14:39:07 -07:00
core_thermal.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-06-18 19:47:02 -07:00
core.c devlink: Set device as early as possible 2021-08-09 10:21:40 +01:00
core.h mlxsw: pci: Set extra metadata in skb control block 2021-03-14 15:00:43 -07:00
emad.h
i2c.c
i2c.h
item.h
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile mlxsw: Remove Mellanox SwitchX-2 ASIC support 2021-05-17 15:15:46 -07:00
minimal.c mlxsw: core: Add support for module EEPROM read by page 2021-06-21 12:33:05 -07:00
pci_hw.h mlxsw: pci: Add more metadata fields to CQEv2 2021-03-14 15:00:43 -07:00
pci.c mlxsw: Remove Mellanox SwitchX-2 ASIC support 2021-05-17 15:15:46 -07:00
pci.h mlxsw: Remove Mellanox SwitchX-2 ASIC support 2021-05-17 15:15:46 -07:00
port.h
reg.h mlxsw: reg: Document possible MCIA status values 2021-06-21 12:33:04 -07:00
resources.h
spectrum1_acl_tcam.c
spectrum1_kvdl.c
spectrum1_mr_tcam.c
spectrum2_acl_tcam.c
spectrum2_kvdl.c
spectrum2_mr_tcam.c
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_SAMPLE 2021-03-16 15:32:22 -07:00
spectrum_acl_flex_actions.h
spectrum_acl_flex_keys.c
spectrum_acl_tcam.c
spectrum_acl_tcam.h
spectrum_acl.c mlxsw: spectrum_acl: Offload FLOW_ACTION_SAMPLE 2021-03-16 15:32:22 -07:00
spectrum_buffers.c mlxsw: spectrum_buffers: Switch function arguments 2021-05-17 15:15:46 -07:00
spectrum_cnt.c
spectrum_cnt.h
spectrum_dcb.c
spectrum_dpipe.c mlxsw: spectrum_router: Pass payload pointer to nexthop update function 2021-03-24 16:34:57 -07:00
spectrum_dpipe.h
spectrum_ethtool.c mlxsw: core: Add support for module EEPROM read by page 2021-06-21 12:33:05 -07:00
spectrum_fid.c
spectrum_flow.c mlxsw: spectrum_matchall: Propagate extack further 2021-03-16 15:32:22 -07:00
spectrum_flower.c mlxsw: spectrum_acl: Offload FLOW_ACTION_SAMPLE 2021-03-16 15:32:22 -07:00
spectrum_ipip.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-09 20:48:35 -07:00
spectrum_ipip.h mlxsw: spectrum_router: Pass payload pointer to nexthop update function 2021-03-24 16:34:57 -07:00
spectrum_kvdl.c
spectrum_matchall.c mlxsw: spectrum_matchall: Perform priority checks earlier 2021-03-29 13:37:25 -07:00
spectrum_mr_tcam.c
spectrum_mr_tcam.h
spectrum_mr.c mlxsw: spectrum_mr: Update egress RIF list before route's action 2021-05-06 17:19:29 -07:00
spectrum_mr.h
spectrum_nve_vxlan.c mlxsw: Remove old parsing depth infrastructure 2021-08-22 21:39:55 +01:00
spectrum_nve.c mlxsw: spectrum: Fix ECN marking in tunnel decapsulation 2021-03-29 13:29:49 -07:00
spectrum_nve.h mlxsw: Remove old parsing depth infrastructure 2021-08-22 21:39:55 +01:00
spectrum_policer.c
spectrum_ptp.c mlxsw: Convert existing consumers to use new API for parsing configuration 2021-08-22 21:39:55 +01: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: Pass handle, not band number to find_class() 2021-06-07 13:11:41 -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: Increase parsing depth for multipath hash 2021-08-22 21:39:55 +01:00
spectrum_router.h mlxsw: spectrum_router: Increase parsing depth for multipath hash 2021-08-22 21:39:55 +01:00
spectrum_span.c mlxsw: spectrum_span: Add SPAN probability rate support 2021-03-11 16:22:39 -08:00
spectrum_span.h mlxsw: spectrum_matchall: Implement sampling using mirroring 2021-03-11 16:22:39 -08:00
spectrum_switchdev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-13 06:41:22 -07:00
spectrum_switchdev.h
spectrum_trap.c mlxsw: spectrum_acl: Offload FLOW_ACTION_SAMPLE 2021-03-16 15:32:22 -07:00
spectrum_trap.h
spectrum.c mlxsw: spectrum: Add infrastructure for parsing configuration 2021-08-22 21:39:55 +01:00
spectrum.h mlxsw: spectrum: Add infrastructure for parsing configuration 2021-08-22 21:39:55 +01:00
trap.h mlxsw: spectrum_router: Use different trap identifier for unresolved nexthops 2020-11-24 12:14:55 -08:00
txheader.h