-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
507 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
48
patch/dpdk-stable-17.11.2/0004-patch-dpdk-17.11.2-to-support-rh75-provided-by-Jason.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
From 95e115dd2bfe5f7a7e54af0f73577af0a68fdba0 Mon Sep 17 00:00:00 2001 | ||
From: wencyu <yuwenchao@qiyi.com> | ||
Date: Wed, 13 Nov 2019 10:17:35 +0800 | ||
Subject: [PATCH 4/4] patch dpdk-17.11.2 to support rh75 (provided by Jason Joo | ||
<hblzxsj@163.com>) | ||
|
||
--- | ||
lib/librte_eal/linuxapp/kni/compat.h | 6 ++++++ | ||
lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 6 ++++++ | ||
2 files changed, 12 insertions(+) | ||
|
||
diff --git a/lib/librte_eal/linuxapp/kni/compat.h b/lib/librte_eal/linuxapp/kni/compat.h | ||
index 3f8c0bc..be707bc 100644 | ||
--- a/lib/librte_eal/linuxapp/kni/compat.h | ||
+++ b/lib/librte_eal/linuxapp/kni/compat.h | ||
@@ -101,6 +101,12 @@ | ||
#undef NET_NAME_UNKNOWN | ||
#endif | ||
|
||
+#if (defined(RHEL_RELEASE_CODE) && \ | ||
+ (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 5)) && \ | ||
+ (RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(8, 0))) | ||
+#define ndo_change_mtu ndo_change_mtu_rh74 | ||
+#endif | ||
+ | ||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) | ||
#define HAVE_SIGNAL_FUNCTIONS_OWN_HEADER | ||
#endif | ||
diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h b/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | ||
index 443a3f2..46cad90 100644 | ||
--- a/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | ||
+++ b/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | ||
@@ -3932,6 +3932,12 @@ static inline struct sk_buff *__kc__vlan_hwaccel_put_tag(struct sk_buff *skb, | ||
#define vlan_tx_tag_present skb_vlan_tag_present | ||
#endif | ||
|
||
+#if (defined(RHEL_RELEASE_CODE) && \ | ||
+ (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7, 5)) && \ | ||
+ (RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(8, 0))) | ||
+#define ndo_change_mtu ndo_change_mtu_rh74 | ||
+#endif | ||
+ | ||
#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)) || \ | ||
(SLE_VERSION_CODE && SLE_VERSION_CODE >= SLE_VERSION(12, 3, 0))) | ||
#define HAVE_VF_VLAN_PROTO | ||
-- | ||
1.8.3.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...able-IP-header-len-for-checksum-API.patch → ...able-IP-header-len-for-checksum-API.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.