From: David S. Miller Date: Wed, 19 May 2021 19:47:47 +0000 (-0700) Subject: Merge branch 'mlxsw-mphash-policies' X-Git-Tag: v5.15~843^2~502 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9287aa2bfd54a8a81f994defabcd92c737511d85;p=platform%2Fkernel%2Flinux-starfive.git Merge branch 'mlxsw-mphash-policies' Ido Schimmel says: ==================== mlxsw: Add support for new multipath hash policies This patchset adds support for two new multipath hash policies in mlxsw. Patch #1 emits net events whenever the net.ipv{4,6}.fib_multipath_hash_fields sysctls are changed. This allows listeners to react to changes in the packet fields used for the computation of the multipath hash. Patches #2-#3 refactor the code in mlxsw that is responsible for the configuration of the multipath hash, so that it will be easier to extend for the two new policies. Patch #4 adds the register fields required to support the new policies. Patch #5-#7 add support for inner layer 3 and custom multipath hash policies. Tested using following forwarding selftests: * custom_multipath_hash.sh * gre_custom_multipath_hash.sh * gre_inner_v4_multipath.sh * gre_inner_v6_multipath.sh ==================== --- 9287aa2bfd54a8a81f994defabcd92c737511d85