Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
313 commits
Select commit Hold shift + click to select a range
23b51bd
hsa: improve handling of SESSION_E_REFUSED in http client
sxvghd Jun 13, 2025
bd70ed1
vcl: make vcl_evt code compile
sluong99 Jun 13, 2025
40e1ff6
hsa: mt support for cl udp test
florincoras Jun 13, 2025
0d07540
arp: checks for null in add neighbor
May 27, 2025
6a6ffc5
interface: add support for proper checksum handling
mohsinkazmi Mar 17, 2025
6628ef6
hs-test: WaitForCoreDump improvement
matfabia-cisco Jun 16, 2025
380bdcf
vcl: validate ldp select bitmap only if bits set
florincoras Jun 14, 2025
d2bf69d
udp: add basic unit test
florincoras Jun 16, 2025
8976157
http: implement HTTP PUT method
ayourtch Jun 13, 2025
2eb0e47
http: http/2 extended connect method
matfabia-cisco Jun 11, 2025
f511651
hsa: make http client do chunked reads/writes to file
sxvghd Jun 12, 2025
68a023d
vcl: improve vls pthread cleanup handling
florincoras Jun 16, 2025
f588c21
build: add knob to disable vcl
dmarion Jun 18, 2025
e81b121
hsa: fix http client path formating for fopen
matfabia-cisco Jun 18, 2025
9adcb25
hsa: fix http client logging with file
florincoras Jun 18, 2025
1fffe64
hs-test: change local registry port
villinadrian Jun 18, 2025
8558a29
vppinfra: install ring.h
Jun 3, 2025
a5acfe0
vppinfra: don't use internal __CPU_* macros
dmarion Jun 18, 2025
20f342c
http: client can receive response while sending
matfabia-cisco Jun 19, 2025
b246b8c
vcl: improve vls locking for mt apps
florincoras Jun 18, 2025
1c1c84e
hs-test: add udp mw test
florincoras Jun 18, 2025
97b1380
http: fix path formatting in request templates
matfabia-cisco Jun 20, 2025
f84494d
http_static: improve cli short help
florincoras Jun 21, 2025
594da0e
vcl: add reattach spinlock
florincoras Jun 21, 2025
5e9b38d
tls: add async support for SSL client
varunmarvell Jun 21, 2025
1523b51
http: h2 encoding request
matfabia-cisco Jun 20, 2025
8fc82bb
hs-test: fix mw tests that rely on tap interfaces
florincoras Jun 23, 2025
4ba427d
hs-test: support building master CalicoVPP (KinD)
villinadrian Jun 24, 2025
6b8975e
http: h2 decoding response
matfabia-cisco Jun 23, 2025
74cf965
gre: Add support for GRE keys in the GRE plugin
mnilforoush99 Feb 27, 2025
a834089
tls: check error when SSL_shutdown fails
Jun 24, 2025
2f8bc0f
vppinfra: introduce bihash_56_8
Jun 24, 2025
5a5b908
http: test code coverage improvement
matfabia-cisco Jun 25, 2025
f3f9100
hsa: http client formatting of headers improvement
matfabia-cisco Jun 25, 2025
d2a2473
hsa: fix echo-bytes echo client runs over UDP
sxvghd Jun 24, 2025
77e80a4
http: fix h2 settings leak
florincoras Jun 25, 2025
7844101
hsa: fix echo client vm use for time
florincoras Jun 25, 2025
87557a3
dns: fix recursive locking
bganne Jun 25, 2025
f3d247a
misc: VPP 25.06 Release Notes
ayourtch Jun 11, 2025
75fd8ad
hsa: introduce max-tx-chunk parameter to built-in echo client
sxvghd Jun 18, 2025
834bb74
policer: don't compute CPU clock frequency for each API call
kerart Jun 17, 2025
241e116
svm: don't use __WORDSIZE
dmarion Jun 25, 2025
de04216
ena: use snprintf instead of strncpy
dmarion Jun 25, 2025
c869293
tls: fix compilation issue with openssl-1.1
varunmarvell Jun 30, 2025
230195d
ioam: remove use of local_next_by_ip_protocol struct
mohsinkazmi Jun 20, 2025
94adfee
gso: fix ip fragment support for gso packet
mohsinkazmi Jun 26, 2025
7b830f7
hs-test: individual http1 suite
villinadrian Jun 27, 2025
9d0d575
tls: fix coverity warning
florincoras Jun 26, 2025
eb25e6c
vppinfra: avoid string truncation errors by some gcc versions
dmarion Jun 30, 2025
cc45a24
octeon: use plain strcmp
dmarion Jul 1, 2025
a11222d
http: fix http header table hash keys leak
matfabia-cisco Jun 27, 2025
f6c1342
hs-test: h2 memory leak test
matfabia-cisco Jun 27, 2025
9ed9667
hs-test: fix Http2ServerMemLeakTest
villinadrian Jul 2, 2025
5e35e93
session: cli to add/del collector to app
florincoras Jun 21, 2025
b24b1c6
session: move app crypto to separate files
florincoras May 27, 2025
49d93a7
vlib: handle worker sync in wait one loop
florincoras Jul 3, 2025
e99ef3a
hs-test: use current VPP dir for CalicoVPP build
villinadrian Jul 1, 2025
d6c8d33
fib: take barrier on LB pool put
mogaika Jul 4, 2025
4e58900
linux-cp: do not lock table when it's not needed
May 26, 2025
87d44f6
hs-test: fix install-kind-deps and kubeconfig path
villinadrian Jul 8, 2025
89bbec8
arp: fix dump API
klement Jul 9, 2025
10df614
hs-test: fix go version mismatch
matfabia-cisco Jul 9, 2025
a67d90d
memif: avoid double-close of the socket on client abort with un-read …
ayourtch Jul 4, 2025
f72488b
http: Tunneling UDP over HTTP/2
matfabia-cisco Jun 13, 2025
e2ba9ec
hsa: http cli server add http1-only option
matfabia-cisco Jul 10, 2025
29d66fb
hs-test: memleak tests fixes & json raport generation
sxvghd Jul 10, 2025
19e0d0e
quic: don't crash when no quic engine is available
dwallacelf Jun 18, 2025
f248a16
hsa: http cli client improvement
matfabia-cisco Jul 11, 2025
a7da4d1
tls: fix cert and pkey leak
florincoras Jul 11, 2025
13b49bb
hs-test: KinD cluster build script improvements
villinadrian Jul 14, 2025
f2223b6
tap: add option to specify interface name
dmarion Jul 10, 2025
84f09f4
virtio: add option to set interface name
dmarion Jul 10, 2025
b6cc662
http: http2 client side
matfabia-cisco Jul 10, 2025
5c7b8ca
hsa: measure rtt in echo client
sxvghd Jun 25, 2025
44f8190
hsa: do not configure cert for tls ao
florincoras Jul 16, 2025
23a4d6d
http: h2 client handle GOAWAY NO_ERROR
matfabia-cisco Jul 16, 2025
3e7485f
hsa: http client send signal on transport reset
matfabia-cisco Jul 16, 2025
e7a26fb
session: remove unused attach options
florincoras Jul 17, 2025
723564a
tls session: track internal tls objects in ckpair
florincoras Jul 11, 2025
8704709
build: update openssl to 3.5.1 in vpp-opt-deps
dwallacelf Jul 17, 2025
6abc5dc
http: h2 client error handling improvement
matfabia-cisco Jul 17, 2025
0d6c4be
hs-test: h2 client testing with h2spec
matfabia-cisco Jul 17, 2025
114563a
http: h2 coverity fix
matfabia-cisco Jul 17, 2025
2839c1e
hsa: http client set connect_sep to null on init
matfabia-cisco Jul 18, 2025
d51170d
session: add new error MAX_STREAMS_HIT
matfabia-cisco Jul 18, 2025
7a08d92
session: set maximum memory for fifos
keltar Jul 19, 2025
4b7cdbf
ip: common icmp echo structure
otroan Jun 5, 2025
f22e84b
papi: fix deprecated call to setup.py
dmarion Jul 17, 2025
6a038c3
dpdk: bump to DPDK 25.07 and rdma-core 58.0
jeffreybshaw Jul 23, 2025
2a422e1
vcl: revert allow reads after transport cleanup
florincoras Jul 24, 2025
23b3775
l2: stale cached value input->bd_seq_num
sluong99 Mar 19, 2025
a23d3e2
docs: correct deleting an interface ip address
sluong99 Jul 18, 2025
1a131df
http: h2 flow control improvement
matfabia-cisco Jul 21, 2025
4e94627
http: h2 client multiplexing
matfabia-cisco Jul 18, 2025
2c146c2
http: starting http/2 with prior knowledge
matfabia-cisco Jul 25, 2025
3ea1f8f
hs-test: h2 client memory leak test
matfabia-cisco Jul 25, 2025
9b9a7b3
http: validate h2 frame lengeth in handlers
matfabia-cisco Jul 25, 2025
1fb5ffc
vlib: remove timer when sched node is dispatched by interrupt
dmarion Jul 23, 2025
7538c86
vlib: fix typo in ASAN stack size calculation
mogaika Jul 4, 2025
6086803
http: huffman decoder invalid EOS handling fix
matfabia-cisco Jul 28, 2025
3421e90
nsim: fix uninitialized variables
matfabia-cisco Jul 28, 2025
6adc4d8
hsa: cl udp app wait for pthreads to exit
florincoras Jul 29, 2025
ae0d6fa
hs-test: fix nsim interface in TcpWithLoss tests
matfabia-cisco Jul 29, 2025
04b1c06
hs-test: containerize ginkgo
villinadrian Jul 21, 2025
68e50d8
hs-test: add nginx mirroring KinD test, cleanup
villinadrian Jul 25, 2025
f2f1a11
vcl: favor wr to vls_mt_spool_rwlock
florincoras Jul 26, 2025
28707cb
vcl: atomics for tracking num workers in vls
florincoras Jul 27, 2025
344dab5
linux-cp: fix multicast route updates on address add/del
garyachy Jul 29, 2025
554afb2
http: h2 free stream scheduler heads with conn
matfabia-cisco Jul 29, 2025
9f9cdde
hs-test: nsim loss rate test
matfabia-cisco Jul 29, 2025
cfaee77
http: format_http_transport_half_open fix
matfabia-cisco Jul 30, 2025
3698e99
hs-test: run containers wit --cap-add=SYS_PTRACE
matfabia-cisco Jul 30, 2025
8eb748c
http: h2 connect for client apps
matfabia-cisco Jul 28, 2025
8be938f
http: h2 connect-udp for client apps
matfabia-cisco Jul 30, 2025
a43464a
hs-test: PromMemLeakTest improvement
matfabia-cisco Aug 1, 2025
a5ca1f9
session tls: scaffolding for async cert retrieval
florincoras Jul 21, 2025
0ab1d2e
tcp: conditionally initializing log track for unbind
sluong99 Aug 1, 2025
28253d9
hs-test: glean proxy environment variables is present
florincoras Aug 1, 2025
80a5d48
tcp: fix persist handler in closed state
florincoras Aug 1, 2025
513c6bf
pg: add support for checksum offload
mohsinkazmi Jul 2, 2025
576e6b5
quic: reregister transport proto when no quic engine registered
dwallacelf Jul 25, 2025
c0b9cbd
hs-test: add hsi and transparent proxy test
matfabia-cisco Aug 1, 2025
5fda954
session: session debug crashes with elog track
sluong99 Aug 4, 2025
8cb1294
tests: af_xdp interface tests
najoy Jul 21, 2025
a15bc85
build: updated to build on RHEL-8
Jul 17, 2025
0cd6e7c
http: http2_transport_rx_callback hardening
matfabia-cisco Aug 1, 2025
d21309c
af_xdp: bump xdp-tools to 1.5.5
sluong99 Jul 23, 2025
4e93a82
af_xdp: processing free buffer
sluong99 Jul 9, 2025
ccd16e3
session: enable sending segmented dgrams
sxvghd Jul 22, 2025
ae77ea9
http: h2 client tunnel fix
matfabia-cisco Aug 5, 2025
1709c21
http: h2 client connect-udp fix
matfabia-cisco Aug 5, 2025
84d5228
hsa: show tx/rx stats for UDP on timeout and fix test-bytes for UDP
sxvghd Jul 16, 2025
8adb8a7
api: fix crash in pcap capture api
Dec 10, 2024
8941f9a
hs-test: load k8s pod definitions from a file
villinadrian Aug 4, 2025
acdc1d6
vppinfra: fix cpu time on riscv
Jul 1, 2025
73354a2
session: session_cb_vft add proxy_write_early_data
matfabia-cisco Aug 7, 2025
b497d9f
tests: add vpp-opt-deps to vpp LD_LIBRARY_PATH
dwallacelf Aug 6, 2025
ead3da8
gso: add support for ipip tso for phyiscal interfaces
mohsinkazmi Apr 28, 2025
9fd3c84
virtio: fix cli parser
florincoras Aug 8, 2025
016e389
hsa: fix potential udp echo server test-bytes int overflow
sxvghd Aug 7, 2025
ae4c21f
session: restore cl session dscp support
sxvghd Aug 1, 2025
fca7910
tls: fix coverity warning
florincoras Aug 3, 2025
48d3d69
tls: zero hdr.gso_size in openssl_ctx_read_dtls
matfabia-cisco Aug 11, 2025
0b8d9d3
hsa: echo client zero hdr.gso_size
matfabia-cisco Aug 11, 2025
576095f
srtp: zero hdr.gso_size in srtp_ctx_read
matfabia-cisco Aug 11, 2025
92ceeb3
http: zero hdr.gso_size in udp_tunnel_rx
matfabia-cisco Aug 11, 2025
421964a
af_xdp: fix missing recvmsg argument
mogaika Jul 4, 2025
b386cbb
hs-test: KinD cluster setup improvements
villinadrian Aug 7, 2025
4a5304f
hs-test: fix envsubst not working
villinadrian Aug 13, 2025
8216bbd
http: req_state_udp_tunnel_tx fix
matfabia-cisco Aug 13, 2025
a03a2c2
http: h2 client conn error handling fix
matfabia-cisco Aug 13, 2025
6feb869
http: h2 connect-udp dgram mode flow control fix
matfabia-cisco Aug 14, 2025
e92d678
http: h2 fix handling of incomplete frame headers
matfabia-cisco Aug 14, 2025
94feaa8
hs-test: remove non-root user build enforcement
villinadrian Aug 13, 2025
a53d4af
hs-test: KindIperfVclTest fix
villinadrian Aug 15, 2025
98399d0
http: http2_sched_dispatch_tunnel fix
matfabia-cisco Aug 15, 2025
12e4a45
hs-test: bump curl version to 8.15.0
matfabia-cisco Aug 15, 2025
465dc0b
hs-test: bump nginx version to 1.28
florincoras Aug 15, 2025
8760b33
vnet: add eeprom_read_function
pimvanpelt Aug 14, 2025
d282e2c
vcl: fix read ready for cl udp
florincoras Aug 16, 2025
0ba1681
hs-test: turn off quic_retry in nginx config
matfabia-cisco Aug 18, 2025
0bfd9cd
rpm-packaging: add vcl client and server to vpp binaries (rpm)
caecuse Aug 18, 2025
030f7b7
hs-test: NginxHttp3Test add worker crash check
matfabia-cisco Aug 18, 2025
61deae6
session udp: fix cl hash computation
florincoras Aug 18, 2025
3102059
vcl: ldp infra for get/set SO_COOKIE
florincoras Aug 18, 2025
16bd854
http: h2 tunnel dispatch add as dequeue notify
matfabia-cisco Aug 18, 2025
1bb5ddb
hsa: fix typo in vcl_test_client arg check
sxvghd Aug 18, 2025
8d84125
hs-test: iperf improvements
villinadrian Aug 15, 2025
d2f48f4
http: h2 client multiplexing fix
matfabia-cisco Aug 20, 2025
3d23fc2
vnet: fix negative table-id
Aug 21, 2025
d877375
tls: avoid reallocating default ssl ctx for clients
florincoras Aug 20, 2025
a73c5f0
hs-test: limit wget retries in setup scripts
matfabia-cisco Aug 24, 2025
6abc197
hs-test: fix core file detection
matfabia-cisco Aug 22, 2025
b30374d
http: remove assert in http2_req_state_tunnel_tx
matfabia-cisco Aug 24, 2025
9530f52
hs-test: monitor performance of some loss tests
villinadrian Aug 20, 2025
e360fe7
hsa: fix test client args check to allow default port
florincoras Aug 25, 2025
ec91f87
session: fix app listener free if listen returns
florincoras Aug 25, 2025
28bf91f
hsa: fix echo server rx callback crash
florincoras Aug 25, 2025
ac73c85
http: http2_app_close_callback free req when done
matfabia-cisco Aug 25, 2025
632d9f9
http: http2_format_req print stream state
matfabia-cisco Aug 25, 2025
a651798
hs-test: parse bytes/sec in TcpWithLoss tests
villinadrian Aug 27, 2025
3fdc927
vhost: move tracing out of processing loop
kogdenko Aug 23, 2025
f41b05b
tcp: handle SYN while CLOSED state
gh4ck3r Jul 23, 2025
8d41c6f
fib: change the order of adding interface routes
Aug 18, 2025
273d20c
octeon: add L4 checksum flags
kmonendra Aug 21, 2025
870c029
vnet: add SFF8472 and SFF8636 diagnostics
pimvanpelt Aug 13, 2025
0d0a3a5
vnet: install full reassembly headers
Aug 1, 2025
d23c628
vlib: add possibility to disable pager
Aug 13, 2025
b6eabe6
vppinfra: add ARM neoverse-v2 support
Snowball-Wang May 20, 2024
61ee787
vnet: fix set interfaces rx-placement cli
bganne Aug 20, 2025
646a238
ip: reassembly - enable registering custom next nodes for v6
Aug 1, 2025
6033867
ip: 'format_ip6_header' - re-enable recurse into next proto layer
Aug 14, 2025
32a2287
udp: add input nolookup node
florincoras Aug 22, 2025
f391d15
hsi: support to intercept all proto traffic
florincoras Aug 20, 2025
72b1b85
http: http2_conn_connect_stream_callback fix
matfabia-cisco Aug 27, 2025
f413b26
session: fix app_send_dgram_segs enqueueing n-1 segments
sxvghd Sep 1, 2025
d264f3c
hsa: add periodic reports to builtin echo client
sxvghd Aug 20, 2025
0cea639
dev: add option to assign one rx and one tx queue per thread
dmarion Jul 23, 2025
d0e47c9
linux-cp: don't drain nl-messages during processing
Aug 26, 2025
b3d9ac4
tls: cert validation config
florincoras Aug 28, 2025
d5409a1
hs-test: KinD LargeMTU suite
villinadrian Aug 22, 2025
e070068
snort: plugin rework
dmarion May 6, 2025
236ba07
vlib: add va_list version of vlib_log()
dmarion Sep 8, 2025
2cb3fa2
hs-test: fix KinD cluster setup
villinadrian Sep 5, 2025
405086b
http: http/2 tunnel closing improvement
matfabia-cisco Sep 7, 2025
cb2e794
hsa: proxy session reset improvement
matfabia-cisco Sep 7, 2025
6f4dec6
hs-test: lower TcpWithLoss perf threshold
villinadrian Sep 9, 2025
7148207
build: add option to disable building of Python API
dmarion Sep 8, 2025
e49ebc0
session: track app session index for cl sessions
florincoras Sep 11, 2025
aff0e95
hsa: test cl udp vcl events
florincoras Sep 11, 2025
0dbd372
tls: fix memory leak when using test cert
dwallacelf Sep 12, 2025
3bb87b3
hsa: various echo client fixes
sxvghd Sep 9, 2025
3012d1b
session tls: add support for configurable trusted cas
florincoras Sep 10, 2025
ede9569
snort: refactor to better align the code
mohsinkazmi Sep 15, 2025
4f5474b
octeon: fix issue with RSS and promisc mode
dmarion Sep 15, 2025
e3063d3
octeon: add option to specify RSS flowkey bitmap
dmarion Sep 15, 2025
cc93166
vppinfra: zero-terminate self netns path
keltar Sep 10, 2025
f9b1778
http: add worker counters
matfabia-cisco Sep 7, 2025
ca04862
http: add half-close support for h2 tcp tunnels
matfabia-cisco Sep 8, 2025
381fb7b
hsa: proxy http can be closed on ao connected err
matfabia-cisco Sep 8, 2025
97e5dee
hsa: proxy don't send tx event when fifo is empty
matfabia-cisco Sep 8, 2025
0f66f9e
dev: add support for changing RSS key
dmarion Sep 15, 2025
47ed3ad
octeon: add support for changing RSS key
dmarion Sep 15, 2025
1949a8d
build: bump cmake to 3.19
dmarion Sep 15, 2025
d08f152
http: notify app on app_worker_init_connected err
matfabia-cisco Sep 15, 2025
9749352
hs-test: move hs-test to vpp/test-c
villinadrian Sep 8, 2025
7b260d9
http: http2_format_req print more info
matfabia-cisco Sep 16, 2025
f36243c
dev: initialize devices earlier, before main loop running
dmarion Sep 16, 2025
1177827
snort: add more debug logs in vpp_daq library
mohsinkazmi Sep 17, 2025
7abf5df
quic: refactor crypto context index encoding and debug output
dwallacelf Sep 16, 2025
fe4ff09
build: update octeon-roc version
kmonendra Sep 18, 2025
c567c41
snort: fix the libdaq required version
mohsinkazmi Sep 18, 2025
4c85ee7
build: add knob to specify which plugins to build
dmarion Sep 18, 2025
91ccea6
kube-test: MW iperf tests, improvements
villinadrian Sep 12, 2025
8e88bf5
vapi: uds transport pass client index correctly
May 27, 2025
bb56096
ipsec: Improve tunnel mode detection in ESP decrypt post-crypto
garyachy Aug 28, 2025
c98ec5a
bfd: add API to configure TOS for IP of BFD packets
aronovic Jul 14, 2025
4b5a767
session: fix handling of closed during migration
florincoras Sep 18, 2025
0f86c11
session svm: fix session migrate attach data corruption
florincoras Sep 19, 2025
bfcbe20
snort: add support for DIOCTL_GET_PRIV_DATA_LEN
mohsinkazmi Sep 19, 2025
036738c
dev: add ability for process node to wait for device config
dmarion Sep 19, 2025
b7b88b6
hsa: remove unused test_send_buffer from echo client
sxvghd Sep 22, 2025
8281b07
hsa: proxy active_open_rx_callback fix
matfabia-cisco Sep 22, 2025
ef2e009
kube-test: fix and update image tags
villinadrian Sep 23, 2025
1111b16
hsa: adjust echo client reporting for udp runs
sxvghd Sep 23, 2025
2b70ffb
dhcp: fix lease renewal for non-default fibs
florincoras Sep 23, 2025
4f366b5
misc: Initial changes for stable/2510 branch
ayourtch Sep 24, 2025
d4b0011
linux-cp: fix multicast route setup with lcp-sync
mgsmith1000 Sep 22, 2025
cbba045
misc: VPP 25.10 Release Notes
ayourtch Oct 27, 2025
07ca4b3
linux-cp: revert "do not lock table when it's not needed"
mgsmith1000 Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 19 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,25 @@ compile_commands.json
**/test-run-*-*-*

# host stack test framework
/extras/hs-test/vpp-data
/extras/hs-test/hs-test
/extras/hs-test/http_server
/extras/hs-test/.build.ok
/extras/hs-test/.build.cov.ok
/extras/hs-test/.last_hst_ppid
/extras/hs-test/.goimports.ok
/extras/hs-test/summary/
/extras/hs-test/.last_state_hash
/test-c/hs-test/vpp-data
/test-c/hs-test/hs-test
/test-c/hs-test/http_server
/test-c/hs-test/.build.ok
/test-c/hs-test/.build.cov.ok
/test-c/hs-test/.last_hst_ppid
/test-c/hs-test/summary/
/test-c/hs-test/.last_state_hash
/test-c/hs-test/.go_cache/

# kube-test
/test-c/kube-test/vpp-data
/test-c/kube-test/.build.ok
/test-c/kube-test/.last_ppid
/test-c/kube-test/summary/
/test-c/kube-test/.last_state_hash
/test-c/kube-test/.kube_deps.ok
/test-c/kube-test/kubernetes/calico-config.yaml
/test-c/kube-test/kubernetes/.vars

# ./configure
/CMakeFiles
Expand Down
1 change: 1 addition & 0 deletions .gitreview
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
host=gerrit.fd.io
port=29418
project=vpp
defaultbranch=stable/2510
8 changes: 7 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,13 @@ I: hs-test
M: Florin Coras <fcoras@cisco.com>
M: Matus Fabian <matfabia@cisco.com>
M: Adrian Villin <avillin@cisco.com>
F: extras/hs-test
F: test-c/hs-test

Kube test framework
I: kube-test
M: Florin Coras <fcoras@cisco.com>
M: Adrian Villin <avillin@cisco.com>
F: test-c/kube-test

THE REST
I: misc
Expand Down
51 changes: 42 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ MACHINE=$(shell uname -m)
SUDO?=sudo -E
DPDK_CONFIG?=no-pci

ifeq ($(shell test -d /opt/vpp/optional/${MACHINE}/lib64 && echo yes),yes)
VPP_OPT_DEPS_LIBRARY_PATH?=/opt/vpp/optional/${MACHINE}/lib64
endif

# we prefer clang by default
ifeq ($(CC),cc)
CC=clang
Expand Down Expand Up @@ -61,7 +65,11 @@ GDB_ARGS= -ex "handle SIGUSR1 noprint nostop"
# We allow Darwin (MacOS) for docs generation; VPP build will still fail.
ifneq ($(shell uname),Darwin)
OS_ID = $(shell grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
ifeq ($(OS_ID),rhel)
OS_VERSION_ID= $(shell grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g' | sed -e 's/\..*//')
else
OS_VERSION_ID= $(shell grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
endif
OS_CODENAME = $(shell grep '^VERSION_CODENAME=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
endif

Expand Down Expand Up @@ -202,6 +210,20 @@ else ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8)
RPM_DEPENDS += infiniband-diags libibumad
RPM_DEPENDS += libpcap-devel llvm-toolset
RPM_DEPENDS_GROUPS = 'Development Tools'
else ifeq ($(OS_ID)-$(OS_VERSION_ID),rhel-8)
RPM_DEPENDS += yum-utils
RPM_DEPENDS += openssl-devel
RPM_DEPENDS += python3-ply # for vppapigen
RPM_DEPENDS += python36-devel
RPM_DEPENDS += python3-pip
RPM_DEPENDS += python3-virtualenv
RPM_DEPENDS += python3-jsonschema
RPM_DEPENDS += gcc-toolset-9
RPM_DEPENDS += gcc-toolset-9-libasan-devel
RPM_DEPENDS += cmake
RPM_DEPENDS += llvm-toolset
RPM_DEPENDS += infiniband-diags
RPM_DEPENDS += autoconf automake bison byacc libtool
else ifeq ($(OS_ID)-$(OS_VERSION_ID),anolis-8)
RPM_DEPENDS += yum-utils
RPM_DEPENDS += compat-openssl10 openssl-devel
Expand Down Expand Up @@ -382,7 +404,7 @@ ifeq ($(filter ubuntu debian linuxmint,$(OS_ID)),$(OS_ID))
exit 0
else ifneq ("$(wildcard /etc/redhat-release)","")
@for i in $(RPM_DEPENDS) ; do \
RPM=$$(basename -s .rpm "$${i##*/}" | cut -d- -f1,2,3,4) ; \
RPM=$$(basename -s .rpm "$${i##*/}") ; \
MISSING+=$$(rpm -q $$RPM | grep "^package") ; \
done ; \
if [ -n "$$MISSING" ] ; then \
Expand All @@ -404,7 +426,11 @@ ifeq ($(filter ubuntu debian linuxmint,$(OS_ID)),$(OS_ID))
@sudo -E apt-get update
@sudo -E apt-get $(APT_ARGS) $(CONFIRM) $(FORCE) install $(DEB_DEPENDS)
else ifneq ("$(wildcard /etc/redhat-release)","")
ifeq ($(OS_ID),rhel)
ifeq ($(OS_ID)-$(OS_VERSION_ID),rhel-8)
@sudo -E dnf install $(CONFIRM) https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
@sudo -E dnf install $(CONFIRM) $(RPM_DEPENDS)
@sudo -E debuginfo-install $(CONFIRM) glibc openssl-libs zlib
else ifeq ($(OS_ID)-$(OS_VERSION_ID),rhel-7)
@sudo -E yum-config-manager --enable rhel-server-rhscl-7-rpms
@sudo -E yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)
@sudo -E yum install $(CONFIRM) $(RPM_DEPENDS)
Expand Down Expand Up @@ -554,7 +580,7 @@ test-cov:

.PHONY: test-cov-hs
test-cov-hs: build-gcov
@$(MAKE) CC=$(CC) -C extras/hs-test test-cov \
@$(MAKE) CC=$(CC) -C test-c/hs-test test-cov \
VPP_BUILD_DIR=$(BR)/build-vpp_gcov-native/vpp

.PHONY: test-cov-post-standalone
Expand Down Expand Up @@ -592,6 +618,7 @@ cov-merge:
-a $(BR)/test-coverage-merged/coverage-filtered1.info -o $(BR)/test-coverage-merged/coverage-merged.info
@genhtml $(BR)/test-coverage-merged/coverage-merged.info \
--output-directory $(BR)/test-coverage-merged/html
-@rm -f $(BR)/test-coverage-merged/html/cmd_line
@echo "Code coverage report is in $(BR)/test-coverage-merged/html/index.html"

.PHONY: test-all
Expand Down Expand Up @@ -671,7 +698,7 @@ test-wipe-all:
.PHONY: test-checkstyle
test-checkstyle:
@$(MAKE) -C test checkstyle-python-all
@$(MAKE) -C extras/hs-test checkstyle-go
@$(MAKE) -C test-c/hs-test checkstyle-go

# Note: All python venv consolidated in test/Makefile, test/requirements*.txt
.PHONY: test-checkstyle-diff
Expand Down Expand Up @@ -714,12 +741,12 @@ define run
@echo "WARNING: STARTUP_CONF not defined or file doesn't exist."
@echo " Running with minimal startup config: $(MINIMAL_STARTUP_CONF)\n"
@cd $(STARTUP_DIR) && \
$(SUDO) $(2) $(1)/vpp/bin/vpp $(MINIMAL_STARTUP_CONF)
$(SUDO) LD_LIBRARY_PATH=$(VPP_OPT_DEPS_LIBRARY_PATH) $(2) $(1)/vpp/bin/vpp $(MINIMAL_STARTUP_CONF)
endef
else
define run
@cd $(STARTUP_DIR) && \
$(SUDO) $(2) $(1)/vpp/bin/vpp $(shell cat $(STARTUP_CONF) | sed -e 's/#.*//')
$(SUDO) LD_LIBRARY_PATH=$(VPP_OPT_DEPS_LIBRARY_PATH) $(2) $(1)/vpp/bin/vpp $(shell cat $(STARTUP_CONF) | sed -e 's/#.*//')
endef
endif

Expand Down Expand Up @@ -812,7 +839,11 @@ go-api-files: json-api-files

.PHONY: cleanup-hst
cleanup-hst:
$(MAKE) -C extras/hs-test cleanup-hst
$(MAKE) -C test-c/hs-test cleanup-hst

.PHONY: cleanup-perf
cleanup-perf:
$(MAKE) -C test-c/kube-test cleanup-perf

.PHONY: ctags
ctags: ctags.files
Expand Down Expand Up @@ -858,11 +889,13 @@ checkstyle-python:

.PHONY: checkstyle-go
checkstyle-go:
@$(MAKE) -C extras/hs-test checkstyle-go
@$(MAKE) -C test-c/hs-test checkstyle-go
@$(MAKE) -C test-c/kube-test checkstyle-go

.PHONY: fixstyle-go
fixstyle-go:
@$(MAKE) -C extras/hs-test fixstyle-go
@$(MAKE) -C test-c/hs-test fixstyle-go
@$(MAKE) -C test-c/kube-test fixstyle-go

.PHONY: checkstyle-all
checkstyle-all: checkstyle-commit checkstyle checkstyle-python docs-spell checkstyle-go
Expand Down
9 changes: 5 additions & 4 deletions build/external/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ PKG_SUFFIX ?= $(shell git log --oneline v$(PKG_VERSION)-rc0.. . | wc -l)
include ../build_common.mk
include ../packages_common.mk

include packages/daq.mk
include packages/ipsec-mb.mk
include packages/quicly.mk
ifneq ($(shell uname), FreeBSD)
Expand All @@ -31,16 +32,16 @@ clean:

.PHONY: install
ifeq ($(shell uname), FreeBSD)
install: $(if $(ARCH_X86_64), ipsec-mb-install) dpdk-install quicly-install
install: $(if $(ARCH_X86_64), ipsec-mb-install) daq-install dpdk-install quicly-install
else
install: $(if $(ARCH_X86_64), ipsec-mb-install) dpdk-install rdma-core-install quicly-install xdp-tools-install $(if $(AARCH64), octeon-roc-install)
install: $(if $(ARCH_X86_64), ipsec-mb-install) daq-install dpdk-install rdma-core-install quicly-install xdp-tools-install $(if $(AARCH64), octeon-roc-install)
endif # FreeBSD

.PHONY: config
ifeq ($(shell uname), FreeBSD)
config: $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config quicly-build
config: daq-config $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config quicly-build
else
config: $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config rdma-core-config quicly-build
config: daq-config $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config rdma-core-config quicly-build
endif # FreeBSD

##############################################################################
Expand Down
1 change: 1 addition & 0 deletions build/external/mlx_rdma_dpdk_matrix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ rdma=49.0 dpdk=23.11
rdma=51.0 dpdk=24.03
rdma=55.0 dpdk=24.07
rdma=55.0 dpdk=24.11.1
rdma=58.0 dpdk=25.07
40 changes: 40 additions & 0 deletions build/external/packages/daq.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright (c) 2025 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

daq_version := 3.0.21
daq_tarball := daq-$(daq_version).tar.gz
daq_tarball_sha256sum_3.0.21 := 60ad9405c1c6b75955e0784511b173570a601491ccdb6399da53ca811c446a96
daq_tarball_sha256sum := $(daq_tarball_sha256sum_$(daq_version))
daq_tarball_strip_dirs := 1
daq_url := https://github.com/snort3/libdaq/archive/refs/tags/v$(daq_version).tar.gz

define daq_config_cmds
@rm -f $(daq_config_log)
@cd ${daq_src_dir} && ./bootstrap > $(daq_config_log) 2>&1
@cd ${daq_src_dir} && ./configure --prefix='$(daq_install_dir)' --enable-shared --enable-static \
--disable-bundled-modules \
CFLAGS='' \
>> $(daq_config_log) 2>&1
endef

define daq_build_cmds
@cd ${daq_src_dir} && $(MAKE) V=1 > $(daq_build_log)
endef

define daq_install_cmds
@rm -f $(daq_install_log)
@cd ${daq_src_dir} && \
$(MAKE) install V=1 PREFIX='$(daq_install_dir)' >> $(daq_install_log)
endef

$(eval $(call package,daq))
4 changes: 2 additions & 2 deletions build/external/packages/dpdk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ DPDK_MLX_IBV_LINK ?= static
# On most of the systems, default value for max lcores is 128
DPDK_MAX_LCORES ?=

dpdk_version ?= 24.11.1
dpdk_version ?= 25.07
dpdk_base_url ?= http://fast.dpdk.org/rel
dpdk_tarball := dpdk-$(dpdk_version).tar.xz

dpdk_tarball_sha256sum_24.11.1 := bcae7d42c449fc456dfb279feabcbe0599a29bebb2fe2905761e187339d96b8e
dpdk_tarball_sha256sum_25.07 := 6886cbedc350bb8cbef347d10367d6259e36435627fbb27d578adbdc0d3b410d

dpdk_tarball_sha256sum := $(dpdk_tarball_sha256sum_$(dpdk_version))
dpdk_url := $(dpdk_base_url)/$(dpdk_tarball)
Expand Down
4 changes: 2 additions & 2 deletions build/external/packages/octeon-roc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# SPDX-License-Identifier: Apache-2.0
# https://spdx.org/licenses/Apache-2.0.html

octeon-roc_version := 25.05
octeon-roc_version := 25.09
octeon-roc_tarball := v$(octeon-roc_version).tar.gz
octeon-roc_tarball_sha256sum := fc7c8583e49f76b70fb1da242482fe324e6456c04f17d1a0e8726c28266220c6
octeon-roc_tarball_sha256sum := 39caf74eded46a01286dfbc6a90f8ddbf76d59764f89a574206afbf51b9d5613

octeon-roc_tarball_strip_dirs := 1
octeon-roc_url := https://github.com/MarvellEmbeddedProcessors/marvell-octeon-roc/archive/refs/tags/$(octeon-roc_tarball)
Expand Down
4 changes: 2 additions & 2 deletions build/external/packages/rdma-core.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ RDMA_CORE_DEBUG?=n
# 2. Verify that the file build/external/dpdk_mlx_default.sh was generated
# and contains 'DPDK_MLX_DEFAULT=y'
#
rdma-core_version := 55.0
rdma-core_version := 58.0
rdma-core_tarball := rdma-core-$(rdma-core_version).tar.gz
rdma-core_tarball_sha256sum_55.0 := 6f8b97267807cdae54845f542ee3d75de80fdc24fe2632f5db1573ecef132d0f
rdma-core_tarball_sha256sum_58.0 := 88d67897b793f42d2004eec2629ab8464e425e058f22afabd29faac0a2f54ce4
rdma-core_tarball_sha256sum := $(rdma-core_tarball_sha256sum_$(rdma-core_version))
rdma-core_tarball_strip_dirs := 1
rdma-core_url := http://github.com/linux-rdma/rdma-core/releases/download/v$(rdma-core_version)/$(rdma-core_tarball)
Expand Down
4 changes: 2 additions & 2 deletions build/external/packages/xdp-tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

xdp-tools_version := 1.2.9
xdp-tools_version := 1.5.5
xdp-tools_tarball := xdp-tools-$(xdp-tools_version).tar.gz
xdp-tools_tarball_sha256sum_1.2.9 := 3f8d30bd2e00c522103d224014f59a95400144aba1f3b322c6ad473541a0f99e
xdp-tools_tarball_sha256sum_1.5.5 := 9a4339ffc40df178c4ddf919cb2b23585a75b3023517c75e82c4dfb0899249c7

xdp-tools_tarball_sha256sum := $(xdp-tools_tarball_sha256sum_$(xdp-tools_version))
xdp-tools_tarball_strip_dirs := 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From e83f80443a2f23a68037bf4c7ba16b3723d193a4 Mon Sep 17 00:00:00 2001
From: Yulong <yulong.pei@intel.com>
Date: Tue, 3 Jan 2023 14:16:17 +0000
Subject: [PATCH] libxdp: add fPIC with static lib build

Signed-off-by: Yulong <yulong.pei@intel.com>
---
lib/libxdp/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libxdp/Makefile b/lib/libxdp/Makefile
index 4716fb0..403c2d9 100644
--- a/lib/libxdp/Makefile
+++ b/lib/libxdp/Makefile
@@ -87,7 +87,7 @@ $(SHARED_OBJDIR):
$(Q)mkdir -p $(SHARED_OBJDIR)

$(STATIC_OBJDIR)/%.o: %.c $(EXTRA_LIB_DEPS) | $(STATIC_OBJDIR)
- $(QUIET_CC)$(CC) $(CFLAGS) $(CPPFLAGS) $(STATIC_CFLAGS) -Wall -I../../headers -c $< -o $@
+ $(QUIET_CC)$(CC) $(CFLAGS) $(CPPFLAGS) $(STATIC_CFLAGS) -fPIC -Wall -I../../headers -c $< -o $@

$(SHARED_OBJDIR)/%.o: %.c $(EXTRA_LIB_DEPS) | $(SHARED_OBJDIR)
$(QUIET_CC)$(CC) $(CFLAGS) $(CPPFLAGS) $(SHARED_CFLAGS) -Wall -I../../headers -c $< -o $@
--
2.25.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 3033b9bdbcdb270f15373b27933d554f847e01d4 Mon Sep 17 00:00:00 2001
From: Yulong <yulong.pei@intel.com>
Date: Fri, 6 Jan 2023 14:31:24 +0000
Subject: [PATCH 3/3] libxdp: fix maybe-uninitialized compiler warning

Signed-off-by: Yulong <yulong.pei@intel.com>
---
lib/common.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/common.mk b/lib/common.mk
index ce24c48..e964bd8 100644
--- a/lib/common.mk
+++ b/lib/common.mk
@@ -104,7 +104,7 @@ $(LIB_OBJS): %.o: %.c %.h $(LIB_H)

ALL_EXEC_TARGETS=$(USER_TARGETS) $(TEST_TARGETS)
$(ALL_EXEC_TARGETS): %: %.c $(OBJECT_LIBBPF) $(OBJECT_LIBXDP) $(LIBMK) $(LIB_OBJS) $(KERN_USER_H) $(EXTRA_DEPS) $(EXTRA_USER_DEPS) $(BPF_SKEL_H) $(USER_EXTRA_C)
- $(QUIET_CC)$(CC) -Wall $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(LIB_OBJS) \
+ $(QUIET_CC)$(CC) -Wall -Wno-maybe-uninitialized $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(LIB_OBJS) \
$< $(USER_EXTRA_C) $(LDLIBS)

$(XDP_OBJ): %.o: %.c $(KERN_USER_H) $(EXTRA_DEPS) $(BPF_HEADERS) $(LIBMK)
--
2.25.1

4 changes: 2 additions & 2 deletions build/optional/packages/openssl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

openssl_version := 3.5.0
openssl_version := 3.5.1
openssl_tarball := openssl-$(openssl_version).tar.gz
openssl_tarball_sha256sum := 344d0a79f1a9b08029b0744e2cc401a43f9c90acd1044d09a530b4885a8e9fc0
openssl_tarball_sha256sum := 529043b15cffa5f36077a4d0af83f3de399807181d607441d734196d889b641f

openssl_tarball_strip_dirs := 1
openssl_url := https://github.com/openssl/openssl/releases/download/openssl-$(openssl_version)/$(openssl_tarball)
Expand Down
Loading