[dpdk-dev] [PATCH 2/3] rte_ctrl_if: add control interface library

2016-01-28 Thread Yigit, Ferruh
Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH 2/3] rte_ctrl_if: add control interface > > library > > > > On Thu, Jan 28, 2016 at 11:14:47AM +, Remy Horton wrote: > > > On 27/01/2016 16:24, Ferruh Yigit wrote: > > > > > > > +

[dpdk-dev] [PATCH 2/3] rte_ctrl_if: add control interface library

2016-01-28 Thread Ananyev, Konstantin
Hi Ferruh, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ferruh Yigit > Sent: Thursday, January 28, 2016 1:15 PM > To: Horton, Remy > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/3] rte_ctrl_if: add control interface library &

[dpdk-dev] [PATCH 2/3] rte_ctrl_if: add control interface library

2016-01-28 Thread Ferruh Yigit
On Thu, Jan 28, 2016 at 07:24:51AM -0600, Jay Rolette wrote: > On Thu, Jan 28, 2016 at 7:15 AM, Ferruh Yigit > wrote: > > > On Thu, Jan 28, 2016 at 11:14:47AM +, Remy Horton wrote: > > > On 27/01/2016 16:24, Ferruh Yigit wrote: > > > > > > > + default: > > > > + ret = -95 /*

[dpdk-dev] [PATCH 2/3] rte_ctrl_if: add control interface library

2016-01-28 Thread Ferruh Yigit
On Thu, Jan 28, 2016 at 11:14:47AM +, Remy Horton wrote: > On 27/01/2016 16:24, Ferruh Yigit wrote: > > > + default: > > + ret = -95 /* EOPNOTSUPP */; > > + break; > > Is this intentional? -EOPNOTSUPP is -122 (-95 is -ENOTSOCK).. > Return value is not significant, callee

[dpdk-dev] [PATCH 2/3] rte_ctrl_if: add control interface library

2016-01-28 Thread Remy Horton
On 27/01/2016 16:24, Ferruh Yigit wrote: > +default: > +ret = -95 /* EOPNOTSUPP */; > +break; Is this intentional? -EOPNOTSUPP is -122 (-95 is -ENOTSOCK)..

[dpdk-dev] [PATCH 2/3] rte_ctrl_if: add control interface library

2016-01-28 Thread Jay Rolette
On Thu, Jan 28, 2016 at 7:15 AM, Ferruh Yigit wrote: > On Thu, Jan 28, 2016 at 11:14:47AM +, Remy Horton wrote: > > On 27/01/2016 16:24, Ferruh Yigit wrote: > > > > > + default: > > > + ret = -95 /* EOPNOTSUPP */; > > > + break; > > > > Is this intentional? -EOPNOTSUPP

[dpdk-dev] [PATCH 2/3] rte_ctrl_if: add control interface library

2016-01-27 Thread Ferruh Yigit
This library gets control messages form kernelspace and forwards them to librte_ether and returns response back to the kernelspace. Library does: 1) Trigger Linux virtual interface creation 2) Initialize the netlink socket communication 3) Provides process() API to the application that does