Re: [dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-03-29 Thread Bruce Richardson
On Thu, Mar 29, 2018 at 11:11:20PM +0300, Vladimir Medvedkin wrote: > 2018-03-29 13:27 GMT+03:00 Bruce Richardson : > > > On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote: > > > RIB is an alternative to current LPM library. > > > +#define LOOKUP_FUNC(suffix, type, bulk_prefetch)

Re: [dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-03-29 Thread Vladimir Medvedkin
2018-03-29 13:27 GMT+03:00 Bruce Richardson : > On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote: > > RIB is an alternative to current LPM library. > > It solves the following problems > > - Increases the speed of control plane operations against lpm such as > >adding/deleti

Re: [dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-03-29 Thread Vladimir Medvedkin
2018-03-26 12:50 GMT+03:00 Bruce Richardson : > On Sun, Mar 25, 2018 at 09:17:20PM +0300, Vladimir Medvedkin wrote: > > Hi, > > > > 2018-03-14 14:09 GMT+03:00 Bruce Richardson >: > > > > > On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote: > > > > RIB is an alternative to current

Re: [dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-03-29 Thread Bruce Richardson
On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote: > RIB is an alternative to current LPM library. > It solves the following problems > - Increases the speed of control plane operations against lpm such as >adding/deleting routes > - Adds abstraction from dataplane algorithms

Re: [dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-03-26 Thread Bruce Richardson
On Sun, Mar 25, 2018 at 09:17:20PM +0300, Vladimir Medvedkin wrote: > Hi, > > 2018-03-14 14:09 GMT+03:00 Bruce Richardson : > > > On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote: > > > RIB is an alternative to current LPM library. > > > It solves the following problems > > > -

Re: [dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-03-25 Thread Vladimir Medvedkin
Hi, 2018-03-14 14:09 GMT+03:00 Bruce Richardson : > On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote: > > RIB is an alternative to current LPM library. > > It solves the following problems > > - Increases the speed of control plane operations against lpm such as > >adding/d

Re: [dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-03-14 Thread Richardson, Bruce
> > +/** RIB nodes allocation type */ > > +enum rte_rib_alloc_type { > > + RTE_RIB_MALLOC, > > + RTE_RIB_MEMPOOL, > > + RTE_RIB_ALLOC_MAX > > +}; > > Not sure you need this any more. Malloc allocations and mempool > allocations are now pretty much the same thing. Sorry, please ignore this c

Re: [dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-03-14 Thread Bruce Richardson
On Wed, Feb 21, 2018 at 09:44:54PM +, Medvedkin Vladimir wrote: > RIB is an alternative to current LPM library. > It solves the following problems > - Increases the speed of control plane operations against lpm such as >adding/deleting routes > - Adds abstraction from dataplane algorithms

[dpdk-dev] [PATCH v2 1/2] Add RIB library

2018-02-21 Thread Medvedkin Vladimir
RIB is an alternative to current LPM library. It solves the following problems - Increases the speed of control plane operations against lpm such as adding/deleting routes - Adds abstraction from dataplane algorithms, so it is possible to add different ip route lookup algorythms such as DXR