Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
febafde
octeon: fix memory ordering issue in tx batch free
dmarion Mar 29, 2024
09bd57d
octeon: fix roc_nix_npc_mac_addr_get() return value check
dmarion Apr 24, 2024
70330d4
octeon: fix buffer free for more than 6 segment
kmonendra Apr 25, 2024
988ebe2
octeon: add max packet length check
kmonendra Apr 19, 2024
c2758ad
octeon: fix rvu vf device id
kmonendra May 6, 2024
766cc82
octeon: add promisc support
Apr 9, 2024
ac16ead
octeon: add support for mac address update
Apr 10, 2024
e617e8a
dev: fix mac address dump in trace output
Apr 26, 2024
7602a5d
octeon: add support for Marvell Octeon9 SoC
kmonendra Feb 28, 2024
c4c64e9
octeon: add support for vnet generic flow type
Mar 12, 2024
3c4b60a
dev: fix counter_start in counter clear routine
kmonendra May 16, 2024
1e8e0cd
octeon: add counters support for port and queue
kmonendra May 16, 2024
a5f1219
ci: add github workflow
PavanNikhilesh May 28, 2024
03f6b00
dev: add port counter clear operation
kmonendra May 20, 2024
39efbd7
octeon: add clear counters support for port
kmonendra May 20, 2024
8f2b0ce
octeon: update trace for flow redirection
kmonendra May 22, 2024
82e404f
octeon: fix lbk vf initialization
kmonendra May 23, 2024
576f99e
octeon: add support for max_rx_frame_size update
Apr 26, 2024
616f6ed
misc: add baseline.txt for ci
nkaithakadan May 29, 2024
b007895
build: update octeon roc version
kmonendra Jun 3, 2024
2381ef5
octeon: convert link speed from Mbps to Kbps
kmonendra May 29, 2024
a6203fc
octeon: add crypto framework
nkaithakadan Feb 16, 2024
b17de38
octeon: add crypto framework for O9k
kmonendra Jun 5, 2024
84394b3
octeon: add readme for dev_octeon plugin
nkaithakadan Apr 18, 2024
c80bc3e
build: update octeon-roc url
kmonendra Jun 10, 2024
ac6d4c4
octeon: enable vf device promiscuous mode feature
Jun 7, 2024
93531b0
octeon: fix memory alignment for physmem alloc
nkaithakadan Jun 13, 2024
31c13aa
ci: add cpt firmware dependency for VPP package
Aug 23, 2024
8b4e052
ci: update dpdk release version
Aug 23, 2024
4d03704
ci: fix depends field
Aug 26, 2024
17c2115
ci: fix uninitilized FW_PKG_POSTFIX error
Aug 27, 2024
9a01407
ci: add FW_PKG_POSTFIX to artifacts
Aug 27, 2024
1fda612
linux-cp: add support for xfrm netlink notifcation
aakashksg Aug 1, 2022
7b778c5
linux-cp: update code to support api proto changes
ShivaShankarKommula Feb 6, 2024
6282075
linux-cp: add ipsec interface support for xfrm
Dec 5, 2023
5ffb524
linux-cp: initialize sw_if_index variable
ShivaShankarKommula Feb 7, 2024
b83d5a4
vcl: workaround for multi-threaded vcl application
Jun 20, 2024
0babfdb
octeon: fix link down issue
Jun 24, 2024
bcfe1af
octeon: add crypto support for 3descbc and aesctr
nkaithakadan May 27, 2024
bcbfc79
octeon: allocate pending queue for all cores
nkaithakadan Jul 12, 2024
c023a57
octeon: alloc crypto session context in key add
nkaithakadan Jul 16, 2024
e8d99c6
octeon: add crypto counters
kmonendra Jul 18, 2024
a673423
octeon: sync mac address to cgx/rpm table
kmonendra Jul 12, 2024
5ef91e3
linux-cp: add readme for xfrm implementation
Mar 24, 2024
1ee9d82
octeon: add virtio support
May 20, 2024
9eb0d6b
octeon: fix crypto pending queue overflow
nkaithakadan Jul 26, 2024
c0e1186
octeon: enable tx checksum offload capability
kmonendra Aug 5, 2024
63b19ce
octeon: fix tx checksum offload
kmonendra Aug 6, 2024
f5f754b
octeon: fix dao checksum
Aug 9, 2024
26e2077
ci: fix vpp package name in releases section
Sep 4, 2024
937d001
octep-cp: add support to read control msg from host
Nov 2, 2023
45bf8aa
octep-cp: add support for host checksum offload
Jan 10, 2024
0feb1d2
octep-cp: add generic octep configuration file
Jan 11, 2024
d165e17
octep-cp: support runtime checksum offload on/off
Feb 8, 2024
38f952c
vpp: add octeon9 platform specific cmake file
ShivaShankarKommula Feb 7, 2024
42f0ea8
octeon: use proper refs for roc item spec and mask
Aug 8, 2024
d1692ef
octeon: update virtio header length
Aug 5, 2024
0d0844d
octeon: add egress chaining support for virtio
Aug 14, 2024
d5c8dd5
octeon: fix library link issue
Aug 21, 2024
79ad185
octeon: add readme for octeon-virtio plugin
Aug 1, 2024
11bc4e7
linux-cp: fix esn and anti-replay issue
Aug 27, 2024
9cb11c6
crypto-native: fix AES-CBC encrypt loop
dmarion Feb 26, 2024
f105cab
svm: add api to shrink allocated fifo
varunmarvell Aug 8, 2024
943190f
session: add api to shrink fifos
varunmarvell Aug 17, 2024
3cd38e8
vppinfra: export utils for non vppinfra clib users
varunmarvell Aug 8, 2024
2c41976
misc: update version
kmonendra Sep 4, 2024
ca34e79
octeon: enable h/w vlan tagging support
Sep 2, 2024
95f489f
doc: bump dpdk version
Sep 5, 2024
1dc1d08
ci: fix TAG in workflow
nagendraputhane Sep 9, 2024
c39c2a9
ci: update workflow to include platform name
PavanNikhilesh Sep 10, 2024
4116e18
vcl: fix vcl issue in multi-thread-workers mode
Aug 29, 2024
886f224
ipsec: remove redundant code in ipsec_tun_in trace
garvitvarsh Aug 26, 2024
8413bd7
octeon: fix compilation on octeon9
kmonendra Sep 13, 2024
7e565a0
workflow for cn9k platform
Sep 20, 2024
a58c3bb
ci: update docker plugin version
Dec 9, 2024
791eed4
octeon: update crypto counter cli
kmonendra Sep 18, 2024
3a1550d
octeon: fix SDP device link information
kmonendra Sep 23, 2024
a20021a
octeon: enable ethernet pause frame support
Aug 9, 2024
b39c6fe
tls: add async processing support
varunmarvell Aug 17, 2024
9164178
tls: configurable openssl engine support
varunmarvell Aug 27, 2024
f718509
octeon: fix pause flow control for lbk/sdp devices
Sep 24, 2024
a985979
octeon: fix error handling for packet with error
kmonendra Sep 20, 2024
be173a9
tls: fix build issue with ssl async event type
varunmarvell Oct 1, 2024
5fab848
dev: add queue counter clear operation
kmonendra Oct 1, 2024
0ca7f04
octeon: add clear counters for queues
kmonendra Oct 1, 2024
f89d7d9
linux-cp: fix ipsec policy incorrect protocol type
Oct 1, 2024
fa2fec3
octeon: add sample startup conf file
kmonendra Oct 15, 2024
fab45de
octeon: fix link algo crypto failures with esn
nkaithakadan Oct 13, 2024
5ae8b79
octeon: register callback to set max npa pools
kmonendra Oct 9, 2024
71f1143
build: update octeon-roc version
kmonendra Dec 12, 2024
1ded4d3
octeon: update roc function
kmonendra Oct 11, 2024
737f00d
octeon: add port argument to set allmulti mode
kmonendra Oct 3, 2024
15a116a
octeon: add support for hmac_md5 and chachapoly
kdhanawade21 Sep 26, 2024
aa8d946
tls: configurable test cert/key
varunmarvell Oct 24, 2024
9e8ddb1
http_static_l4: initial static http l4 code base
varunmarvell Aug 13, 2024
15b93ce
octeon: use allmulti port argument value
kmonendra Nov 11, 2024
840911e
octeon: set rss flowkey after mac update
kmonendra Nov 6, 2024
c5188d9
dev: assign tx queue to all threads
kmonendra Nov 20, 2024
1be60d3
octeon: add inline ipsec inbound support
nkaithakadan Aug 6, 2024
9d6c5a6
octeon: update roc function
kmonendra Nov 29, 2024
92fffaf
build: update roc version
kmonendra Nov 29, 2024
8d372e9
octeon: add host checksum offload support for sdp
Sep 5, 2024
8f7c2f8
tm: add tm framework for hw traffic management
Feb 27, 2024
c3f2ef5
octep-cp: modify checksum offload support for octeon plugin
Nov 5, 2024
f776c51
octeon: add host checksum offload support
Nov 6, 2024
11d86f3
octeon: add tm support for octeon
Oct 29, 2024
a89c429
octeon: add inline ipsec outbound support
kmonendra Sep 24, 2024
e8a346c
octeon: fix header offset for alloc and free
kmonendra Nov 29, 2024
014f26b
octeon: add port arg to enable MAC pause frame
kmonendra Nov 30, 2024
c468a1b
octeon: fix thread index assignment
kmonendra Nov 30, 2024
1f64701
octeon: revert default queue size to 1024
kmonendra Dec 1, 2024
86ec524
octeon: disable octeon virtio plugin by default
Dec 4, 2024
6aa7ba9
octeon: fix packet check for octeon9
kmonendra Dec 5, 2024
40d4b20
octeon: put deleted session to pool
kmonendra Dec 6, 2024
eaee927
build: fix dao library installation
kmonendra Dec 12, 2024
7db6490
ci: include meson and other dependencies
nagendraputhane Dec 13, 2024
d8e9c24
ci: fix errors regarding meson version
nagendraputhane Dec 13, 2024
9e9335d
ci: add doxygen package
nagendraputhane Dec 14, 2024
7941de3
ci: include packages required for DAO compilation
nagendraputhane Dec 16, 2024
7f51e11
doc: bump dpdk version
nagendraputhane Dec 19, 2024
325dc6e
doc: bump dao version number
nagendraputhane Dec 19, 2024
2948099
ci: add platform name to workflow tags
nagendraputhane Dec 23, 2024
7d2db4e
ci: maintain cpt package version
nagendraputhane Jan 13, 2025
92b06c9
ci: disable draft releases
nagendraputhane Jan 15, 2025
d9e3b28
ci: switch to native arm runners
Feb 3, 2025
eff1c53
ci: bump DPDK version
Feb 5, 2025
389ea6a
octeon: enable support for pkts with switch header
kmonendra Dec 8, 2024
d0f19ae
octeon: rework crypto framework
nkaithakadan Nov 6, 2024
53fadd2
octeon: enable context cache for cpt crypto
nkaithakadan Dec 3, 2024
bf79a6f
octeon: update roc version
kmonendra Jan 2, 2025
19085bc
vlib: update input node counts based on state
kmonendra Dec 20, 2024
bb62b31
octeon: fix scatter gather mem alloc
nkaithakadan Jan 3, 2025
b5837d7
tm: add tm infra for dynamic weight update
Dec 16, 2024
3c41ca2
octeon: enable dynamic weight update for tm nodes
Dec 16, 2024
525c9a5
build: update roc version hash
kmonendra Jan 7, 2025
1845337
octeon: update inline ipsec counter cli
nkaithakadan Jan 10, 2025
ca35d23
octeon: update counter name
kmonendra Jan 8, 2025
61f2829
vcl: fix vls wrk index on fork
florincoras Jan 6, 2025
46eaa58
octeon: add multi-seg support for inline ipsec
kmonendra Nov 25, 2024
61f0d26
octeon: add tm node suspend and resume support
Nov 18, 2024
73fa7ef
build: update roc version
kmonendra Jan 28, 2025
7dc4681
octeon: enable interrupt mechanism
ksatha Dec 18, 2024
8daa955
octeon: add cli to clear inline device counter
kmonendra Jan 8, 2025
81e8be1
octeon: add single rx aura handle per pktio
kmonendra Jan 11, 2025
c44efcd
octeon: fix meta pool callback
kmonendra Jan 16, 2025
d4331ae
octeon: add direct mode changes in crypto datapath
nkaithakadan Dec 4, 2024
18cb7bc
octeon: update plt memzone and realloc functions
kmonendra Jan 20, 2025
fa54656
octeon: fix issue with multi-seg support packet
kmonendra Jan 21, 2025
fc0ac33
vcl: make ldp workers thread local
florincoras Oct 31, 2024
47c5000
octeon: add error handling for inline IPsec
kmonendra Nov 29, 2024
3379eaf
ci: add ci scripts for enabling CI
Jan 20, 2025
7150fe7
octeon: fix quad loop processing in rx node
kmonendra Jan 27, 2025
ebaa4cd
crypto: add async algo macros for ctr sha2
nkaithakadan Jan 6, 2025
86579f4
octeon: optimize inline outbound IPsec performance
kmonendra Dec 11, 2024
0b4d691
octeon: add support for OCTEON20 platform
SunilKumarKori Jan 15, 2025
0043b59
tm: add support for fetching tm capabilities
Dec 19, 2024
851cff3
octeon: add support for fetching tm capabilities
Jan 7, 2025
4ffc3a1
tm: fix node shaper update api
Jan 17, 2025
bac8de2
tls: fix async processing issues with engine
varunmarvell Dec 4, 2024
9176e35
octeon: fix crypto failures after session delete
nkaithakadan Jan 16, 2025
bd9b969
octeon: set cpt descriptor count to 16k
nkaithakadan Jan 23, 2025
e5b8c44
octeon: fix octeon device args list
nkaithakadan Feb 5, 2025
ce5723c
octeon: fix device BAR4 mapping
SunilKumarKori Feb 12, 2025
f52d2cc
octeon: add local meta aura for Inline IPsec
kmonendra Jan 11, 2025
6412339
octeon: fix multi-seg packet processing
kmonendra Feb 11, 2025
fbe8d03
build: ubuntu-24.04 install-deps package list
Feb 17, 2025
d32698f
octeon: remove unused variable
Feb 18, 2025
d472d9e
ci: upgrade to ubuntu 24.04 arm runner
Feb 12, 2025
c0376d8
doc: bump dpdk version
Feb 20, 2025
0602ddb
ci: add oct-ep-target dependency
nagendraputhane Mar 6, 2025
3f2565c
octeon: use single rx and tx aura
kmonendra Feb 18, 2025
16bdbf1
octeon: drop packets if no space in send queue
kmonendra Feb 20, 2025
b610fe7
octeon: add post IPsec reassembly support
kmonendra Jan 29, 2025
f5e13cf
build: update roc version
kmonendra Mar 4, 2025
17482d5
octep-cp: update octeon end point control plain doc
Sep 5, 2024
950f1ba
dev: fix max ethernet size issue for VFs
SunilKumarKori Mar 4, 2025
131b485
octeon: fix batch free from tx aura
kmonendra Mar 1, 2025
ca14795
octeon: fix trace for single loop
kmonendra Mar 6, 2025
fe63a69
octeon: use per tx-queue aura
kmonendra Mar 10, 2025
8eac5da
octeon: fix buffer free in port stop
kmonendra Mar 6, 2025
872943e
octeon: fix invalid mac length in chacha poly
nkaithakadan Mar 9, 2025
9a907c9
ci: resolve oct-ep dependency
nagendraputhane Mar 24, 2025
9a8746b
doc: bump dao version number
nagendraputhane Apr 4, 2025
27cf650
Merge pull request #28 from nagendraputhane/25.05-devel
nagendraputhane Apr 9, 2025
4569e81
doc: bump dpdk version
nagendraputhane Apr 14, 2025
46f0f0c
ci: remove unused FW_PKG_POSTFIX variable
nagendraputhane Apr 28, 2025
abfd190
ci: upgrade action-gh-release to v2.2.2
nagendraputhane Apr 28, 2025
1dcb050
doc: bump pcie-ep version number
nagendraputhane May 2, 2025
ff24630
ci: set default val of OCTEON_VERSION
Mar 11, 2025
ca48c6c
ci: add test scripts
Mar 11, 2025
b8ba87f
octeon: fix debug mode issue
kmonendra Apr 1, 2025
1233ea7
octeon: add model check for cn20k
nkaithakadan Mar 20, 2025
e135b9a
tm: update tm api version
Mar 27, 2025
789764d
build: update roc version
kmonendra Apr 3, 2025
6ada816
ci: update test dir and fix checkstyle
invalid-email-address Apr 3, 2025
155f8f4
octeon: fix number of packets to refill
kmonendra Apr 7, 2025
edb6702
octeon: use send queue derived from sa_index
kmonendra Apr 9, 2025
f5ef178
octeon: flush CQ buffers on stop
ksatha Mar 10, 2025
8389bc0
tm: refactor tm.api data types
Apr 3, 2025
e73b1a9
ci: add l3fwd test script
kmonendra Apr 1, 2025
caa18be
ci: add vpp log for test case
kmonendra Apr 16, 2025
849572a
ci: add inline ipsec test case
kmonendra Apr 20, 2025
d139950
octeon: set cpt min descriptor count to 1024
nkaithakadan May 2, 2025
25207eb
build: update roc version
kmonendra May 3, 2025
493ae7a
ci: remove dynamic installation of packages
May 1, 2025
9636544
octeon: configure CPT result offset
kmonendra May 5, 2025
a8fc379
doc: bump dao version number
nagendraputhane Jun 5, 2025
36e961c
doc: bump dpdk version
nagendraputhane Jul 17, 2025
c78a62f
dev: fix default number of rx queues
kmonendra May 15, 2025
8ec405a
dev: add support to configure driver arguments
kmonendra May 14, 2025
ad609ca
octeon: configure max npa pools using driver arg
kmonendra Jun 3, 2025
57420a5
octeon: move global config option to driver args
kmonendra Jun 3, 2025
f268cc4
build: update roc version
kmonendra Jun 4, 2025
55c4e42
ci: add l3fwd performance test case
kmonendra May 21, 2025
c1af631
octeon: fix length in inline inbound multi-seg
kmonendra Jun 15, 2025
4c33ae3
octeon: fix ipsec interface counter
kmonendra Jun 7, 2025
81b7403
octeon: add debug cli to set aura available count
kmonendra Jun 17, 2025
28893a1
octeon: update dlen for non-chained packets
kmonendra Jun 23, 2025
63c151b
octeon: enable 3des-cbc crypto algorithm
Jun 10, 2025
5897785
octeon: set backpressure config for inline ipsec
kmonendra Jun 30, 2025
9bf7e83
build: update roc version
kmonendra Jul 2, 2025
96d2d18
octeon: add inline IPsec support for o20
kmonendra May 30, 2025
592ddab
octeon: fix ipsec interface rx counter
kmonendra Jul 9, 2025
5c4004f
octeon: fix pause frame support
kmonendra Jul 10, 2025
9bad0d1
ci: add inline outbound ipsec perf test case
kmonendra Jun 29, 2025
eff0e59
ci: add inline inbound ipsec perf test case
kmonendra Jul 4, 2025
3932329
ci: fix skip test search
kmonendra Jul 25, 2025
b36fb33
dpdk: change default behaviour
kmonendra Jul 28, 2025
30aeda3
octeon: update inline ipsec integrity algos
Jul 14, 2025
8d6e107
octeon: fix buffer free in multi-seg cases
kmonendra Jul 28, 2025
2453210
ci: add tx_cksum test script
May 28, 2025
4ad96d0
ci: add multi-seg test with inline ipsec
Jul 25, 2025
9a6882c
build: update roc version
kmonendra Aug 4, 2025
7186f64
octeon: align cptr to 256B in cn20k
nkaithakadan Jun 25, 2025
b9a69c6
accept devel oct-ep package
Sep 4, 2025
58ead80
ci: add multicore support for inline IPsec
kmonendra Jul 23, 2025
a6847fa
octeon: enable tranport mode ipsec support
Aug 20, 2025
7c86331
octeon: add L4 checksum flags
kmonendra Aug 21, 2025
8943b4a
build: update roc version
kmonendra Sep 1, 2025
aa2698c
dev: add helper functions
dmarion Oct 8, 2024
01d7ac4
pfc: add framework for priority flow control
SunilKumarKori May 21, 2025
39be742
octeon: add PFC support
SunilKumarKori May 30, 2025
12cef4e
octeon: revert pause frame port argument naming
kmonendra Sep 2, 2025
ad2464e
octeon: fix issue with RSS and promisc mode
dmarion Sep 15, 2025
fb6e340
octeon: add option to specify RSS flowkey bitmap
dmarion Sep 15, 2025
8a8f6b1
dev: add support for changing RSS key
dmarion Sep 15, 2025
8c32025
octeon: add support for changing RSS key
dmarion Sep 15, 2025
b1ad238
ci: move package dispatch to dao repo
Sep 11, 2025
09335d7
ci: fix cron schedule for devel runners
nagendraputhane Sep 25, 2025
9bcbd7c
linux-cp: fix interface ipip parser in xfrm-nl plugin
May 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
189 changes: 189 additions & 0 deletions .github/workflows/build-cn10k.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
name: build-cn10k

on:
push:
schedule:
- cron: "0 0 * * *"
pull_request:

permissions:
contents: write
pages: write
id-token: write
packages: write

jobs:
ubuntu-cn10k-build:
name: ubuntu-cn10k-arm64
runs-on: ubuntu-24.04-arm

steps:
- name: Checkout sources
uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
fetch-tags: true
- name: Generate cache keys
id: get_ref_keys
run: |
echo 'ccache=ccache-'$(date -u +%Y-m%M) >> $GITHUB_OUTPUT
- name: Retrieve ccache cache
uses: actions/cache@v4
with:
path: ~/.ccache
key: ${{ steps.get_ref_keys.outputs.ccache }}-${{ github.ref }}
restore-keys: |
${{ steps.get_ref_keys.outputs.ccache }}-refs/heads/main
- name: Extract version details
id: version
run: |
mkdir -p "${PWD}/artifacts"
git tag --points-at HEAD > /tmp/tags
# Treat HEAD as "release" only if a release tag (YY.MM.0) points at it.
if git tag --points-at HEAD --list '[0-9][0-9].[0-9][0-9].0' | grep -q .; then
PKG_POSTFIX=
NIGHTLY=false
else
PKG_POSTFIX=-devel
NIGHTLY=true
fi
echo "PKG_VERSION_NAME=`./src/scripts/version | awk -F '-' '{print $1}'`" >> "${PWD}/artifacts/env"
echo "MRVL_PKG_VERSION=`cat MRVL_VERSION`" >> "${PWD}/artifacts/env"
echo "CPT_PKG_VERSION=`cat DEP_PKG_VERSION | grep CPT_PKG_VERSION | awk -F'=' '{print $2}'`" >> "${PWD}/artifacts/env"
echo "DPDK_PKG_VERSION=`cat DPDK_VERSION | grep RELEASE_VERSION | awk -F'=' '{print $2}'`" >> "${PWD}/artifacts/env"
echo "DPDK_BASE_PKG_VERSION=`cat DPDK_VERSION | grep BASE_VERSION | awk -F'=' '{print $2}' | awk -F'.' '{print $1"."$2}'`" >> "${PWD}/artifacts/env"
echo "PKG_POSTFIX=${PKG_POSTFIX}" >> "${PWD}/artifacts/env"
source "${PWD}/artifacts/env"
echo "NIGHTLY=${NIGHTLY}" >> $GITHUB_OUTPUT
echo "DPDK_PKG_VERSION=${DPDK_PKG_VERSION}" >> $GITHUB_OUTPUT
echo "DPDK_BASE_PKG_VERSION=${DPDK_BASE_PKG_VERSION}" >> $GITHUB_OUTPUT
- name: Build VPP and generate package
id: build
run: |
set -x
mkdir -p ~/.ccache
BASE_DIR=${PWD}
sudo apt-get update -q -y
sudo apt-get install -y apt-utils gcc meson sudo make dialog ccache git build-essential software-properties-common
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -q -y
sudo apt-get install -y curl autoconf automake debhelper dkms
sudo apt-get install -y libtool libapr1-dev dh-python libconfuse-dev git-review exuberant-ctags
sudo apt-get install -y cscope pkg-config gcovr lcov chrpath libnuma-dev python3-all
sudo apt-get install -y python3-setuptools check libffi-dev python3-ply libunwind-dev cmake
sudo apt-get install -y ninja-build python3-jsonschema python3-yaml python3-venv python3-dev
sudo apt-get install -y python3-pip libnl-3-dev libnl-route-3-dev libmnl-dev python3-virtualenv
sudo apt-get install -y libssl-dev libelf-dev libpcap-dev iperf3 nasm iperf ethtool tshark jq
sudo apt-get install -y llvm clang clang-format-15 enchant-2 libffi8
sudo apt-get install -y aspell aspell-en autopoint autotools-dev binfmt-support binutils binutils-aarch64-linux-gnu
sudo apt-get install -y binutils-common bsdextrautils bzip2 ca-certificates clang-14 cmake-data cpp cpp-11 cpp-12 dbus
sudo apt-get install -y dctrl-tools debugedit dh-autoreconf dh-elpa-helper dh-strip-nondeterminism dictionaries-common dirmngr
sudo apt-get install -y distro-info-data dpkg-dev dwz emacsen-common fakeroot file fontconfig-config fonts-dejavu-core g++ g++-11
sudo apt-get install -y gcc gcc-11 gcc-11-base gcc-12 gcc-13 gettext gettext-base git-man gnupg gnupg-l10n gnupg-utils gpg gpg-agent
sudo apt-get install -y gpg-wks-client gpg-wks-server gpgconf gpgsm groff-base hunspell-en-us icu-devtools intltool-debian
sudo apt-get install -y javascript-common kmod less libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
sudo apt-get install -y libapparmor1 libapr1 libarchive-cpio-perl libarchive-zip-perl libarchive13 libasan6 libasan8 libaspell15
sudo apt-get install -y libassuan0 libatomic1 libbcg729-0 libbinutils libbrotli1 libbsd0 libc-ares2 libc-dev-bin libc-devtools
sudo apt-get install -y libc6-dev libcap2-bin libcbor0.10 libcc1-0 libclang-common-14-dev libclang-cpp14
sudo apt-get install -y libclang1-14 libcommon-sense-perl libconfuse-common libconfuse-doc libconfuse2 libcrypt-dev libctf-nobfd0
sudo apt-get install -y libctf0 libcurl3-gnutls libcurl4 libdbus-1-3 libdbus-1-dev libdebhelper-perl libdeflate0 libdpkg-perl
sudo apt-get install -y libdw1 libedit2 libelf1 libenchant-2-2 liberror-perl libexpat1 libexpat1-dev libfakeroot libfido2-1
sudo apt-get install -y libfile-fcntllock-perl libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgc1 libgcc-11-dev
sudo apt-get install -y libgcc-12-dev libgd-perl libgd3 libgdbm-compat4 libgdbm6 libglib2.0-0 libglib2.0-data libgomp1
sudo apt-get install -y libhiredis1.1.0 libhunspell-1.7-0 libhwasan0 libicu-dev libicu74 libiperf0 libisl23 libitm1 libjbig0
sudo apt-get install -y libjpeg-turbo8 libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjson-xs-perl
sudo apt-get install -y libjsoncpp25 libkmod2 libksba8 libldap2 libldap2-dev libldap-common libllvm14t64 liblocale-gettext-perl
sudo apt-get install -y liblsan0 libltdl-dev libltdl7 liblua5.2-0 libmagic-mgc libmagic1 libmail-sendmail-perl libmaxminddb0
sudo apt-get install -y libmd0 libmnl0 libmpc3 libmpfr6 libncurses-dev libnghttp2-14 libnl-3-200 libnl-genl-3-200
sudo apt-get install -y libnl-route-3-200 libnpth0 libnsl-dev libnuma1 libobjc-11-dev libobjc4 libpam-cap libpcap0.8
sudo apt-get install -y libpcap0.8-dev libperl5.38t64 libperlio-gzip-perl libpfm4 libpipeline1 libpng16-16 libpsl5 libpython3-dev
sudo apt-get install -y libpython3-stdlib libpython3.12t64 libpython3.12-dev libpython3.12-minimal libreadline8
sudo apt-get install -y librhash0 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libsbc1 libsctp-dev libsctp1
sudo apt-get install -y libsigsegv2 libsmi2ldbl libsnappy1v5 libspandsp2 libspeexdsp1 libsqlite3-0 libssh-4 libssh-gcrypt-4
sudo apt-get install -y libstdc++-11-dev libsub-override-perl libsubunit-dev libsubunit0 libsys-hostname-long-perl
sudo apt-get install -y libtext-iconv-perl libtiff6 libtinfo-dev libtirpc-dev libtsan0 libtsan2 libtypes-serialiser-perl
sudo apt-get install -y libubsan1 libuchardet0 libuv1 libwebp7 libwireshark-data libwireshark17t64 libwiretap14t64 libwsutil15t64 libx11-6
sudo apt-get install -y libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxml2-dev libxmuu1 libxpm4 libxslt1.1
sudo apt-get install -y libyaml-0-2 libz3-4 libz3-dev linux-headers-6.8.0-51 linux-headers-6.8.0-51-generic
sudo apt-get install -y linux-headers-generic linux-libc-dev llvm-14 llvm-14-dev llvm-14-linker-tools llvm-14-runtime
sudo apt-get install -y llvm-14-tools lsb-release lto-disabled-list m4 man-db manpages manpages-dev media-types netbase
sudo apt-get install -y openssh-client openssl patch perl perl-modules-5.38 pinentry-curses po-debconf publicsuffix
sudo apt-get install -y python-babel-localedata python3 python3-attr python3-babel python3-bs4 python3-certifi python3-chardet
sudo apt-get install -y python3-distlib python3-filelock python3-html5lib python3-idna
sudo apt-get install -y python3-importlib-metadata python3-jinja2 python3-lib2to3 python3-lxml python3-markupsafe python3-minimal
sudo apt-get install -y python3-more-itertools python3-pip-whl python3-pkg-resources python3-platformdirs python3-pygments
sudo apt-get install -y python3-pyrsistent python3-requests python3-setuptools-whl python3-six python3-soupsieve python3-tz
sudo apt-get install -y python3-urllib3 python3-webencodings python3-wheel python3-wheel-whl python3-zipp python3.10
sudo apt-get install -y python3-minimal readline-common rpcsvc-proto shared-mime-info tzdata
sudo apt-get install -y ucf uuid-dev wireshark-common xauth xdg-user-dirs xz-utils zlib1g-dev libgmpxx4ldbl
sudo apt-get install -y liblz4-dev liblzma-dev wget libzstd-dev nettle-dev lsb-release doxygen libarchive-dev
sudo apt-get install -y libnl-xfrm-3-dev sphinx-common python3-sphinx-rtd-theme libfdt-dev libjansson-dev libbsd-dev
sudo apt-get install -y python3-pyelftools gcc-14 bzip2-doc libacl1-dev libattr1-dev libbz2-dev libgmp-dev libbpf-dev libconfig-dev
source ${BASE_DIR}/artifacts/env
DISTRO=ubuntu-`lsb_release -rs`
echo "DISTRO=${DISTRO}" >> ${BASE_DIR}/artifacts/env
echo "cache_dir = ~/.ccache" > ~/.ccache/ccache.conf
ccache -p
git config --global --add safe.directory "${PWD}"
sudo APT_ARGS='-y -q' make install-deps
[[ "$PKG_POSTFIX" == "-devel" ]] && TAG=devel || TAG=${MRVL_PKG_VERSION}
wget "https://github.com/MarvellEmbeddedProcessors/dao/releases/download/oct-ep-target-cn10k-${MRVL_PKG_VERSION}-${DISTRO}-${TAG}/oct-ep-target-cn10k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64.deb"
sudo apt-get install -y ./"oct-ep-target-cn10k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64.deb"
make build-release VPP_PLATFORM=octeon10
mkdir -p "${PWD}/install/DEBIAN"
mkdir -p "${PWD}/install/usr/share/vpp/api"
cp -r build-root/install-vpp-native/vpp/share/vpp/api/* "${PWD}/install/usr/share/vpp/api"
mv build-root/install-vpp-native/vpp/* install/.
cd "${PWD}/install"
echo 'Package: vpp-'$PKG_VERSION_NAME'-cn10k'$PKG_POSTFIX >> DEBIAN/control
echo 'Version: '$MRVL_PKG_VERSION >> DEBIAN/control
echo "Maintainer: Jerin Jacob (jerinj@marvell.com)" >> DEBIAN/control
echo 'Depends: python3, python3-ply, dpdk-'$DPDK_BASE_PKG_VERSION'-cn10k (= '$DPDK_PKG_VERSION'), cpt-firmware-cn10k (= '$CPT_PKG_VERSION'), oct-ep-target-cn10k'$PKG_POSTFIX' (>= '$MRVL_PKG_VERSION')' >> DEBIAN/control
echo "Architecture: arm64" >> DEBIAN/control
echo "Homepage: https://wiki.fd.io/view/VPP" >> DEBIAN/control
echo "Description: Vector Packet Processing (VPP) for Octeon10" >> DEBIAN/control
cd -
mv "${PWD}/install" "${PWD}/vpp-${PKG_VERSION_NAME}-cn10k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64"
dpkg --build "vpp-${PKG_VERSION_NAME}-cn10k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64"
cp "vpp-${PKG_VERSION_NAME}-cn10k${PKG_POSTFIX}_${MRVL_PKG_VERSION}_arm64.deb" ${BASE_DIR}/artifacts/.
- name: Export version name
id: artifacts
run: |
source "${PWD}/artifacts/env"
echo $PKG_VERSION_NAME
echo "PKG_VERSION_NAME=${PKG_VERSION_NAME}" >> "$GITHUB_OUTPUT"
echo $MRVL_PKG_VERSION
echo "MRVL_PKG_VERSION=${MRVL_PKG_VERSION}" >> "$GITHUB_OUTPUT"
echo $DISTRO
echo "DISTRO=${DISTRO}" >> "$GITHUB_OUTPUT"
echo $PKG_POSTFIX
echo "PKG_POSTFIX=${PKG_POSTFIX}" >> "$GITHUB_OUTPUT"
[[ "$PKG_POSTFIX" == "-devel" ]] && TAG=devel || TAG=${MRVL_PKG_VERSION}
[[ "$PKG_POSTFIX" == "-devel" ]] && IS_DEVEL="true" || IS_DEVEL="false"
echo "TAG=${TAG}" >> "$GITHUB_OUTPUT"
echo "IS_DEVEL=${IS_DEVEL}" >> "$GITHUB_OUTPUT"
- name: Upload debian package as artifact
uses: actions/upload-artifact@v4.3.1
if: ${{ github.event_name == 'push' }}
with:
name: vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k${{ steps.artifacts.outputs.PKG_POSTFIX }}_${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}_arm64.deb
path: ${{ github.workspace }}/artifacts/vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k${{ steps.artifacts.outputs.PKG_POSTFIX }}_${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}_arm64.deb
- name: Delete existing release
if: ${{ github.event_name == 'push' }}
env:
GH_TOKEN: ${{ github.token }}
run: |
if gh release view vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k-${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}-${{ steps.artifacts.outputs.DISTRO }}-${{ steps.artifacts.outputs.TAG }}; then
gh release delete vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k-${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}-${{ steps.artifacts.outputs.DISTRO }}-${{ steps.artifacts.outputs.TAG }} --cleanup-tag -y
else
echo "Release not found"
fi
continue-on-error: true
- name: Release VPP cn10k package
uses: softprops/action-gh-release@v2.2.2
if: ${{ github.event_name == 'push' }}
with:
draft: false
tag_name: vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k-${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}-${{ steps.artifacts.outputs.DISTRO }}-${{ steps.artifacts.outputs.TAG }}
files: |
${{ github.workspace }}/artifacts/vpp-${{ steps.artifacts.outputs.PKG_VERSION_NAME }}-cn10k${{ steps.artifacts.outputs.PKG_POSTFIX }}_${{ steps.artifacts.outputs.MRVL_PKG_VERSION }}_arm64.deb
Loading
Loading