tldk.git
7 years agoChange libtle_udp to use dring. 10/1910/2
Konstantin Ananyev [Thu, 7 Jul 2016 19:24:24 +0000 (20:24 +0100)]
Change libtle_udp to use dring.

Right now didn't see any noticeable performance boost with these changes.
Though it allowed to get rid of using locks at UDP TX code-path
and simplify the code quite a lot.

Change-Id: If865abd3db9127f510df670d9a8edb168b915770
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
7 years agoinitial tle_dring implementation 09/1909/2
Konstantin Ananyev [Thu, 7 Jul 2016 18:22:38 +0000 (19:22 +0100)]
initial tle_dring implementation

The Dynamic Ring (dring) is a implementation of unbounded FIFO queue,
that supports lockless bulk enqueue/dequeue for multiple producers/consumers.
Internally it contains producer/consumer head/tail indexes
(same as DPDK rte_ring), plus linked list of Dynamic Ring Blocks (drb)s.
Each drb contains some metadata plus array of pointers to queued objects.
It is a caller responsibility to provide sufficient number of drbs for
enqueue operation, and manage unused drbs returned by dequeue operation.
dring features:
- FIFO (First In First Out)
- Lockless implementation.
- Multi- or single-consumer dequeue.
- Multi- or single-producer enqueue.
- Bulk dequeue.
- Bulk enqueue.

Change-Id: I3621c99c6b114a387036a397e79baa8d1588bdb5
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
7 years agoIntroduce extra layer of hierarchy to the makefiles. 08/1908/1
Konstantin Ananyev [Thu, 7 Jul 2016 18:13:25 +0000 (19:13 +0100)]
Introduce extra layer of hierarchy to the makefiles.

Now each subdir in the TLDK_ROOT has it's own Makefile.
In preparation for further project expansion.

Change-Id: I80560680a8538734986941e8df343c5393c621cc
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
7 years agolibtle_udp: add missing license header for udp_rxtx.c 92/1792/1
Konstantin Ananyev [Tue, 28 Jun 2016 16:53:53 +0000 (17:53 +0100)]
libtle_udp: add missing license header for udp_rxtx.c

Change-Id: If31a72e07ffe4947297c722ce5624ea8ed5f101f
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
7 years agoMerge "Adding a .gitignore"
Konstantin Ananyev [Mon, 27 Jun 2016 13:52:34 +0000 (13:52 +0000)]
Merge "Adding a .gitignore"

7 years agoFixed reallocated memory initialisation bug 84/1684/2
Mohammad Abdul Awal [Tue, 21 Jun 2016 09:56:55 +0000 (10:56 +0100)]
Fixed reallocated memory initialisation bug

Change-Id: I8db6fe42303022c5ee3326892a4670f8445c27ed
Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
7 years agoAdding a .gitignore 96/1396/5
Ed Warnicke [Fri, 3 Jun 2016 21:38:26 +0000 (14:38 -0700)]
Adding a .gitignore

Change-Id: Iee1d670f0132d1cce7369377c7b2e2f808c8a9df
Signed-off-by: Ed Warnicke <eaw@cisco.com>
7 years agoMerge "Add vagrant/ support"
Konstantin Ananyev [Tue, 7 Jun 2016 15:26:40 +0000 (15:26 +0000)]
Merge "Add vagrant/ support"

7 years agoAdding .gitreview file 90/1390/2
Ed Warnicke [Fri, 3 Jun 2016 16:49:43 +0000 (11:49 -0500)]
Adding .gitreview file

Change-Id: I5f2cc522d781bbc1ae9a74d16eaf194d05721247
Signed-off-by: Ed Warnicke <eaw@cisco.com>
7 years agoAdd vagrant/ support 97/1397/3
Ed Warnicke [Fri, 3 Jun 2016 21:40:05 +0000 (14:40 -0700)]
Add vagrant/ support

Change-Id: I1ca9900d487b96e86a64a817abea7bec1154feff
Signed-off-by: Ed Warnicke <eaw@cisco.com>
7 years agoInitial commit of tldk code. 89/1389/3
Konstantin Ananyev [Fri, 3 Jun 2016 15:43:13 +0000 (16:43 +0100)]
Initial commit of tldk code.

Change-Id: Ib96fdd2c57bae0a51ed420137c35eb8e2ee58473
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoInitial empty repository
C.J. Collier [Thu, 19 May 2016 07:49:37 +0000 (07:49 +0000)]
Initial empty repository