forked from projectcalico/vpp-dataplane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vpp_clone_current.sh
executable file
·72 lines (59 loc) · 3.82 KB
/
vpp_clone_current.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/bash
set -e
function git_cherry_pick ()
{
refs=$1
git fetch "https://gerrit.fd.io/r/vpp" ${refs}
git cherry-pick FETCH_HEAD
git commit --amend -m "gerrit:${refs#refs/changes/*/} $(git log -1 --pretty=%B)"
}
if [ -z "$1" ]; then
echo "Missing VPP path"
exit 1
fi
VPP_COMMIT=6f6663f3ba814e5f721f7cc679e3098812ad93c3
VPP_DIR="$1"
if [ ! -d $1/.git ]; then
rm -rf $1
git clone "https://gerrit.fd.io/r/vpp" $1
cd $1
git reset --hard ${VPP_COMMIT}
else
cd $1
git fetch "https://gerrit.fd.io/r/vpp" && git reset --hard ${VPP_COMMIT}
fi
git_cherry_pick refs/changes/68/32468/3 # 32468: buffers: fix buffer linearization | https://gerrit.fd.io/r/c/vpp/+/32468
git_cherry_pick refs/changes/32/32732/1 # 32732: crypto: fix sw async crypto with chained buffers | https://gerrit.fd.io/r/c/vpp/+/32732
git_cherry_pick refs/changes/33/32833/1 # 32833: ipsec: disable linearization | https://gerrit.fd.io/r/c/vpp/+/32833
git_cherry_pick refs/changes/86/29386/9 # 29386: virtio: DRAFT: multi tx support | https://gerrit.fd.io/r/c/vpp/+/29386
git_cherry_pick refs/changes/21/31321/10 # 31321: devices: add support for pseudo header checksum | https://gerrit.fd.io/r/c/vpp/+/31321
# Revert for now
git fetch "https://gerrit.fd.io/r/vpp" refs/changes/68/32568/6 && git revert --no-edit FETCH_HEAD
git_cherry_pick refs/changes/69/31869/13 # 31869: gso: do not try gro on small packets | https://gerrit.fd.io/r/c/vpp/+/31869
git_cherry_pick refs/changes/76/32476/3 # 32476: gso: handle push flag in gro | https://gerrit.fd.io/r/c/vpp/+/32476
git_cherry_pick refs/changes/82/32482/1 # 32482: virtio: compute cksums in output no offload | https://gerrit.fd.io/r/c/vpp/+/32482
git_cherry_pick refs/changes/83/32483/1 # 32483: virtio: Still init unused txq | https://gerrit.fd.io/r/c/vpp/+/32483
git_cherry_pick refs/changes/71/32871/1 # 32871: devices: Add queues params in create_if | https://gerrit.fd.io/r/c/vpp/+/32871
# IPv6 ND patch (temporary)
git_cherry_pick refs/changes/68/31868/1 # 31868: ip6-nd: silent the source and target checks on given interface | https://gerrit.fd.io/r/c/vpp/+/31868
# --------------- Cnat patches ---------------
git_cherry_pick refs/changes/88/31588/1 # 31588: cnat: [WIP] no k8s maglev from pods | https://gerrit.fd.io/r/c/vpp/+/31588
# --------------- Cnat patches ---------------
# ------------- Policies patches -------------
git_cherry_pick refs/changes/83/28083/16 # 28083: acl: acl-plugin custom policies | https://gerrit.fd.io/r/c/vpp/+/28083
git_cherry_pick refs/changes/13/28513/20 # 25813: capo: Calico Policies plugin | https://gerrit.fd.io/r/c/vpp/+/28513
# ------------- Policies patches -------------
git_cherry_pick refs/changes/64/33164/3 # 33164: dpdk: enable ena interrupt support in dpdk version 21.05 | https://gerrit.fd.io/r/c/vpp/+/33164
# ------------- NSM patches ------------------
git_cherry_pick refs/changes/49/33449/9 # 33449 ip: source address selection
git_cherry_pick refs/changes/56/33156/3 # 33156 ip-neighbor: GARP sent to bogus ip address # added to avoid merge conflict with 33495
git_cherry_pick refs/changes/95/33495/2 # 33495 arp: source address selection
git_cherry_pick refs/changes/13/32413/6 # 32413 wireguard: move adjacency processing from wireguard_peer to wireguard_interface
git_cherry_pick refs/changes/43/32443/7 # 32443 wireguard: use the same udp-port for multi-tunnel
git_cherry_pick refs/changes/09/32009/5 # 32009 wireguard: add ipv6 support
git_cherry_pick refs/changes/85/32685/4 # 32685 wireguard: add events for peer
git_cherry_pick refs/changes/03/33303/2 # 33303 memif: fix offset
git_cherry_pick refs/changes/20/33020/2 # 33020 l3xc: reset dpo on delete
git_cherry_pick refs/changes/68/33568/1 # 33568 ip: check if interface has link-local address (addition)
git_cherry_pick refs/changes/58/33558/1 # 33558 ip: check if interface has link-local address
# ------------- NSM patches ------------------