aboutsummaryrefslogtreecommitdiffstats
path: root/examples/udpfwd/main.c
AgeCommit message (Collapse)AuthorFilesLines
2016-10-19example/udpfw: assign queue id after mac info in ports initializedMohammad Abdul Awal1-44/+19
fixes 8ae38dfb285a ("Initial working version of RSS"). Change-Id: I4c4e79c6f23a39b44f3a3f609d1bee540df6aa54 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2016-09-16allocated all port and all cpu momory together instead of reallocMohammad Abdul Awal1-4/+11
Change-Id: I3240e6afefb5d784e08e3a5a1b70ada7d5b4b223 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2016-09-15udpfw: dynamic allocation of netbe_* structuresMohammad Abdul Awal1-4/+30
This patch allows dynamic allocation of memory for the appliation. The solves the problem of allocating large amount of static memory which caused accessing the momory locations outside of 32-bit address-space duing compile-time. Change-Id: If8031ba846e4ed339d8ce8ebe4fd69325f098d17 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2016-09-13add list of blocked ports for IPv6Mohammad Abdul Awal1-6/+8
Change-Id: Iefc866e71e887fe23ff9473b23577b6e576f18b1 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2016-09-09makefile: allow using DPDK from git and OS distributionsMohammad Abdul Awal1-143/+6
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-06Initial working version of RSSMohammad Abdul Awal1-279/+645
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-29udpfwd: allow BE and FE run over same coreKonstantin Ananyev1-78/+150
Change-Id: Id0d3aa20bf10735dca00a1e16b0dcc0ba9642140 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-07-07Change libtle_udp to use dring.Konstantin Ananyev1-2/+15
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-06-07Initial commit of tldk code.Konstantin Ananyev1-0/+1810
Change-Id: Ib96fdd2c57bae0a51ed420137c35eb8e2ee58473 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Signed-off-by: Ed Warnicke <eaw@cisco.com>