DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5
@ 2018-08-06 12:06 Drocula
  2018-08-09  9:59 ` Ferruh Yigit
  2018-08-09 12:09 ` [dpdk-dev] [PATCH v2] " Drocula
  0 siblings, 2 replies; 9+ messages in thread
From: Drocula @ 2018-08-06 12:06 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev, Drocula

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5
  2018-08-06 12:06 [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5 Drocula
@ 2018-08-09  9:59 ` Ferruh Yigit
  2018-08-09 10:25   ` Drocula
  2018-08-09 12:09 ` [dpdk-dev] [PATCH v2] " Drocula
  1 sibling, 1 reply; 9+ messages in thread
From: Ferruh Yigit @ 2018-08-09  9:59 UTC (permalink / raw)
  To: Drocula; +Cc: dev

On 8/6/2018 1:06 PM, Drocula wrote:
> Signed-off-by: Drocula <quzeyao@gmail.com>

+1 for fixing build error, hence
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

But it would be better to have more detail on the build error, why and when this
change required in RedHat side, it would be good if this information can make on
time, but not I am for still getting the patch.

Also we require "Name Surname" syntax for sign off, can you please provide this.

Thanks,
ferruh

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5
  2018-08-09  9:59 ` Ferruh Yigit
@ 2018-08-09 10:25   ` Drocula
  2018-08-09 10:33     ` Drocula
  0 siblings, 1 reply; 9+ messages in thread
From: Drocula @ 2018-08-09 10:25 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev

This patch Fix compilation errors on Centos 7.4 when
CONFIG_RTE_KNI_KMOD_ETHTOOL is set to 'y'.

On Thu, Aug 9, 2018, 17:59 Ferruh Yigit <ferruh.yigit@intel.com> wrote:

> On 8/6/2018 1:06 PM, Drocula wrote:
> > Signed-off-by: Drocula <quzeyao@gmail.com>
>
> +1 for fixing build error, hence
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
>
> But it would be better to have more detail on the build error, why and
> when this
> change required in RedHat side, it would be good if this information can
> make on
> time, but not I am for still getting the patch.
>
> Also we require "Name Surname" syntax for sign off, can you please provide
> this.
>
> Thanks,
> ferruh
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5
  2018-08-09 10:25   ` Drocula
@ 2018-08-09 10:33     ` Drocula
  0 siblings, 0 replies; 9+ messages in thread
From: Drocula @ 2018-08-09 10:33 UTC (permalink / raw)
  To: Ferruh Yigit; +Cc: dev

Sorry for my mistake,
This patch  fixes compilation errors on Centos 7.5 when
CONFIG_RTE_KNI_KMOD_ETHTOOL is set to 'y'.
On RHEL75 ndo_change_mtu has changed to ndo_change_mtu_rh74.

See commit 37d477b6863e5c06e20be434b559d3a03d89f46a

-- Drocula Lambda

Thanks

On Aug 9, 2018 18:25, "Drocula" <quzeyao@gmail.com> wrote:

This patch Fix compilation errors on Centos 7.4 when
CONFIG_RTE_KNI_KMOD_ETHTOOL is set to 'y'.

On Thu, Aug 9, 2018, 17:59 Ferruh Yigit <ferruh.yigit@intel.com> wrote:

> On 8/6/2018 1:06 PM, Drocula wrote:
> > Signed-off-by: Drocula <quzeyao@gmail.com>
>
> +1 for fixing build error, hence
> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
>
> But it would be better to have more detail on the build error, why and
> when this
> change required in RedHat side, it would be good if this information can
> make on
> time, but not I am for still getting the patch.
>
> Also we require "Name Surname" syntax for sign off, can you please provide
> this.
>
> Thanks,
> ferruh
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [dpdk-dev] [PATCH v2] kni: fix build on RHEL 7.5
  2018-08-06 12:06 [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5 Drocula
  2018-08-09  9:59 ` Ferruh Yigit
@ 2018-08-09 12:09 ` Drocula
  2018-08-09 12:15   ` Ferruh Yigit
  2018-08-09 14:03   ` Thomas Monjalon
  1 sibling, 2 replies; 9+ messages in thread
From: Drocula @ 2018-08-09 12:09 UTC (permalink / raw)
  To: ferruh.yigit; +Cc: dev, Drocula

This patch fixes compilation errors on Centos 7.5 when
CONFIG_RTE_KNI_KMOD_ETHTOOL is set to 'y'.
On RHEL75 ndo_change_mtu has changed to ndo_change_mtu_rh74.

See commit 37d477b6863e5c06 ("kni: fix build on RHEL 7.5")

Signed-off-by: Drocula Lambda <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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [dpdk-dev] [PATCH v2] kni: fix build on RHEL 7.5
  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
  1 sibling, 1 reply; 9+ messages in thread
From: Ferruh Yigit @ 2018-08-09 12:15 UTC (permalink / raw)
  To: Drocula; +Cc: dev

On 8/9/2018 1:09 PM, Drocula wrote:
> This patch fixes compilation errors on Centos 7.5 when
> CONFIG_RTE_KNI_KMOD_ETHTOOL is set to 'y'.
> On RHEL75 ndo_change_mtu has changed to ndo_change_mtu_rh74.
> 
> See commit 37d477b6863e5c06 ("kni: fix build on RHEL 7.5")
> 
> Signed-off-by: Drocula Lambda <quzeyao@gmail.com>

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [dpdk-dev] [PATCH v2] kni: fix build on RHEL 7.5
  2018-08-09 12:09 ` [dpdk-dev] [PATCH v2] " Drocula
  2018-08-09 12:15   ` Ferruh Yigit
@ 2018-08-09 14:03   ` Thomas Monjalon
  2018-08-09 17:10     ` Stephen Hemminger
  1 sibling, 1 reply; 9+ messages in thread
From: Thomas Monjalon @ 2018-08-09 14:03 UTC (permalink / raw)
  To: Drocula, ferruh.yigit; +Cc: dev

> Signed-off-by: Drocula Lambda <quzeyao@gmail.com>

I am not sure we should accept anonymous authors.
Does it really comply with https://developercertificate.org/ ?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [dpdk-dev] [PATCH v2] kni: fix build on RHEL 7.5
  2018-08-09 12:15   ` Ferruh Yigit
@ 2018-08-09 14:10     ` Thomas Monjalon
  0 siblings, 0 replies; 9+ messages in thread
From: Thomas Monjalon @ 2018-08-09 14:10 UTC (permalink / raw)
  To: Drocula; +Cc: dev, Ferruh Yigit

09/08/2018 14:15, Ferruh Yigit:
> On 8/9/2018 1:09 PM, Drocula wrote:
> > This patch fixes compilation errors on Centos 7.5 when
> > CONFIG_RTE_KNI_KMOD_ETHTOOL is set to 'y'.
> > On RHEL75 ndo_change_mtu has changed to ndo_change_mtu_rh74.
> > 
> > See commit 37d477b6863e5c06 ("kni: fix build on RHEL 7.5")
> > 
> > Signed-off-by: Drocula Lambda <quzeyao@gmail.com>

I am pretty sure this is not a real name.
As it is a small patch, I will forgive it.

> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [dpdk-dev] [PATCH v2] kni: fix build on RHEL 7.5
  2018-08-09 14:03   ` Thomas Monjalon
@ 2018-08-09 17:10     ` Stephen Hemminger
  0 siblings, 0 replies; 9+ messages in thread
From: Stephen Hemminger @ 2018-08-09 17:10 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: Drocula, ferruh.yigit, dev

On Thu, 09 Aug 2018 16:03:15 +0200
Thomas Monjalon <thomas@monjalon.net> wrote:

> > Signed-off-by: Drocula Lambda <quzeyao@gmail.com>  
> 
> I am not sure we should accept anonymous authors.
> Does it really comply with https://developercertificate.org/ ?
> 
> 
> 

No we can't accept patches from pseudonym's. DCO is a legal signature
and made up names don't count.

Kernel community went through this with Solar Designer as I remember.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-08-09 17:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-06 12:06 [dpdk-dev] [PATCH] kni: fix build on RHEL 7.5 Drocula
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

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).