55 Commits

Author SHA1 Message Date
kircher
b2bd0edf4d sync when send ring full whether dynamic alloc mbuf is configurable reduce cpu usage when send ring full
(cherry picked from commit 5a537139b004e90b498aeb3ecb215b95152e1e1d)
2023-03-13 09:56:06 +08:00
wu-changsheng
bc4beb7307 sync reduce duplicate code in lstack_cfg.c
(cherry picked from commit 1c3e7bea539983b6695b2f1d248ff9231543e5d6)
2023-02-27 16:08:54 +08:00
kircher
420e0c28b9 sync eneble TSO and fix TSO mbuf pktlen error
(cherry picked from commit f4be6e440078fcc208b0d43901f4e685a450351f)
2023-02-22 16:34:12 +08:00
jiangheng12
116dec1726 sync change mbuf_pool_size in lstack.conf to tcp_conn_count * mbuf_count_per_conn
(cherry picked from commit 864d7a91ae0e7d6b9ac47e724e89c5696c949b3d)
2023-02-13 22:02:06 +08:00
jiangheng12
c264ba7084 sync add gazelle setup tools
(cherry picked from commit d5600729e92b96d09aa3fbc8c32614f60cee444c)
2023-02-13 19:48:46 +08:00
kircher
cd3ce12033 sync add gazelle fuzz
(cherry picked from commit 62565e38494c60a0b213afa927b731dbcd4ea7e2)
2023-02-01 09:44:32 +08:00
kircher
b9c4c27a95 sync add ret check in pthread_create and fix example bug
(cherry picked from commit 57fe7255c242950fca7f133698be306e6c4cf5d4)
2023-01-16 17:19:36 +08:00
kircher
867d8d1200 sync add the suggestion of using the -u parameter when the connection to unix socket fails
(cherry picked from commit 261b5d0aeb89d03b839d97d26d7741d6b5ff5955)
2023-01-09 09:13:44 +08:00
wu-changsheng
a4c1d9e62a revert expand recv data buff
(cherry picked from commit c756a6e9114115a12f073820e906b6e9277f30dd)
2022-12-30 16:32:13 +08:00
wu-changsheng
7c4b060469 reduce epoll wakeup
(cherry picked from commit f0f30a35e2424e51e97c70b979f4022f1859b51a)
2022-12-28 20:21:04 +08:00
kircher
51adef16b6 sync fix null pointer deref in stack_broadcast_close
(cherry picked from commit 45eeca7192120cd390ccdb9873a93c0eb231fd9e)
2022-12-23 17:22:32 +08:00
wu-changsheng
df81b99ca2 free-recv-pkts-bluks 2022-12-22 23:35:32 +08:00
wu-changsheng
cfe33f413c add mempool dfx info and write without epoll/poll 2022-12-21 23:21:32 +08:00
wu-changsheng
8375fc4e6a expand-data-recv-buff 2022-12-20 15:58:44 +08:00
wu-changsheng
70f3e88def pkts-bulk-send-to-nic and rpc-dont-send 2022-12-18 20:25:34 +08:00
jiangheng
32eb4a9e00 remove mbuf reserve in mbuf alloc 2022-12-17 20:55:56 +08:00
jiangheng
8aedfedc58 stack thread params set dafault value
optimite net type
app bind numa when epoll/poll create

(cherry picked from commit 43355a9c7d9f9b47ca376db18125b58fe58ddb37)
2022-12-17 16:56:04 +08:00
kircher
957e09a45b sync add RXTX_NB_MBUF_MAX to limit mbuf_pool_size to its range
(cherry picked from commit e9bcfb02add587ca909571c8c4eeb5233dbd00b8)
2022-12-17 16:46:24 +08:00
kircher
6d4d8eb40c sync move select_thread_path after posix_api_init
(cherry picked from commit 1a84e349a49e300499c8c7a4d5ae9a9eb7c5b265)
2022-12-16 19:25:07 +08:00
jiangheng
05bbf87a22 ltran rxtx mbuf pool size config by conf 2022-12-15 19:48:28 +08:00
jiangheng
2166c39d57 stack thread params config by lstack.conf 2022-12-15 18:58:43 +08:00
jiangheng
2e1e64de24 fix kernel event thread bind numa failed
(cherry picked from commit ef779ce838f94bca9445061e3be4038d8ca75dd1)
2022-12-14 11:58:25 +08:00
wu-changsheng
7a3f000c0c dfx add windows info and rxtx mbuf pool config by conf 2022-12-13 22:59:31 +08:00
kircher
0f3ddc6a5a add pdump support in ltran
(cherry picked from commit 6592104a013671cba0a187d2b8911db7e3cc480d)
2022-12-12 17:27:50 +08:00
wu-changsheng
d77a03afb5 optimize-app-thread-write-buff-block 2022-12-03 23:06:42 +08:00
sunsuwan
b391a28d86 fix epoll_wait report events 0 2022-12-02 11:40:31 +08:00
compile_success
2d9013188a sync add malloc init zero
(cherry picked from commit d8048c32e938d40eaa9912f4b620b1dfc3002bbf)
2022-12-02 09:14:53 +08:00
compile_success
03ae389827 sync fix write event error
(cherry picked from commit 0d7f7b3a85fc72d7e43782ec5ce7c6dae602b58b)
2022-11-29 11:40:47 +08:00
kircher
334988ba37 modify duplicate code
(cherry picked from commit 9c3e1e87c333b16fb392fb760f0b4d5156ff137d)
2022-11-16 23:33:18 +08:00
kircher
0fc1ee0051 fix pdump and mutil NIC init fail
(cherry picked from commit 534076dac60acff14b4f1e9fd68418b6c3702406)
2022-11-15 17:45:35 +08:00
wu-changsheng
2047182882 add muti nic and fix bugs 2022-11-14 11:31:54 +08:00
kircher
589b0d5ccc sync add pdump support in lstack
(cherry picked from commit 739c4202c61457ed6811f53a923d8959f8539144)
2022-11-08 16:10:46 +08:00
wu-changsheng
6b77c8e376 resolve the conflict between the eth_dev_ops variable and the dpdk-19.11 2022-11-07 15:41:19 +08:00
kircher
2c01bc3506 sync add-kni-local-support-in-lstack
(cherry picked from commit 510374482844b1610bd9735431d32713f14962bd)
2022-11-05 16:35:22 +08:00
wu-changsheng
6bd2035636 add gro 2022-11-02 11:26:52 +08:00
wu-changsheng
721b8f6a95 adapt ceph client 2022-10-20 15:17:22 +08:00
wu-changsheng
4cfcb245b8 backpot bugfix and doc 2022-09-06 10:42:58 +08:00
wu-changsheng
01e267baa2 Unified license name specification 2022-08-09 17:34:03 +08:00
wu-changsheng
a040edb9e9 ltran-support-muti-proc-with-same-ip 2022-08-02 11:29:32 +08:00
wu-changsheng
34c8e40457 support epoll oneshot 2022-07-26 22:13:34 +08:00
xiusailong
9c39338520 backport upstream patches from repository 2022-07-25 20:28:03 +08:00
jiangheng
aa100fb8ca modify eth_dev_ops to lstack_eth_dev_ops
adapt dpdk19.11
2022-07-08 18:50:52 +08:00
jiangheng14
4329a22ef9 backport upstream patches:
update README
    fix some bugs
    refactor pkt read send to improve performance
    refactor kernle event toimproveperformance
2022-07-07 23:40:36 +08:00
wangzhiqiang
f9704fdf84 modify the required dpdk version number 2022-07-07 14:13:25 +08:00
chengyechun
7147290a62 adapt to gazelle 2022-06-16 09:15:41 +08:00
xiusailong
1555eccea0 update license lockless queue
(cherry picked from commit 4cda388405e6da8e32ba83db2c84ace79a63f351)
2022-05-27 15:44:01 +08:00
xiusailong
ea591e975a update README.md
(cherry picked from commit b8df16d2a3bf89ace07c3a664d24ac98c7ebf35d)
2022-05-27 09:31:28 +08:00
jiangheng
30e91dd6de add gazelle.yaml 2022-04-01 11:37:00 +08:00
jiangheng
c3230e3786 refactor event
(cherry picked from commit 318eb1a6b93f850213a48422c1f0423715b6d41f)
2022-03-31 14:16:11 +08:00
jiangheng
c72f83d201 fix redis get key command block 2022-03-18 15:18:23 +08:00