[dpdk-dev] [PATCH v2] kni: fix compile errors on Oracle Linux6.4 and RHEL6.5

2014-06-23 Thread Thomas Monjalon
> The compile errors are copied as follows. The fixes came from > Linux drivers of ixgbe-3.21.2 and igb-5.1.2 with modifications. > The idea is to use self-defined functions no matter they have > already been defined somewhere or not. > > * Oracle Linux6.4 > lib/librte_eal/linuxapp/kni/ethtool/ixg

[dpdk-dev] [PATCH v2] kni: fix compile errors on Oracle Linux6.4 and RHEL6.5

2014-06-20 Thread Zhang, Helin
e '#define' instead. Regards, Helin -Original Message- From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] Sent: Thursday, June 19, 2014 11:33 PM To: Zhang, Helin Cc: dev at dpdk.org; Neil Horman Subject: Re: [dpdk-dev] [PATCH v2] kni: fix compile errors on Oracle Linux6.4

[dpdk-dev] [PATCH v2] kni: fix compile errors on Oracle Linux6.4 and RHEL6.5

2014-06-19 Thread Thomas Monjalon
2014-06-11 21:43, Helin Zhang: > -#if !(RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,4)) > -static inline bool ether_addr_equal(const u8 *addr1, const u8 *addr2) > +static inline bool __kc_ether_addr_equal(const u8 *addr1, const u8 *addr2) > { > return !compare_ether_addr

[dpdk-dev] [PATCH v2] kni: fix compile errors on Oracle Linux6.4 and RHEL6.5

2014-06-11 Thread Helin Zhang
From: HELIN ZHANG The compile errors are copied as follows. The fixes came from Linux drivers of ixgbe-3.21.2 and igb-5.1.2 with modifications. The idea is to use self-defined functions no matter they have already been defined somewhere or not. * Oracle Linux6.4 lib/librte_eal/linuxapp/kni/ethto