Re: [dpdk-dev] [PATCH 1/4] lib: introduce IF Proxy library

2020-04-08 Thread Andrzej Ostruszka [C]
On 4/8/20 5:04 AM, Varghese, Vipin wrote: > Hi Andrzej, > > Thanks for the reply. Please find explanations for some of the queries > > snipped +uint64_t rte_ifpx_events_available(void) { + /* All events are supported on Linux. */ + return (1ULL << RTE_IFPX_NUM_EVENTS) - 1; >>> S

Re: [dpdk-dev] [PATCH 1/4] lib: introduce IF Proxy library

2020-04-07 Thread Varghese, Vipin
Hi Andrzej, Thanks for the reply. Please find explanations for some of the queries snipped > >> +uint64_t rte_ifpx_events_available(void) { > >> + /* All events are supported on Linux. */ > >> + return (1ULL << RTE_IFPX_NUM_EVENTS) - 1; > > Should we give the available from the used count? >

Re: [dpdk-dev] [PATCH 1/4] lib: introduce IF Proxy library

2020-04-01 Thread Andrzej Ostruszka [C]
First of all thank you Vipin for taking a look at this. On 4/1/20 7:29 AM, Varghese, Vipin wrote: > snipped >> diff --git a/lib/librte_if_proxy/Makefile b/lib/librte_if_proxy/Makefile >> new file mode 100644 >> index 0..43cb702a2 >> --- /dev/null >> +++ b/lib/librte_if_proxy/Makefile >> @@

Re: [dpdk-dev] [PATCH 1/4] lib: introduce IF Proxy library

2020-03-31 Thread Varghese, Vipin
snipped > diff --git a/lib/librte_if_proxy/Makefile b/lib/librte_if_proxy/Makefile > new file mode 100644 > index 0..43cb702a2 > --- /dev/null > +++ b/lib/librte_if_proxy/Makefile > @@ -0,0 +1,29 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(C) 2020 Marvell International Ltd.

Re: [dpdk-dev] [PATCH 1/4] lib: introduce IF Proxy library

2020-03-31 Thread Andrzej Ostruszka [C]
On 3/31/20 2:36 PM, Harman Kalra wrote: > On Fri, Mar 06, 2020 at 05:41:01PM +0100, Andrzej Ostruszka wrote: [...] >> +void ifpx_notify_event(struct rte_ifpx_event *ev, struct ifpx_proxy_node >> *px) >> +{ >> +struct ifpx_queue_node *q; >> +int done = 0; >> +uint16_t p, proxy_id; >> +

Re: [dpdk-dev] [PATCH 1/4] lib: introduce IF Proxy library

2020-03-31 Thread Harman Kalra
On Fri, Mar 06, 2020 at 05:41:01PM +0100, Andrzej Ostruszka wrote: > This library allows to designate ports visible to the system (such as > Tun/Tap or KNI) as port representors serving as proxies for other DPDK > ports. When such a proxy is configured this library initially queries > network conf

[dpdk-dev] [PATCH 1/4] lib: introduce IF Proxy library

2020-03-06 Thread Andrzej Ostruszka
This library allows to designate ports visible to the system (such as Tun/Tap or KNI) as port representors serving as proxies for other DPDK ports. When such a proxy is configured this library initially queries network configuration from the system and later monitors its changes. The information