[ovs-dev] [PATCH v4] Update relevant artifacts to add support for DPDK 17.05.1.

Timothy M. Redaelli tredaelli at redhat.com
Tue Aug 1 10:36:36 UTC 2017


On 07/25/2017 02:34 PM, Michal Weglicki wrote:
> Upgrading to DPDK 17.05.1 stable release adds new
> significant features relevant to OVS, including,
> but not limited to:
> - tun/tap PMD,
> - VFIO hotplug support,
> - Generic flow API.
> 
> Following changes are applied:
> - netdev-dpdk: Changes required by DPDK API modifications.
> - doc: Because of DPDK API changes, backward compatibility
>    with previous DPDK releases will be broken, thus all
>    relevant documentation entries are updated.
> - .travis: DPDK version change from 16.11.1 to 17.05.1.
> - rhel/openvswitch-fedora.spec.in: DPDK version change
>    from 16.11 to 17.05.1
> 
> v1->v2: Patch rebase.
> v2->v3: Fixed wrong formating after v2 patch rebase.
> v3->v4: Minor documentation changes.
> 
> Signed-off-by: Michal Weglicki <michalx.weglicki at intel.com>
> Reviewed-by: Aaron Conole <aconole at redhat.com>
> ---
>   .travis/linux-build.sh                   |   2 +-
>   Documentation/faq/releases.rst           |   1 +
>   Documentation/howto/dpdk.rst             |   6 +-
>   Documentation/intro/install/dpdk.rst     |  14 +--
>   Documentation/topics/dpdk/vhost-user.rst |  12 +--
>   NEWS                                     |   1 +
>   lib/netdev-dpdk.c                        | 144 +++++++++++++++++++------------
>   rhel/openvswitch-fedora.spec.in          |   2 +-
>   tests/dpdk/ring_client.c                 |   6 +-
>   9 files changed, 114 insertions(+), 74 deletions(-)
> 
[...]
> diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
> index 3a045d3..2bb7102 100644
> --- a/rhel/openvswitch-fedora.spec.in
> +++ b/rhel/openvswitch-fedora.spec.in
> @@ -84,7 +84,7 @@ BuildRequires: libcap-ng libcap-ng-devel
>   %endif
>   %if %{with dpdk}
>   BuildRequires: libpcap-devel numactl-devel
> -BuildRequires: dpdk-devel >= 16.11
> +BuildRequires: dpdk-devel >= 17.05.1
>   Provides: %{name}-dpdk = %{version}-%{release}
>   %endif
>  


Hi,
on Fedora there is no dpdk-devel 17.05.1 package, the last rawhide 
version is dpdk-devel 17.05 (and usually Fedora doesn't package minor 
releases of dpdk).

I tried to build openvswitch with the dpdk 17.05 package from rawhide.
It build and it works (tested with dpdkvhostuserclient) so, unless you 
need a specific fix from 17.05.1, I suggest to change the BuildRequires 
to 17.05 instead of 17.05.1 or the package cannot be built on Fedora, 
unless you are using an additional repository (copr).


More information about the dev mailing list