[ovs-discuss] [ovs-dev] [PATCH v2] datapath: Check for backported netdev_features_t.

Jesse Gross jesse at nicira.com
Thu Jan 23 18:18:48 UTC 2014


On Thu, Jan 23, 2014 at 7:46 AM, Uwe Menges <uwe.menges at sap.com> wrote:
> Hi Jesse,
>
> I refer to the patch mentioned at
> http://openvswitch.org/pipermail/dev/2013-December/035243.html
>
> I'm not into kernel-related programming, so please bear with me.
>
> I tried to apply your patch to be able to compile OVS-2.0.0 tarball
> against RHEL6.5 kernel, but compilation still fails with a different
> type of netdev_features_t error.
>
> Your patch has #ifndef HAVE_NETDEV_FEATURES_T but I don't see where
> HAVE_NETDEV_FEATURES_T would ever be defined? It's not in the kernel
> source, and googling for it just reveals links to your patch.
>
> FWIW, in RHEL6.5 x86_64, netdev_features_t is type u64.

Please don't send off-list messages.

The macro OVS_GREP_IFELSE automatically defines the symbols based on
the expression that it is searching for. On RHEL 6.5 we should find
netdev_features_t and use the native type.



More information about the discuss mailing list