DPDK patches and discussions
 help / color / mirror / Atom feed
From: Drocula <quzeyao@gmail.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: dev@dpdk.org, Drocula <quzeyao@gmail.com>
Subject: [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5
Date: Mon,  6 Aug 2018 12:06:07 +0000	[thread overview]
Message-ID: <1533557167-7390-1-git-send-email-quzeyao@gmail.com> (raw)

Signed-off-by: Drocula <quzeyao@gmail.com>
---
 kernel/linux/kni/ethtool/igb/kcompat.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kernel/linux/kni/ethtool/igb/kcompat.h b/kernel/linux/kni/ethtool/igb/kcompat.h
index 40a8d99..ae1b530 100644
--- a/kernel/linux/kni/ethtool/igb/kcompat.h
+++ b/kernel/linux/kni/ethtool/igb/kcompat.h
@@ -3929,6 +3929,11 @@ static inline struct sk_buff *__kc__vlan_hwaccel_put_tag(struct sk_buff *skb,
 #endif
 #endif
 
+#if (defined(RHEL_RELEASE_CODE) && \
+	(RHEL_RELEASE_VERSION(7, 5) <= RHEL_RELEASE_CODE))
+#define ndo_change_mtu ndo_change_mtu_rh74
+#endif
+
 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0)
 #define HAVE_PCI_ENABLE_MSIX
 #endif
-- 
1.8.3.1

             reply	other threads:[~2018-08-06 12:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-06 12:06 Drocula [this message]
2018-08-09  9:59 ` Ferruh Yigit
2018-08-09 10:25   ` Drocula
2018-08-09 10:33     ` Drocula
2018-08-09 12:09 ` [dpdk-dev] [PATCH v2] " Drocula
2018-08-09 12:15   ` Ferruh Yigit
2018-08-09 14:10     ` Thomas Monjalon
2018-08-09 14:03   ` Thomas Monjalon
2018-08-09 17:10     ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1533557167-7390-1-git-send-email-quzeyao@gmail.com \
    --to=quzeyao@gmail.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).