aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libtle_l4p/udp_rxtx.c
AgeCommit message (Collapse)AuthorFilesLines
2021-04-28bump dpdk version to 20.05Konstantin Ananyev1-9/+9
Bump dpdk version to 20.05 and adjust tldk source. Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Change-Id: Id2ce864ad20b3b347f1ac05cd67c15384e454c52
2019-07-02l4p/udp: enqueue fragmented packets as a wholeJielong Zhou1-4/+7
Send or discard fragments of single IP/UDP packet as a whole, because part of fragments could not be reassembled. Also avoid mbuf leak, for former version would never free part of segments which are not sended. Change-Id: I8cd13e60ced973a8f5d7d24369c3cbee64a38836 Signed-off-by: Jielong Zhou <jielong.zjl@antfin.com>
2019-07-01l4p: refactor rx checksum checkJianfeng Tan1-13/+5
For rx checksum check, we put HW and SW ways into one function, with some code clean up. As now we do have CKSUM_UNKNOWN, no need to have dev->rx.ol_flags at all. Change-Id: Ied77e63e1ec6f5569d16d4ba666fcc968479197d Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com> Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2019-05-23l4p/udp: fix errno not setJianfeng Tan1-2/+7
Return EAGAIN as errno properly. Change-Id: I056e34e6eca4955e1938bd00d86965236eef55fd Signed-off-by: Jian Zhang <wuzai.zj@antfin.com> Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com>
2017-05-15Added rte_ring wrapper functions to support dpdk-17.05 and older versionMohammad Abdul Awal1-5/+5
Change-Id: I5cfcff8be275ab2a2fb4ad6a62777a8cb88f425b Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2017-02-24Introduce first version of TCP code.Konstantin Ananyev1-0/+646
Supported functionality: - open/close - listen/accept/connect - send/recv In order to achieve that libtle_udp library was reworked into libtle_l4p library that supports both TCP and UDP protocols. New libtle_timer library was introduced (thanks to Cisco guys and Dave Barach <dbarach@cisco.com> for sharing their timer code with us). Sample application was also reworked significantly to support both TCP and UDP traffic handling. New UT were introduced. Change-Id: I806b05011f521e89b58db403cfdd484a37beb775 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com> Signed-off-by: Karol Latecki <karolx.latecki@intel.com> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>