diff options
author | 2018-02-28 23:29:34 +0200 | |
---|---|---|
committer | 2018-03-01 13:13:23 -0500 | |
commit | 494fff56379c4ad5b8fe36a5b7ffede4044ca7bb (patch) | |
tree | 700668965ff3ae706986235f91bb8c5267017617 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ipmr, ip6mr: Unite creation of new mr_table (diff) | |
download | linux-dev-494fff56379c4ad5b8fe36a5b7ffede4044ca7bb.tar.xz linux-dev-494fff56379c4ad5b8fe36a5b7ffede4044ca7bb.zip |
ipmr, ip6mr: Make mfc_cache a common structure
mfc_cache and mfc6_cache are almost identical - the main difference is
in the origin/group addresses and comparison-key. Make a common
structure encapsulating most of the multicast routing logic - mr_mfc
and convert both ipmr and ip6mr into using it.
For easy conversion [casting, in this case] mr_mfc has to be the first
field inside every multicast routing abstraction utilizing it.
Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions