Thread (15 messages) 15 messages, 3 authors, 2018-03-01

Re: [PATCH v2 net-next 07/11] ipmr, ip6mr: Unite logic for searching in MFC cache

From: Nikolay Aleksandrov <hidden>
Date: 2018-02-28 21:56:38

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 <redacted>
---
 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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help