[dpdk-dev] issues with packets bigger than 1500 bytes

2015-03-31 Thread Newman Poborsky
ree(). Application is also stable with packets larger than 1500 bytes and standard MTU, but as I said, there are a lot of received errors. BR, Newman On Mon, Mar 30, 2015 at 12:52:22PM +0200, Newman Poborsky wrote: > Hi, > > I'm having some problems with dpdk on links that have packets b

[dpdk-dev] issues with packets bigger than 1500 bytes

2015-03-30 Thread Newman Poborsky
Hi, I'm having some problems with dpdk on links that have packets bigger than 1500bytes. Some packets that are receieved are around 4K, and some are 9k jumbo frames. When using testpmd app, I can see a lot of RX-errors (both RX-missed and RX-badlen). When I set max packet length to 9000,

[dpdk-dev] rte_mempool_create fails with ENOMEM

2015-01-08 Thread Newman Poborsky
so that there aren't enough contiguous segments? If so, how? Thanks! Newman On Mon, Dec 22, 2014 at 11:48 AM, Newman Poborsky wrote: > On Sat, Dec 20, 2014 at 2:34 AM, Stephen Hemminger > wrote: >> You can reserve hugepages on the kernel cmdline (GRUB). > > Great, thanks, I'll

[dpdk-dev] rte_mempool_create fails with ENOMEM

2014-12-22 Thread Newman Poborsky
On Sat, Dec 20, 2014 at 2:34 AM, Stephen Hemminger wrote: > You can reserve hugepages on the kernel cmdline (GRUB). Great, thanks, I'll try that! Newman > > On Fri, Dec 19, 2014 at 12:13 PM, Newman Poborsky > wrote: >> >> On Thu, Dec 18, 2014 at 9:03

[dpdk-dev] rte_mempool_create fails with ENOMEM

2014-12-19 Thread Newman Poborsky
On Thu, Dec 18, 2014 at 9:03 PM, Ananyev, Konstantin < konstantin.ananyev at intel.com> wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, Konstantin > > Sent: Thursday, December 18, 2014 5:43 PM > >

[dpdk-dev] rte_mempool_create fails with ENOMEM

2014-12-18 Thread Newman Poborsky
Hi, could someone please provide any explanation why sometimes mempool creation fails with ENOMEM? I run my test app several times without any problems and then I start getting ENOMEM error when creating mempool that are used for packets. I try to delete everything from /mnt/huge, I increase the

[dpdk-dev] one worker reading multiple ports

2014-11-21 Thread Newman Poborsky
5PM +0100, Newman Poborsky wrote: > > So, since mempool is multi-consumer (by default), if one is used to > > configure queues on multiple NICs that have different socket owners, then > > mbuf allocation will fail? But if 2 NICs have the socket owner, > everything > > should

[dpdk-dev] one worker reading multiple ports

2014-11-21 Thread Newman Poborsky
, Newman On Thu, Nov 20, 2014 at 10:52 PM, Matthew Hall wrote: > On Thu, Nov 20, 2014 at 05:10:51PM +0100, Newman Poborsky wrote: > > Thank you for your answer. > > > > I just realized that the reason the rte_eth_rx_burst() returns 0 is > because > > inside ixgbe_r

[dpdk-dev] building shared library

2014-11-11 Thread Newman Poborsky
11, 2014 at 4:54 PM, Neil Horman wrote: > On Tue, Nov 11, 2014 at 03:26:04PM +, De Lara Guarch, Pablo wrote: > > > > > > > -Original Message- > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Newman Poborsky > > > Sent: Tuesday, No

[dpdk-dev] building shared library

2014-11-11 Thread Newman Poborsky
main(). How? BR, Newman On Tue, Nov 11, 2014 at 3:44 PM, Newman Poborsky wrote: > Hi Sergio, > > no, that sounds good, thank you. Since I'm not that familiar with DPDK > build system, where should this option be set? In 'lib' folder's Makefile? > > Thank you once again

[dpdk-dev] building shared library

2014-11-11 Thread Newman Poborsky
wrote: > On Tue, Nov 11, 2014 at 01:10:29PM +0100, Newman Poborsky wrote: > > Hi, > > > > I want to build one .so file with my app (it contains API that I want to > > call through JNI) and all DPDK libs that I use in my app. > > > > As I've already

[dpdk-dev] building shared library

2014-11-11 Thread Newman Poborsky
gt; > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Newman Poborsky > > Sent: Monday, November 10, 2014 2:23 PM > > > > Hi, > > > > is it possible to build a dpdk app as a shared library? > > > > I tried to put 'include $(RTE_SDK)/

[dpdk-dev] building shared library

2014-11-11 Thread Newman Poborsky
; wrote: > Hi, > I am using DPDK based shared lib, but never met such problems. Can you > please share this the result of "ldd x.so" and check if all those > depended lib are all avalible? > > brgs, > chi xiaobo > > -Original Message- > From: dev

[dpdk-dev] building shared library

2014-11-10 Thread Newman Poborsky
Hi, is it possible to build a dpdk app as a shared library? I tried to put 'include $(RTE_SDK)/mk/rte.extshared.mk' in my Makefile (and define SHARED) and it builds .so lib, but all rte_* symbols are undefined. After that i tried adding: LDLIBS += -lrte_eal -lrte_mbuf -lrte_cmdline -lrte_timer

[dpdk-dev] flow director - perfect match filter

2014-10-31 Thread Newman Poborsky
fy you packet as TCP one. > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Newman Poborsky > > Sent: Thursday, October 30, 2014 11:18 PM > > To: dev at dpdk.org > > Subject: [dpdk-dev] flow director - perfect match filter > > > >

[dpdk-dev] flow director - perfect match filter

2014-10-30 Thread Newman Poborsky
Hi, I'm not sure this is the right place to post a question like this, but I've been stuck with the same problem for days now. I'm trying to use flow director perfect match filters and so far I haven't been able to get it working. I have tried writing my own simple app (based on given examples)