Re: [dpdk-dev] [PATCH] eal/common: better likely() and unlikely()

2017-11-20 Thread Jim Thompson
> On Nov 20, 2017, at 7:36 AM, Wiles, Keith wrote: > >> On Nov 19, 2017, at 4:16 PM, Aleksey Baulin wrote: >> >> #ifndef unlikely >> -#define unlikely(x) __builtin_expect((x),0) >> +#define unlikely(x) __builtin_expect(!!(x), 0) > > I have not looked at the generated code, but does this add

Re: [dpdk-dev] KNI module on FreeBSD

2017-09-23 Thread Jim Thompson
KNI isn’t supported on FreeBSD. > On Sep 23, 2017, at 1:42 PM, Mostafa Salari wrote: > > Hi, > I can't make my DPDK application on FreeBSD, and i give the following error >fatal error: rte_kni.h: No such file or directory >#include > In, ubuntu and debian, I load rte_kni.ko bef

Re: [dpdk-dev] About the shared flock for hugepage files

2017-09-11 Thread Jim Thompson
Bakari, This is so you can have > 1 DPDK application on a machine and they won't use each other's hugepages. See, for example the comments in clear_hugedir() http://dpdk.org/browse/dpdk/tree/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c#n198 Jim > On Sep 11, 2017, at 9:16 PM, 白长敏 <912873..

Re: [dpdk-dev] Raspberry Pi

2017-06-30 Thread Jim Thompson
Michael, There is no PMD for RPi, so you'll have to run AF_PACKET (librte_pmd_packet) or simila via tap interfacesr. DPDK-IN-A-BOX is designed (by Dave Hunt at Intel) to provide an easy startup and introduction to DPDK. https://dpdksummit.com/Archive/pdf/2016USA/Day02-Session16-DaveHunt-DPDKU

[dpdk-dev] [PATCH 1/3] kcp: add kernel control path kernel module

2016-03-02 Thread Jim Thompson
> On Mar 2, 2016, at 6:03 AM, Vincent JARDIN > wrote: > > Le 02/03/2016 11:51, Jim Thompson a ?crit : >> Can we take it as a requirement to support FreeBSD this time around? > > Of course, all OS should be on the loop, but I guess, it would be per kernel > s

[dpdk-dev] [PATCH 1/3] kcp: add kernel control path kernel module

2016-03-02 Thread Jim Thompson
> On Mar 2, 2016, at 4:47 AM, Vincent JARDIN > wrote: > > Le 02/03/2016 09:27, Panu Matilainen a ?crit : I'd like to see these be merged. Jay >>> >>> The code is really not ready. I am okay with cooperative development >>> but the current code needs to go into a staging type tr

[dpdk-dev] DPDK on Xeon Phi Processors

2016-01-08 Thread Jim Thompson
AVX-512 in Xeon Phi Knights Landing and Skylake Xeon seems ideal for Hyperscan. -- Jim > On Jan 7, 2016, at 10:37 PM, Padam Jeet Singh > wrote: > > Hi, > > I was reading up on the Xeon Phi processors - up to 61 cores?.. looks very > interesting. Has anyone tried offloading packet processing

[dpdk-dev] GPL/LGPL .vs BSD license

2015-09-27 Thread Jim Thompson
The following files have LGPL or GPL licenses. I can see the libretto_eal and the four files that are part of DTS being GPL, but there others seem like a mistake. Especially the docs, and the presence of the LICENSE.LGPL file. Is it possible to clean these up and make them BSD licensed? Jim

[dpdk-dev] Broken RSS hash computation on Intel 82574L

2015-09-01 Thread Jim Thompson
> On Sep 1, 2015, at 9:47 AM, Matthew Hall wrote: > > On Tue, Sep 01, 2015 at 04:37:18PM +0200, Martin Dra?ar wrote: >> Dne 1.9.2015 v 15:45 De Lara Guarch, Pablo napsal(a): >>> 82574L NIC uses em PMD, which does not support more than 1 queue. >>> Therefore RSS is disabled in the NIC and then yo

[dpdk-dev] GitHub sandbox for the DPDK community

2015-05-04 Thread Jim Thompson
> On May 4, 2015, at 10:12 PM, Wiles, Keith wrote: > > > > On 5/4/15, 10:48 AM, "Matthew Hall" wrote: > >> On Mon, May 04, 2015 at 12:43:48PM +, Qiu, Michael wrote: >>> What mail client do you use? I think mail client supporting thread mode >>> is important for patch review. >> >> Like

[dpdk-dev] Beyond DPDK 2.0

2015-04-26 Thread Jim Thompson
> On Apr 26, 2015, at 4:56 PM, Neil Horman wrote: > > On Sat, Apr 25, 2015 at 04:08:23PM +, Wiles, Keith wrote: >> >> >> On 4/25/15, 8:30 AM, "Marc Sune" wrote: >> >>> >>> >>> On 24/04/15 19:51, Matthew Hall wrote: On Fri, Apr 24, 2015 at 12:39:47PM -0500, Jay Rolette wrote: >

[dpdk-dev] tools brainstorming

2015-03-23 Thread Jim Thompson
> On Mar 23, 2015, at 12:44 PM, Neil Horman wrote: > > On Mon, Mar 23, 2015 at 11:22:43AM -0500, Jim Thompson wrote: >> >> >>> On Mar 20, 2015, at 10:16 AM, Neil Horman wrote: >>> >>> The kernel does this with some special make targ

[dpdk-dev] tools brainstorming

2015-03-23 Thread Jim Thompson
> On Mar 20, 2015, at 10:16 AM, Neil Horman wrote: > > The kernel does this with some special make targets (make allyesconfig, make > randconfig, etc) Not all the world is Linux.

[dpdk-dev] [PATCH 4/4] lib/librte_eal: Optimized memcpy in arch/x86/rte_memcpy.h for both SSE and AVX platforms

2015-01-25 Thread Jim Thompson
> On Jan 20, 2015, at 11:15 AM, Stephen Hemminger networkplumber.org> wrote: > > On Mon, 19 Jan 2015 09:53:34 +0800 > zhihong.wang at intel.com wrote: > >> Main code changes: >> >> 1. Differentiate architectural features based on CPU flags >> >>a. Implement separated move functions for

[dpdk-dev] [PATCH 0/4] DPDK memcpy optimization

2015-01-21 Thread Jim Thompson
I?m not as concerned with compile times given the potential performance boost. A long time ago (mid-80s) I was at Convex, and wanted to do a vector bcopy(), because it would make the I/O system (mostly disk then (*)) go faster. The architect explained to me that the vector registers were for app

[dpdk-dev] [PATCH v2 17/17] libte_acl: remove unused macros.

2015-01-20 Thread Jim Thompson
> On Jan 20, 2015, at 4:09 AM, Ananyev, Konstantin intel.com> wrote: > > Hi Thomas, > >> -Original Message- >> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] >> Sent: Monday, January 19, 2015 5:18 PM >> To: Ananyev, Konstantin >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-de

[dpdk-dev] Symmetric RSS Hashing in DPDK

2014-12-18 Thread Jim Thompson
The issues are outlined in this paper: http://www.ndsl.kaist.edu/~shinae/papers/TR-symRSS.pdf > On Dec 17, 2014, at 7:28 PM, Kamraan Nasim > wrote: > > Hi DPDK community, > > Any better RSS hash keys out there? > > --Kam > > On Wed, Dec 17, 2014 at 2:12 PM, Kamraan Nasim sidebandnetworks.

[dpdk-dev] TCP/IP stack for DPDK

2014-09-09 Thread Jim Thompson
Then you don?t understand licensing. the GPL has a requirement that you make one of two offers: The fourth section for version 2 of the license and the seventh section of version 3 require that programs distributed as pre-compiled binaries are accompanied by a copy of the source code, or a wri

[dpdk-dev] [PATCH 03/13] mbuf: add packet_type field

2014-09-09 Thread Jim Thompson
> On Sep 8, 2014, at 4:17 AM, Olivier MATZ wrote: > > Hi Yerden, > > On 09/08/2014 12:33 PM, Yerden Zhumabekov wrote: >> 08.09.2014 16:17, Olivier MATZ ?: --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -146,7 +146,7 @@ struct rte_mbuf { uint32_t

[dpdk-dev] TCP/IP stack for DPDK

2014-09-09 Thread Jim Thompson
> On Sep 9, 2014, at 5:16 AM, Alexander Nasonov wrote: > > Matthew Hall wrote: >> However despite this issue, there are some cases where the Linux stack is >> greatly superior to the BSD one although normally the opposite is the >> case... >> AF_NETLINK for configuring 10,000+ IP addresses, e

[dpdk-dev] TCP/IP stack for DPDK

2014-09-08 Thread Jim Thompson
> On Sep 8, 2014, at 11:20 PM, Matthew Hall wrote: > > On Tue, Sep 09, 2014 at 08:49:44AM +0800, zimeiw wrote: >> I have porting major FreeBSD tcp/ip stack to dpdk. new tcp/ip stack is based >> on dpdk rte_mbuf, rte_ring, rte_memory and rte_table. it is faster to >> forwarding packets. > > He