linux_dsm_epyc7002/drivers/net/ethernet/mellanox/mlxsw
Petr Machata 918ee5073b net: ipv6: Introduce ip6_multipath_hash_policy()
In order to abstract away access to the
ipv6.sysctl.multipath_hash_policy variable, which is not available on
systems compiled without IPv6 support, introduce a wrapper function
ip6_multipath_hash_policy() that falls back to 0 on non-IPv6 systems.

Use this wrapper from mlxsw/spectrum_router instead of a direct
reference.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-12 11:07:15 -04:00
..
cmd.h mlxsw: pci: Remove unused bit 2017-03-08 23:17:38 -08:00
core_acl_flex_actions.c mlxsw: spectrum: Keep mirror netdev in mlxsw_sp_span_entry 2018-02-27 14:46:27 -05:00
core_acl_flex_actions.h mlxsw: spectrum: Keep mirror netdev in mlxsw_sp_span_entry 2018-02-27 14:46:27 -05: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
core_thermal.c
core.c mlxsw: core: Add support for reload 2018-01-16 14:15:35 -05:00
core.h mlxsw: core: Add support for reload 2018-01-16 14:15:35 -05: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 mlxsw: spectrum_span: Support mirror to ip6gretap 2018-02-27 14:46:28 -05: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: Wait after reset before accessing HW 2018-01-10 15:58:22 -05:00
pci.c mlxsw: core: Add support for reload 2018-01-16 14:15:35 -05:00
pci.h
port.h mlxsw: Query maximum number of ports from firmware 2017-03-24 13:53:28 -07:00
reg.h mlxsw: reg: Extend mlxsw_reg_mpat_pack() 2018-02-27 14:46:26 -05:00
resources.h mlxsw: resources: Add multicast ERIF list entries resource 2017-09-19 14:21:40 -07: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: Move ACL flexible actions instance to spectrum 2017-09-19 14:21:40 -07:00
spectrum_acl_flex_keys.h mlxsw: spectrum: Add tos to the ipv4 acl block 2017-07-17 09:18:23 -07:00
spectrum_acl_tcam.c mlxsw: spectrum_acl: Pass mlxsw_sp_port down to ruleset bind/unbind ops 2018-01-17 14:53:58 -05:00
spectrum_acl.c mlxsw: Move a mirroring check to mlxsw_sp_span_entry_create 2018-02-27 14:46:27 -05:00
spectrum_buffers.c mlxsw: spectrum_buffer: Reduce scope of shared buffer struct 2017-05-17 14:06:54 -04:00
spectrum_cnt.c mlxsw: spectrum: Support for counters on router interfaces 2017-03-28 17:11:55 -07:00
spectrum_cnt.h mlxsw: spectrum: Support for counters on router interfaces 2017-03-28 17:11:55 -07:00
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 mlxsw: spectrum_dpipe: Add initial support for the router adjacency table 2017-09-26 20:04:35 -07:00
spectrum_fid.c mlxsw: spectrum: Treat IPv6 unregistered multicast as broadcast 2018-02-28 12:32:36 -05:00
spectrum_flower.c mlxsw: spectrum_acl: Add support for mirror action 2018-01-21 18:21:30 -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 mlxsw: spectrum_kvdl: avoid uninitialized variable warning 2018-02-26 11:33:02 -05:00
spectrum_mr_tcam.c mlxsw: core: Make counter index allocated inside the action append 2018-01-21 18:21:30 -05:00
spectrum_mr_tcam.h mlxsw: spectrum: Add the multicast routing hardware logic 2017-09-27 11:33:28 -07:00
spectrum_mr.c ipmr, ip6mr: Make mfc_cache a common structure 2018-03-01 13:13:23 -05:00
spectrum_mr.h mlxsw: spectrum: mr_tcam: Add trap-and-forward multicast route 2017-10-03 10:06:30 -07:00
spectrum_qdisc.c mlxsw: spectrum: qdiscs: prio: Handle graft command 2018-02-28 12:06:01 -05:00
spectrum_router.c net: ipv6: Introduce ip6_multipath_hash_policy() 2018-03-12 11:07:15 -04:00
spectrum_router.h mlxsw: spectrum: Handle NETDEV_CHANGE on L3 tunnels 2017-11-04 09:15:18 +09:00
spectrum_span.c mlxsw: spectrum_span: Support mirror to ip6gretap 2018-02-27 14:46:28 -05:00
spectrum_span.h mlxsw: spectrum_span: Support mirror to gretap 2018-02-27 14:46:28 -05:00
spectrum_switchdev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-06 01:20:46 -05:00
spectrum.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-06 01:20:46 -05:00
spectrum.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-06 01:20:46 -05:00
switchib.c mlxsw: make mlxsw_config_profile const 2017-08-11 14:57:04 -07:00
switchx2.c mlxsw: make mlxsw_config_profile const 2017-08-11 14:57:04 -07:00
trap.h mlxsw: spectrum: Add trap for multicast trap-and-forward routes 2017-10-03 10:06:30 -07:00
txheader.h