[dpdk-dev] [PATCH RFC] eal_memory: Search only DPDK hugetlbfs maps

2014-12-23 Thread Vlad Zolotarov
When scanning the hugetlbfs maps search only for the DPDK maps. This will allow the application create its own hugetlbfs mappings and use the DPDK facilities on the same hugetlbfs mount point. Signed-off-by: Vlad Zolotarov --- lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +- 1 file changed, 1 in

[dpdk-dev] more maintainers with sub-trees

2014-12-23 Thread Thomas Monjalon
Hello all, We now have 2 new maintainers managing their own sub-tree for some specific areas of DPDK: - Stephen Hemminger will maintain the driver bnx2x - Helin Zhang will maintain the driver i40e These repositories can be browsed from the "next" section of this page: http

[dpdk-dev] [PATCH v3 3/4] Add library version extenstion

2014-12-23 Thread Gonzalez Monroy, Sergio
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > Sent: Tuesday, December 23, 2014 3:52 PM > > a/mk/rte.lib.mk b/mk/rte.lib.mk index 1d3b646..7326b8e 100644 > --- a/mk/rte.lib.mk > +++ b/mk/rte.lib.mk > @@ -163,9 +168,13 @@ endif > # install lib in $(RTE_OUTPUT)/lib > # > $

[dpdk-dev] [PATCH RFC 0/3] DPDK ethdev callback support

2014-12-23 Thread Bruce Richardson
On Tue, Dec 23, 2014 at 08:09:37AM -0500, Neil Horman wrote: > On Tue, Dec 23, 2014 at 09:28:08AM +, Bruce Richardson wrote: > > On Mon, Dec 22, 2014 at 12:47:09PM -0500, Neil Horman wrote: > > > On Mon, Dec 22, 2014 at 05:33:07PM +, Bruce Richardson wrote: > > > > On Mon, Dec 22, 2014 at 0

[dpdk-dev] more maintainers with sub-trees

2014-12-23 Thread Neil Horman
On Tue, Dec 23, 2014 at 06:08:26PM +0100, Thomas Monjalon wrote: > Hello all, > > We now have 2 new maintainers managing their own sub-tree for some > specific areas of DPDK: > - Stephen Hemminger will maintain the driver bnx2x > - Helin Zhang will maintain the driver i40e > > These r

[dpdk-dev] [PATCH v2 1/4] compat: Add infrastructure to support symbol versioning

2014-12-23 Thread Gonzalez Monroy, Sergio
> From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Monday, December 22, 2014 8:24 PM > +++ b/lib/librte_compat/Makefile >[...] > + > +include $(RTE_SDK)/mk/rte.vars.mk > + > + > +# install includes > +SYMLINK-y-include := rte_compat.h > + > +include $(RTE_SDK)/mk/rte.lib.mk > I just real

[dpdk-dev] [PATCH v2 3/4] Add library version extenstion

2014-12-23 Thread Gonzalez Monroy, Sergio
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > Sent: Monday, December 22, 2014 8:24 PM > > a/mk/rte.lib.mk b/mk/rte.lib.mk index 7949254..ad058b5 100644 > --- a/mk/rte.lib.mk > +++ b/mk/rte.lib.mk > @@ -166,9 +171,11 @@ endif > # install lib in $(RTE_OUTPUT)/lib > # > $(

[dpdk-dev] [PATCH v3 3/4] Add library version extenstion

2014-12-23 Thread Neil Horman
On Tue, Dec 23, 2014 at 04:44:32PM +, Gonzalez Monroy, Sergio wrote: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > > Sent: Tuesday, December 23, 2014 3:52 PM > > > > a/mk/rte.lib.mk b/mk/rte.lib.mk index 1d3b646..7326b8e 100644 > > --- a/mk/rte.lib.mk > > +++ b/mk/rt

[dpdk-dev] VLAN header insertion and removal

2014-12-23 Thread Padam J. Singh
Hello Alex, Thanks for the help - this worked! BR, Padam > On 21-Dec-2014, at 2:42 pm, Alex Markuze wrote: > > On ingress when configuring the device > 1.modify the > rte_eth_conf.rxmode.hw_vlan_strip = 1, > > On egress you need to modify the rte_va

[dpdk-dev] [PATCH v3 4/4] docs: Add ABI documentation

2014-12-23 Thread Neil Horman
Adding a document describing rudimentary ABI policy and adding notice space for any deprecation announcements Signed-off-by: Neil Horman CC: Thomas Monjalon CC: "Richardson, Bruce" --- doc/abi.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 doc/abi.txt diff --

[dpdk-dev] [PATCH v3 3/4] Add library version extenstion

2014-12-23 Thread Neil Horman
To differentiate libraries that break ABI, we add a library version number suffix to the library, which must be incremented when a given libraries ABI is broken. This patch enforces that addition, sets the initial abi soname extension to 1 for each library and creates a symlink to the base SONAME

[dpdk-dev] [PATCH v3 2/4] Provide initial versioning for all DPDK libraries

2014-12-23 Thread Neil Horman
Add linker version script files to each DPDK library to put a stake in the ground from which we can start cleaning up API's Signed-off-by: Neil Horman CC: Thomas Monjalon CC: "Richardson, Bruce" --- Change Notes: v2) * Updated export map to not require full path --- lib/librte_acl/Ma

[dpdk-dev] [PATCH v3 1/4] compat: Add infrastructure to support symbol versioning

2014-12-23 Thread Neil Horman
Add initial pass header files to support symbol versioning. Signed-off-by: Neil Horman CC: Thomas Monjalon CC: "Richardson, Bruce" CC: "Gonzalez Monroy, Sergio" Change Notes: V2) Moved ifeq to _INSTALL target V3) Undo V2 changes and make librte_compat use the rte.install.mk f

[dpdk-dev] [PATCH v2 3/4] Add library version extenstion

2014-12-23 Thread Neil Horman
On Tue, Dec 23, 2014 at 01:05:16PM +, Gonzalez Monroy, Sergio wrote: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > > Sent: Monday, December 22, 2014 8:24 PM > > > > a/mk/rte.lib.mk b/mk/rte.lib.mk index 7949254..ad058b5 100644 > > --- a/mk/rte.lib.mk > > +++ b/mk/rte

[dpdk-dev] [PATCH v2 1/4] compat: Add infrastructure to support symbol versioning

2014-12-23 Thread Neil Horman
On Tue, Dec 23, 2014 at 01:27:32PM +, Gonzalez Monroy, Sergio wrote: > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Monday, December 22, 2014 8:24 PM > > +++ b/lib/librte_compat/Makefile > >[...] > > + > > +include $(RTE_SDK)/mk/rte.vars.mk > > + > > + > > +# install includes

[dpdk-dev] [RFC PATCH 1/7] eal: add linear thread id as pthread-local variable

2014-12-23 Thread Liang, Cunming
Thanks Konstantin, it makes sense. > -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, December 23, 2014 3:02 AM > To: Liang, Cunming; dev at dpdk.org > Subject: RE: [dpdk-dev] [RFC PATCH 1/7] eal: add linear thread id as > pthread-local > variable > > Hi Steve, > > >

[dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore

2014-12-23 Thread Liang, Cunming
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, December 23, 2014 2:29 AM > To: Richardson, Bruce > Cc: Liang, Cunming; dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore > > On Mon, 22 Dec 2014

[dpdk-dev] [PATCH v2 4/4] docs: Add ABI documentation

2014-12-23 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > Sent: Monday, December 22, 2014 8:24 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 4/4] docs: Add ABI documentation > > Adding a document describing rudimentary ABI policy and adding not

[dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore

2014-12-23 Thread Liang, Cunming
> -Original Message- > From: Walukiewicz, Miroslaw > Sent: Monday, December 22, 2014 6:02 PM > To: Richardson, Bruce; Liang, Cunming > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore > > > -Original Message- > > From: Richardson, Bruc

[dpdk-dev] [PATCH RFC 0/3] DPDK ethdev callback support

2014-12-23 Thread Vithal S Mohare
Agree. As the mbuf is already received in the rx-q, may not yield great advantage. On side note, any plans to support RSS for L2 packets ? -Original Message- From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: Tuesday, December 23, 2014 3:00 PM To: Vithal S Mohare Cc: dev a

[dpdk-dev] [PATCH RFC 0/3] DPDK ethdev callback support

2014-12-23 Thread Bruce Richardson
On Tue, Dec 23, 2014 at 04:23:21AM +, Vithal S Mohare wrote: > Hi Bruce, > > > For example, for a port type that does not support RSS, a callback on RX can > be configured to calculate a hash in software. > > > Wondering if this callback will also be useful to bridge the gap of no RSS > s

[dpdk-dev] [PATCH RFC 0/3] DPDK ethdev callback support

2014-12-23 Thread Bruce Richardson
On Mon, Dec 22, 2014 at 10:31:57AM -0800, Stephen Hemminger wrote: > On Mon, 22 Dec 2014 16:47:21 + > Bruce Richardson wrote: > > > This RFC is for a small addition to the ethdev library, to add in support > > for > > callbacks at the RX and TX stages. This allows packet processing to be don

[dpdk-dev] [PATCH RFC 0/3] DPDK ethdev callback support

2014-12-23 Thread Bruce Richardson
On Mon, Dec 22, 2014 at 12:47:09PM -0500, Neil Horman wrote: > On Mon, Dec 22, 2014 at 05:33:07PM +, Bruce Richardson wrote: > > On Mon, Dec 22, 2014 at 06:02:53PM +0100, Thomas Monjalon wrote: > > > Hi Bruce, > > > > > > Callbacks, as hooks for applications, give more flexibility and are > >

[dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore

2014-12-23 Thread Bruce Richardson
On Tue, Dec 23, 2014 at 09:19:54AM +, Walukiewicz, Miroslaw wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > > Hemminger > > Sent: Monday, December 22, 2014 7:29 PM > > To: Richardson, Bruce > > Cc: dev at dpdk.org > > Subject: Re

[dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore

2014-12-23 Thread Walukiewicz, Miroslaw
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Monday, December 22, 2014 7:29 PM > To: Richardson, Bruce > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH 0/7] support multi-phtread per lcore > > On Mon, 22 Dec 2014 09:

[dpdk-dev] [PATCH RFC 0/3] DPDK ethdev callback support

2014-12-23 Thread Neil Horman
On Tue, Dec 23, 2014 at 09:28:08AM +, Bruce Richardson wrote: > On Mon, Dec 22, 2014 at 12:47:09PM -0500, Neil Horman wrote: > > On Mon, Dec 22, 2014 at 05:33:07PM +, Bruce Richardson wrote: > > > On Mon, Dec 22, 2014 at 06:02:53PM +0100, Thomas Monjalon wrote: > > > > Hi Bruce, > > > > >

[dpdk-dev] [PATCH v2 4/4] docs: Add ABI documentation

2014-12-23 Thread Neil Horman
On Tue, Dec 23, 2014 at 09:48:43AM +, Iremonger, Bernard wrote: > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > > Sent: Monday, December 22, 2014 8:24 PM > > To: dev at dpdk.org > > Subject: [dpdk-dev] [PATCH v2 4/4] docs: Add ABI documen

[dpdk-dev] [PATCH RFC 0/3] DPDK ethdev callback support

2014-12-23 Thread Vithal S Mohare
Hi Bruce, For example, for a port type that does not support RSS, a callback on RX can be configured to calculate a hash in software. Wondering if this callback will also be useful to bridge the gap of no RSS support for L2 packets. i.e. in the rx call-back handler, can applications calcula