125 Commits

Author SHA1 Message Date
yinbin6
c3bd1cf309 sync epoll: remove unnecessary judgment code
(cherry picked from commit 446e21a65aa957c0ca9463a0307754c03dd14a95)
2024-10-23 11:31:42 +08:00
yangchen
a548cf32bd fix the coredump when gazellectl -l
(cherry picked from commit 07e67a4cfebca73930af8bfbee124bedd2eac084)
2024-10-16 11:20:29 +08:00
jiangheng
507c0d1518 sync fix dpdk_nic_is_xdp coredump in ltran mode
(cherry picked from commit 96d4515aa1372b89ecafed66af1a90dc671168a8)
2024-10-10 18:14:03 +08:00
jiangheng
d7350e2c58 sync xdp: skip checksum temporarily due to kernel cannot transfer offloads
(cherry picked from commit 996cf5f41a819080acac54ec2426191592f5f5dd)
2024-10-10 14:36:57 +08:00
jiangheng
395f7f853c sync bugfix: fix gazelle init failed while setup by non-root user
(cherry picked from commit 08b6e3bf3ae67ee873809271b199353e4be3aee2)
2024-10-09 14:15:46 +08:00
jiangheng
99a834ee95 sync af_xdp: set rlimit unlimit when gazelle init
(cherry picked from commit 3d3a36ef0ac3f8d75b2cd95c60428d0c7fc1c403)
2024-10-09 10:42:23 +08:00
jiangheng
2b9a1517d6 sync Fill in a portion of mbuf to send_ring, when mbuf is insufficient.
(cherry picked from commit f46f3a984c2578f4a7d897785f887cf99d9cc949)
2024-09-30 16:54:07 +08:00
jiangheng
55ce8e098b sync cleancode: declare different cfg_params types
(cherry picked from commit a90b70e9699c3082533da0812da33a4fdf485e32)
2024-09-30 10:34:15 +08:00
jiangheng
ff350bb014 sync LOG:add log when udp send_ring is exhausted
(cherry picked from commit ccbc14d495c3ae1bd975de3132cdf690a5f99b3d)
2024-09-30 09:53:34 +08:00
yinbin6
8b8aae3001 sync WRAP: support setsockopt SO_SNDTIMEO SO_SNBUF
(cherry picked from commit f88463a5edcf18e29ed97ef02db16cb62f9531e4)
2024-09-27 17:30:13 +08:00
yinbin6
3adf34e933 sync example: solve double free
(cherry picked from commit 00916115b89349c91a13bb082b8cdb982fc6e315)
2024-09-20 14:55:45 +08:00
yinbin6
2e3e9abb9a sync fix: when errno is ENOTCONN, ignore it
(cherry picked from commit 2e50eb9f8fd7da42afab03fb96e18fe9207fb605)
2024-09-13 17:27:40 +08:00
yinbin6
25cb94a618 sync epoll: fix wild pointer detected by cooddy
(cherry picked from commit acc62d706b14666393c15053c53aec975c214dce)
2024-09-03 22:33:15 +08:00
laokz
c2b70105f5 add riscv64 to %ExclusiveArch
(cherry picked from commit 779c1c5849d5d7816b78b04a49baf4cc05df1fc8)
2024-08-30 16:55:54 +08:00
yinbin
ea6272b07f CMAKE: fix ltran build error in 2403
(cherry picked from commit 9c33bd4b74b7efd66fa0fd06d11f7924127021c3)
2024-08-26 17:57:00 +08:00
yinbin6
8def70262a sync virtio: solve compilation error in 2003sp3
(cherry picked from commit 3cb696fd4a62cdcce26b465c8d911d3a838d3ebf)
2024-08-26 15:58:35 +08:00
yinbin
05f9f44699 2003sp4: sync pr 2024-08-20 15:54:52 +08:00
yinbin6
e275638220 sync virtio_user: modify mbuf index for bond4
(cherry picked from commit 30bca66e1a35ac0a0726b864e3a6665f1f3d122a)
2024-08-20 11:09:10 +08:00
yangchen555
d147d51dd3 sync vitio_user: modify mbuf index for bond4
(cherry picked from commit 068689dc9837d52525fb19a1639e9af745e64c6a)
2024-08-20 10:53:34 +08:00
yinbin6
7b48a4cd22 sync cleancode: refactor sys_now and lwip_ioctl
(cherry picked from commit 70e830bfafc64b7d2764ab0b54c3f75c5db92853)
2024-08-13 10:57:43 +08:00
yinbin6
b20d0043e4 sync cleancode: rename gazelle files in lwip
(cherry picked from commit bda9661a9cf7201e26dbc5dd31ed812409872460)
2024-07-31 14:29:09 +08:00
yinbin6
f1fcf8bb2c example: sync example update
(cherry picked from commit c3bd24ca763996b57796c65ba018ce285e67f6e6)
2024-07-17 10:20:10 +08:00
yinbin6
5da133b711 sync patch
(cherry picked from commit 0fd2caba5ff66e9305757e62eb1dc98349e777fd)
2024-07-10 11:03:44 +08:00
yinbin6
e993d13da7 sync fix function call error
(cherry picked from commit de948320ba08ed46e8bbbe80d4aca5555ef32f0e)
2024-06-26 10:54:59 +08:00
yinbin6
76f43b9e76 fix changelog version incorrect
(cherry picked from commit 6654f93d83153dc8955f287159566aacb9ac663b)
2024-06-25 19:26:06 +08:00
yinbin6
c488fd6f0d sync solve compile err in 20.03
(cherry picked from commit 6b3d9cd590497ddec11719b6300fbe2d5e1d10c8)
2024-06-25 15:37:36 +08:00
jiangheng
ca91ddd402 refactor udp send 2024-06-25 15:23:26 +08:00
yinbin6
22d25d4791 sync virtio create and init virtio port 2024-06-25 14:45:00 +08:00
yinbin6
0b9b757e78 sync [virtio]: create and init virtio_port 2024-06-25 09:09:55 +08:00
yinbin6
92a9ec2940 sync cfg: remove map-perfect flag in lstack.conf
(cherry picked from commit 19a71c454593b7ade7a25448d85274e428c65ad4)
2024-06-24 22:08:24 +08:00
yinbin6
b9b61190b8 make-rpc_msg_max-recv_ring_size-configurable
(cherry picked from commit 6fb4a1e35bbe0b316cbce7480c02a79f8f15e73b)
2024-06-24 22:07:04 +08:00
yinbin6
dd84ae1d46 sync bond:remove bond initialization code in dpdk_ethdev_init
(cherry picked from commit b6fad654314efc55a7875445fb5eee27d5a89d3f)
2024-06-24 22:04:33 +08:00
jiangheng
6e02fd2ad8 sync from 2003sp1 2024-06-17 21:37:54 +08:00
yinbin
24c1d2bd11 sync upstream patch 2023-12-12 19:37:52 +08:00
yinbin
7bd7f56afe sync support vlan offload
(cherry picked from commit 6a6a7340497bb871db688bc401e4ecb97339dc06)
2023-12-12 19:20:34 +08:00
yinbin
523e9e3cfd sync ipv6
(cherry picked from commit 4662eaed3baa88a8b608912845a689e45b65e39a)
2023-12-12 19:18:24 +08:00
yinbin
a6d2e72c8d sync wrap: dont hijack select temporarily
(cherry picked from commit 40356a69c0055459764a33f09980625d991a95e2)
2023-11-18 19:23:16 +08:00
yinbin
7ea83c6f78 sync enable ipv6
(cherry picked from commit 4f1c20e2de1b0cbc6e6d7aafef68c9a3e5d54760)
2023-11-18 18:22:32 +08:00
yinbin
eee33c74e7 sync modif mem
(cherry picked from commit 49814db46179f7757a09ab5c4a7721a78ec67021)
2023-11-18 17:49:22 +08:00
hantwofish
c28677471d sync solve problem that rte_pktmbuf_poll_creat in same numa .
(cherry picked from commit f9784aa3960e2a2fbb560a9d8e9d896b2848f8c4)
2023-11-18 15:23:07 +08:00
yinbin
4263702abf sync cfg: fix bond_mode null
(cherry picked from commit 590eafb17075c0e0c89b9351f37dcaedc4d5d0de)
2023-11-04 19:45:46 +08:00
yinbin
895292baa6 sync bond6
(cherry picked from commit 29f0d32a1ecb0cd756ae9206930ec9af571d3d11)
2023-11-04 18:32:20 +08:00
jiangheng
af839c2f95 sync init: stack setup in app thread when app call socket/epoll_create first in rtc mode
(cherry picked from commit 9e767dcd8b03ad4be93593b474bbc7153c2923b3)
2023-11-04 18:30:54 +08:00
yinbin
e673769725 sync cfg: add run-to-completion mode configure 2023-11-04 16:59:31 +08:00
lyn1001
a00da66103 Adapt dpdk fallback 2023-11-03 10:23:14 +08:00
yinbin
895f462efd update lwip version buildrequire 2023-10-26 11:16:03 +08:00
yinbin
b767ba693a sync lstack_lwip: external api start with do_lwip_ prefix
(cherry picked from commit fced7c3dbc735a7f993d867c7557145c75b65573)
2023-10-25 16:33:19 +08:00
yinbin
661e8c7a8a sync kernelevent: kernel event thread report kernel events to app thread directly without passing through lstack thread 2023-10-24 17:13:21 +08:00
jiangheng12
58b1d32290 sync add lstack_preload.c to makefile fix compile failure
(cherry picked from commit c2dbec5c1167505f5458dc9070b2700882e23583)
2023-09-26 21:55:08 +08:00
chengyechun
f46b061124 sync remove unused dpdk dynamic libraries
(cherry picked from commit d4ea38566a4300ea2cd45d3803b31c27b5597df8)
2023-07-08 15:25:26 +08:00