[dpdk-dev] Should the other queues at same port work when one queue is full ?

2015-01-22 Thread XU Liang
e queue is full ? On Sun, Jan 18, 2015 at 07:12:31PM +0800, XU Liang wrote: > I configured the 82599 ports to work in multi-queue mode and flow director to > assign different TCP connections to different queues. A multi-process > application receive packets from queues and each?process

[dpdk-dev] Should the other queues at same port work when one queue is full ?

2015-01-18 Thread XU Liang
I configured the 82599 ports to work in multi-queue mode and flow director to assign different TCP connections to different queues. A multi-process application receive packets from queues and each?process reads a queue. When I kill one process, the process's?queue is full, all?descriptors of the

[dpdk-dev] [PATCH v7] eal: map PCI memory resources after hugepages

2014-11-11 Thread XU Liang
I had finished some tests. The patch works fine. My tests are included :* single process? + uio + vfio * single process? + uio + vfio + base-virtaddr * multiple processes + uio + vfio *?multiple processes + uio + vfio + base-virtaddr My unlucky multiple process application still got error witho

[dpdk-dev] [PATCH] eal: map PCI memory resources after hugepages

2014-11-10 Thread XU Liang
By the way, the?pci_map_resource will check the mapaddr ==?requested_addr. So you must provide a usable?requested_addr. It's a reason I modified the?pci_map_resource().--From:?? Time:2014 Nov 10 (Mon) 18 : 04To:Burakov, Anatoly , d

[dpdk-dev] [PATCH] eal: map PCI memory resources after hugepages

2014-11-10 Thread XU Liang
Of course you can take this job. Thanks you for your help.--From:?? Time:2014 Nov 10 (Mon) 18 : 01To:Burakov, Anatoly , dev at dpdk.org Cc:thomas.monjalon at 6wind.com Subject:Re: [PATCH] eal: map PCI memory resources after hugepage

[dpdk-dev] [PATCH] eal: map PCI memory resources after hugepages

2014-11-10 Thread XU Liang
It is a default value when the requested_addr isn't exist, not an overide. When the?pci_map_resource is called at the primary process, the?requested_addr is NULL. The default value will be provided by?default_map_addr. When the?pci_map_resource is called at the secondery process, the?requested_a

[dpdk-dev] [PATCH v7] eal: map uio resources after hugepages.

2014-11-07 Thread XU Liang
I got it. Just some guys don't like global variable. I'm not sure what is DPDK code style.--From:Burakov, Anatoly Time:2014 Nov 7 (Fri) 23 : 15To:?? , dev at dpdk.org Cc:thomas.monjalon at 6wind.com , De Lara Guarch, Pablo Subjec

[dpdk-dev] [PATCH v6] eal: map uio resources after hugepages when the base_virtaddr is configured.

2014-11-07 Thread XU Liang
11.0in;margin: 1.0in 1.0in 1.0in 1.0in;div.WordSection1 {page: WordSection1;} Ah, yes, sorry about that, haven?t quite woke up yet L You?re right. So it?s removing the dependency on --base-virtaddr, moving the function to eal_pci.c ?and adding similar VFIO code that?s left then. ? Thanks, Anat

[dpdk-dev] [PATCH v6] eal: map uio resources after hugepages when the base_virtaddr is configured.

2014-11-07 Thread XU Liang
How to find the?maximum end virtual address ??I'm not the DPDK expert, but I will try to do my best. If the segments isn't overlap, "if(seg->addr > last->addr)?last = seg;" already find the segment with?maximum end virtual address.

[dpdk-dev] introduce fastsocket

2014-11-07 Thread XU Liang
https://github.com/fastos/fastsocketIt's?a highly scalable socket and its underlying networking implementation of Linux kernel.?It isn't base DPDK, but the goal is closed. it has been deployed in the production environment of SINA Weibo (The largest Chinese Twitter)? .?In a chinese review, h

[dpdk-dev] 答复:答复: [PATCH] eal: map uio resources after hugepages when the base_virtaddr is configured.

2014-11-06 Thread XU Liang
oly ? From: XU Liang [mailto:liang...@cinfotech.cn] Sent: Wednesday, November 5, 2014 3:49 PM To: Burakov, Anatoly; dev at dpdk.org Subject: ???[dpdk-dev] [PATCH] eal: map uio resources after hugepages when the base_virtaddr is configured. ? I think the base_virtadd will be carefully selected by

[dpdk-dev] 答复: [PATCH] eal: map uio resources after hugepages when the base_virtaddr is configured.

2014-11-05 Thread XU Liang
I think the base_virtadd will be carefully selected by user when they need it. So maybe it's not a real problem. ?:>The real reason is I can't find a easy way to get the end address of hugepages. Can you give me some?suggestions ?--

[dpdk-dev] [PATCH] eal: map uio resources after hugepages when --base_virtaddr is configured

2014-11-05 Thread XU Liang
When start a secondary process, we got error message "EAL: pci_map_resource(): cannot mmap(11, 0x77fba000, 0x2, 0x0): Bad file descriptor (0x77fb9000)" The secondary process link difference shared libraries, so the 0x77fba000 is used. We know the --base_virtaddr is designed f