On 28/02/18 23:29, Yuval Mintz wrote:
> ipmr and ip6mr utilize the exact same methods for searching the
> hashed resolved connections, difference being only in the construction
> of the hash comparison key.
> 
> In order to unite the flow, introduce an mr_table operation set that
> would contain the protocol specific information required for common
> flows, in this case - the hash parameters and a comparison key
> representing a (*,*) route.
> 
> Signed-off-by: Yuval Mintz <yuv...@mellanox.com>
> ---
>  include/linux/mroute_base.h | 52 +++++++++++++++++++++++++++++--
>  net/ipv4/ipmr.c             | 71 ++++++++++---------------------------------
>  net/ipv4/ipmr_base.c        | 54 +++++++++++++++++++++++++++++++--
>  net/ipv6/ip6mr.c            | 74 
> +++++++++++----------------------------------
>  4 files changed, 134 insertions(+), 117 deletions(-)
> 

Thanks!

Acked-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>

Reply via email to