summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-09-09makefile: allow using DPDK from git and OS distributionsMohammad Abdul Awal7-286/+386
User can use DPDK_VERSION to download a specific DPDK version from git. If no DPDK_VERSION is given, the master branch will be downloaded. User can also provide RTE_SDK path for DPDK from OS disctibution or any other location. Change-Id: I7bbc30984cfc48c70d13b51d8fb6c1928d94a821 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2016-09-09added Python script to generate streams for fe.cfg fileMohammad Abdul Awal1-0/+199
This script allows to generate streams for frontend config file with different parameters, including, number of streams, ipv4/ipv6 port in decimal or hex, FE/BE on same lcore or separate lcore etc. Change-Id: I8a7e0137ef62363b272756ed4b8811804d4f9ec4 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2016-09-06Initial working version of RSSMohammad Abdul Awal9-316/+768
The patch enables RSS support for TLDK udpfwd application. The number of rx queues and tx queues are equal to the number of lcore enabled for backend operation. NICs calculate the RSS hash based on the UDP dest port only. The RSS hash key is calculated at runtime based on the number of queues enebaled. Change-Id: I06006a4606f8faad8f16241348b2ce19b70335e5 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2016-07-29Merge "udpfwd: allow BE and FE run over same core"Konstantin Ananyev2-78/+157
2016-07-29udpfwd: allow BE and FE run over same coreKonstantin Ananyev2-78/+157
Change-Id: Id0d3aa20bf10735dca00a1e16b0dcc0ba9642140 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-07-29udpfwd: avoid loads blocked by stores while updating mbuf tx_offloadKonstantin Ananyev1-3/+9
Change-Id: Id0b6e2cf176493188f6628f92700a3095ab6af85 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-07-19fix segfault on input packets with invalid checksumKonstantin Ananyev2-15/+39
libtle_udp: prevent receive code-path to reference packets that were already freed. udpfwd: if input device doesn't support IPV4 checksum offload, we need to recalculate IPV4 header checksum of the reassembled packet. fixes 3395610ea65d ("Initial commit of tldk code"). fixes 8efc4c11464f ("Change libtle_udp to use dring"). Change-Id: I77523b1ba63b0f8d25d5f0b3bc777a338ad8acf5 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-07-07Update README to sync with latest changesKonstantin Ananyev1-5/+9
Change-Id: Ib9238612706f963b9581f98c4b2592e3c0d55cd0 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-07-07Change libtle_udp to use dring.Konstantin Ananyev10-507/+243
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>
2016-07-07initial tle_dring implementationKonstantin Ananyev8-0/+1207
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>
2016-07-07Introduce extra layer of hierarchy to the makefiles.Konstantin Ananyev4-2/+85
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>
2016-06-28libtle_udp: add missing license header for udp_rxtx.cKonstantin Ananyev1-0/+14
Change-Id: If31a72e07ffe4947297c722ce5624ea8ed5f101f Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-06-27Merge "Adding a .gitignore"Konstantin Ananyev1-0/+4
2016-06-21Fixed reallocated memory initialisation bugMohammad Abdul Awal1-0/+2
Change-Id: I8db6fe42303022c5ee3326892a4670f8445c27ed Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2016-06-07Adding a .gitignoreEd Warnicke1-0/+4
Change-Id: Iee1d670f0132d1cce7369377c7b2e2f808c8a9df Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-07Merge "Add vagrant/ support"Konstantin Ananyev3-0/+157
2016-06-07Adding .gitreview fileEd Warnicke1-0/+4
Change-Id: I5f2cc522d781bbc1ae9a74d16eaf194d05721247 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-07Add vagrant/ supportEd Warnicke3-0/+157
Change-Id: I1ca9900d487b96e86a64a817abea7bec1154feff Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-06-07Initial commit of tldk code.Konstantin Ananyev26-0/+7186
Change-Id: Ib96fdd2c57bae0a51ed420137c35eb8e2ee58473 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-19Initial empty repositoryC.J. Collier0-0/+0