Skip to content

Commit c0b15de

Browse files
authored
Merge pull request #29 from ritika0313/T8141
T8141: Update patches compatible with VPP 25.10
2 parents 13d41f2 + e40f067 commit c0b15de

32 files changed

Lines changed: 140 additions & 1145 deletions

File tree

patches/vpp/0001-linux-cp-add-support-for-xfrm-netlink-notifcation.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From a3240c47714ae9ed447581c3557983630bb5f825 Mon Sep 17 00:00:00 2001
1+
From 2b676ce740068202aab2002f3efa0652c8b1c265 Mon Sep 17 00:00:00 2001
22
From: Aakash <saakashkumar@marvell.com>
33
Date: Mon, 1 Aug 2022 04:59:02 -0400
44
Subject: [PATCH] linux-cp: add support for xfrm netlink notifcation
@@ -2473,5 +2473,5 @@ index 000000000..21497cde9
24732473
+ * End:
24742474
+ */
24752475
--
2476-
2.39.5
2476+
2.51.2
24772477

patches/vpp/0002-linux-cp-update-code-to-support-api-proto-changes.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From e238d4e62e66ed9a9e01425a844d57cc33ec316e Mon Sep 17 00:00:00 2001
1+
From c730ee0f262e58d95a3ad0d4181446c2a305a5fb Mon Sep 17 00:00:00 2001
22
From: Kommula Shiva Shankar <kshankar@marvell.com>
33
Date: Tue, 6 Feb 2024 23:23:14 +0530
44
Subject: [PATCH] linux-cp: update code to support api proto changes
@@ -28,5 +28,5 @@ index 5b3a46058..3e5904454 100644
2828
{
2929
NL_XFRM_ERR ("ipsec sa add %x failure(err: %d) %U -> %U", id, rv,
3030
--
31-
2.39.5
31+
2.51.2
3232

patches/vpp/0003-linux-cp-add-ipsec-interface-support-for-xfrm.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 70286cf59119cc1c122d449ee3fd678646ae1b40 Mon Sep 17 00:00:00 2001
1+
From b456ab8cd03ffdece1e201211a3d24d6fcafbec8 Mon Sep 17 00:00:00 2001
22
From: Bheemappa Agasimundin <bagasimundin@marvell.com>
33
Date: Tue, 5 Dec 2023 18:25:33 +0000
44
Subject: [PATCH] linux-cp: add ipsec interface support for xfrm
@@ -306,5 +306,5 @@ index 21497cde9..4eabf40e6 100644
306306
}
307307

308308
--
309-
2.39.5
309+
2.51.2
310310

patches/vpp/0004-linux-cp-initialize-sw_if_index-variable.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 0a6768dea23e4bf4621dac89b166b869f54cc53f Mon Sep 17 00:00:00 2001
1+
From f4b525e43e085bb06fcb82a369c6eaee9085830b Mon Sep 17 00:00:00 2001
22
From: Kommula Shiva Shankar <kshankar@marvell.com>
33
Date: Wed, 7 Feb 2024 11:58:17 +0530
44
Subject: [PATCH] linux-cp: initialize sw_if_index variable
@@ -28,5 +28,5 @@ index 79194c226..fe83a948a 100644
2828
u8 *s = NULL;
2929
u8 instance = xfrmnl_sa_get_reqid (sa);
3030
--
31-
2.39.5
31+
2.51.2
3232

patches/vpp/0005-linux-cp-add-readme-for-xfrm-implementation.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 33348f8e70e26c3fa93ca921cafef5e9af85337c Mon Sep 17 00:00:00 2001
1+
From a42d50376bf27475448e28b8bf0c52f44a80d9cb Mon Sep 17 00:00:00 2001
22
From: Bheemappa Agasimundin <bagasimundin@marvell.com>
33
Date: Sun, 24 Mar 2024 08:36:48 +0000
44
Subject: [PATCH] linux-cp: add readme for xfrm implementation
@@ -199,5 +199,5 @@ index 000000000..9e63646dd
199199
+ nl-batch-delay-ms <>
200200
+}
201201
--
202-
2.39.5
202+
2.51.2
203203

patches/vpp/0006-linux-cp-fix-esn-and-anti-replay-issue.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From adff1ecb857315e7d3e735efe31dc9b322183732 Mon Sep 17 00:00:00 2001
1+
From 12d6216c13960bf83d18677988b3962717096bee Mon Sep 17 00:00:00 2001
22
From: Bheemappa Agasimundin <bagasimundin@marvell.com>
33
Date: Tue, 27 Aug 2024 17:29:30 +0000
44
Subject: [PATCH] linux-cp: fix esn and anti-replay issue
@@ -36,5 +36,5 @@ index fe83a948a..c847e699f 100644
3636
/*
3737
* Kernel SA XFRM doesnt have a flag for AR config. So a non-zero
3838
--
39-
2.39.5
39+
2.51.2
4040

patches/vpp/0007-linux-cp-fix-ipsec-policy-incorrect-protocol-type.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From e5d9989fe860fd394d131c791c3e74bd8952c230 Mon Sep 17 00:00:00 2001
1+
From 037b12a331cfdb1bb84882c138cfa4144630b6c3 Mon Sep 17 00:00:00 2001
22
From: Bheemappa Agasimundin <bagasimundin@marvell.com>
33
Date: Tue, 1 Oct 2024 15:06:41 +0000
44
Subject: [PATCH] linux-cp: fix ipsec policy incorrect protocol type
@@ -51,5 +51,5 @@ index c847e699f..ff6e79649 100644
5151

5252
lcp_xfrm_mk_ipaddr (sel_dst, &sel_daddr);
5353
--
54-
2.39.5
54+
2.51.2
5555

patches/vpp/0008-linux-cp-Added-build-dependency-for-XFRM.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 56275b6a0dbe20b8eb77a16b6525a34ab71b33ca Mon Sep 17 00:00:00 2001
1+
From d1e5a33fccb599ebcfb7fba73e53fa87ea73083c Mon Sep 17 00:00:00 2001
22
From: zdc <taras@vyos.io>
33
Date: Wed, 12 Feb 2025 12:29:57 +0200
44
Subject: [PATCH] linux-cp: Added build dependency for XFRM
@@ -12,10 +12,10 @@ Added `libnl-xfrm-3-200` to build dependencies to make build
1212
1 file changed, 1 insertion(+)
1313

1414
diff --git a/Makefile b/Makefile
15-
index 3cdaf2778..19dafb7c6 100644
15+
index 593ea4e98..9c71ae9e6 100644
1616
--- a/Makefile
1717
+++ b/Makefile
18-
@@ -108,6 +108,7 @@ DEB_DEPENDS += tshark
18+
@@ -116,6 +116,7 @@ DEB_DEPENDS += tshark
1919
DEB_DEPENDS += jq # for extracting test summary from .json report (hs-test)
2020
DEB_DEPENDS += libiberty-dev
2121
DEB_DEPENDS += nasm libnuma-dev # for make-ext-deps
@@ -24,5 +24,5 @@ index 3cdaf2778..19dafb7c6 100644
2424
LIBFFI=libffi6 # works on all but 20.04 and debian-testing
2525
ifeq ($(OS_VERSION_ID),24.04)
2626
--
27-
2.39.5
27+
2.51.2
2828

patches/vpp/0010-Resync-ip-fib-with-Linux-state.patch renamed to patches/vpp/0009-Resync-ip-fib-with-Linux-state.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From d87a33a4dd33f04dce319a1e410bc811808fb7b1 Mon Sep 17 00:00:00 2001
1+
From 176e9de5869e19478016cf18d0575668aac3e23c Mon Sep 17 00:00:00 2001
22
From: Denys Haryachyy <garyachy@gmail.com>
33
Date: Wed, 24 Jul 2024 08:35:25 +0000
44
Subject: [PATCH] Resync ip fib with Linux state.
@@ -76,10 +76,10 @@ index 0db502988..ffcd4d416 100644
7676
* Set up the API message handling tables
7777
*/
7878
diff --git a/src/plugins/linux-cp/lcp_cli.c b/src/plugins/linux-cp/lcp_cli.c
79-
index d10557766..000d6c20d 100644
79+
index e89afd2a7..92ca0d0a9 100644
8080
--- a/src/plugins/linux-cp/lcp_cli.c
8181
+++ b/src/plugins/linux-cp/lcp_cli.c
82-
@@ -405,6 +405,21 @@ VLIB_CLI_COMMAND (lcp_ethertype_show_command, static) = {
82+
@@ -393,6 +393,21 @@ VLIB_CLI_COMMAND (lcp_ethertype_show_command, static) = {
8383
.function = lcp_ethertype_show_cmd,
8484
};
8585

@@ -102,10 +102,10 @@ index d10557766..000d6c20d 100644
102102
lcp_cli_init (vlib_main_t *vm)
103103
{
104104
diff --git a/src/plugins/linux-cp/lcp_interface.c b/src/plugins/linux-cp/lcp_interface.c
105-
index d831d83f9..d4547c81c 100644
105+
index 31864f791..cd9725c87 100644
106106
--- a/src/plugins/linux-cp/lcp_interface.c
107107
+++ b/src/plugins/linux-cp/lcp_interface.c
108-
@@ -1198,6 +1198,17 @@ lcp_itf_pair_replace_end (void)
108+
@@ -1194,6 +1194,17 @@ lcp_itf_pair_replace_end (void)
109109
return (0);
110110
}
111111

@@ -140,7 +140,7 @@ index 8cf6d3f4d..6b44d3d25 100644
140140
* Retreive the pair in the DP
141141
*/
142142
diff --git a/src/plugins/linux-cp/lcp_nl.c b/src/plugins/linux-cp/lcp_nl.c
143-
index 55d2ea542..5ac6ae273 100644
143+
index 95e1adc35..4421311ee 100644
144144
--- a/src/plugins/linux-cp/lcp_nl.c
145145
+++ b/src/plugins/linux-cp/lcp_nl.c
146146
@@ -43,6 +43,7 @@ typedef enum nl_status_t_
@@ -197,5 +197,5 @@ index 55d2ea542..5ac6ae273 100644
197197
* reduce the number of failed attempts that stall the main thread by
198198
* waiting out the notification storm
199199
--
200-
2.39.5
200+
2.51.2
201201

patches/vpp/0009-linux-cp-Added-routing-for-prefixes-with-no-paths-av.patch

Lines changed: 0 additions & 185 deletions
This file was deleted.

0 commit comments

Comments
 (0)