diff mbox

[ovs-dev,v1] docs: Use DPDK 16.11.2 stable release.

Message ID 1497963423-3418-1-git-send-email-ian.stokes@intel.com
State Accepted
Delegated to: Darrell Ball
Headers show

Commit Message

Stokes, Ian June 20, 2017, 12:57 p.m. UTC
Modify docs and travis linux build script to use the DPDK 16.11.2 stable
branch to benefit from most recent bug fixes.

Signed-off-by: Ian Stokes <ian.stokes@intel.com>
---
 .travis/linux-build.sh                   |    2 +-
 Documentation/faq/releases.rst           |    2 +-
 Documentation/intro/install/dpdk.rst     |    6 +++---
 Documentation/topics/dpdk/vhost-user.rst |    8 ++++----
 4 files changed, 9 insertions(+), 9 deletions(-)

Comments

Stokes, Ian July 3, 2017, 8:01 p.m. UTC | #1
Hi All,

I would like to see this go into the OVS 2.7.1 branch to ensure users are using the latest stable DPDK 16.11 release. If anyone has time to review this patch I would be grateful. I've been using 16.11.2 myself for the last number of weeks and have not encountered any issues.

Thanks
Ian

> -----Original Message-----
> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-
> bounces@openvswitch.org] On Behalf Of Ian Stokes
> Sent: Tuesday, June 20, 2017 1:57 PM
> To: dev@openvswitch.org
> Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
> 
> Modify docs and travis linux build script to use the DPDK 16.11.2 stable
> branch to benefit from most recent bug fixes.
> 
> Signed-off-by: Ian Stokes <ian.stokes@intel.com>
> ---
>  .travis/linux-build.sh                   |    2 +-
>  Documentation/faq/releases.rst           |    2 +-
>  Documentation/intro/install/dpdk.rst     |    6 +++---
>  Documentation/topics/dpdk/vhost-user.rst |    8 ++++----
>  4 files changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index
> 8750d68..f66b534 100755
> --- a/.travis/linux-build.sh
> +++ b/.travis/linux-build.sh
> @@ -80,7 +80,7 @@ fi
> 
>  if [ "$DPDK" ]; then
>      if [ -z "$DPDK_VER" ]; then
> -        DPDK_VER="16.11.1"
> +        DPDK_VER="16.11.2"
>      fi
>      install_dpdk $DPDK_VER
>      if [ "$CC" = "clang" ]; then
> diff --git a/Documentation/faq/releases.rst
> b/Documentation/faq/releases.rst index 6a53e3b..707834b 100644
> --- a/Documentation/faq/releases.rst
> +++ b/Documentation/faq/releases.rst
> @@ -160,7 +160,7 @@ Q: What DPDK version does each Open vSwitch release
> work with?
>      2.4.x        2.0
>      2.5.x        2.2
>      2.6.x        16.07.2
> -    2.7.x        16.11.1
> +    2.7.x        16.11.2
>      ============ =======
> 
>  Q: I get an error like this when I configure Open vSwitch:
> diff --git a/Documentation/intro/install/dpdk.rst
> b/Documentation/intro/install/dpdk.rst
> index e83f852..a05aa1a 100644
> --- a/Documentation/intro/install/dpdk.rst
> +++ b/Documentation/intro/install/dpdk.rst
> @@ -69,9 +69,9 @@ Install DPDK
>  #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
> 
>         $ cd /usr/src/
> -       $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
> -       $ tar xf dpdk-16.11.1.tar.xz
> -       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1
> +       $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
> +       $ tar xf dpdk-16.11.2.tar.xz
> +       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2
>         $ cd $DPDK_DIR
> 
>  #. (Optional) Configure DPDK as a shared library diff --git
> a/Documentation/topics/dpdk/vhost-user.rst
> b/Documentation/topics/dpdk/vhost-user.rst
> index 6b0bf9b..e76da5f 100644
> --- a/Documentation/topics/dpdk/vhost-user.rst
> +++ b/Documentation/topics/dpdk/vhost-user.rst
> @@ -292,9 +292,9 @@ To begin, instantiate a guest as described in
> :ref:`dpdk-vhost-user` or  DPDK sources to VM and build DPDK::
> 
>      $ cd /root/dpdk/
> -    $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
> -    $ tar xf dpdk-16.11.1.tar.xz
> -    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1
> +    $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
> +    $ tar xf dpdk-16.11.2.tar.xz
> +    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2
>      $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
>      $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
>      $ cd $DPDK_DIR
> @@ -378,7 +378,7 @@ Sample XML
>          </disk>
>          <disk type='dir' device='disk'>
>            <driver name='qemu' type='fat'/>
> -          <source dir='/usr/src/dpdk-stable-16.11.1'/>
> +          <source dir='/usr/src/dpdk-stable-16.11.2'/>
>            <target dev='vdb' bus='virtio'/>
>            <readonly/>
>          </disk>
> --
> 1.7.0.7
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Darrell Ball July 3, 2017, 9:52 p.m. UTC | #2
Hi Ian

Do you have a good link to the 16.11.2 release notes ?
I have been looking around and found some links but may not be the best
and I am not sure new functionality is not being enabled with 16.11.2 ?

What specifically do we want from 16.11.2 ?

Thanks Darrell


On 7/3/17, 1:01 PM, "ovs-dev-bounces@openvswitch.org on behalf of Stokes, Ian" <ovs-dev-bounces@openvswitch.org on behalf of ian.stokes@intel.com> wrote:

    Hi All,
    
    I would like to see this go into the OVS 2.7.1 branch to ensure users are using the latest stable DPDK 16.11 release. If anyone has time to review this patch I would be grateful. I've been using 16.11.2 myself for the last number of weeks and have not encountered any issues.
    
    Thanks
    Ian
    
    > -----Original Message-----
    > From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-
    > bounces@openvswitch.org] On Behalf Of Ian Stokes
    > Sent: Tuesday, June 20, 2017 1:57 PM
    > To: dev@openvswitch.org
    > Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
    > 
    > Modify docs and travis linux build script to use the DPDK 16.11.2 stable
    > branch to benefit from most recent bug fixes.
    > 
    > Signed-off-by: Ian Stokes <ian.stokes@intel.com>
    > ---
    >  .travis/linux-build.sh                   |    2 +-
    >  Documentation/faq/releases.rst           |    2 +-
    >  Documentation/intro/install/dpdk.rst     |    6 +++---
    >  Documentation/topics/dpdk/vhost-user.rst |    8 ++++----
    >  4 files changed, 9 insertions(+), 9 deletions(-)
    > 
    > diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index
    > 8750d68..f66b534 100755
    > --- a/.travis/linux-build.sh
    > +++ b/.travis/linux-build.sh
    > @@ -80,7 +80,7 @@ fi
    > 
    >  if [ "$DPDK" ]; then
    >      if [ -z "$DPDK_VER" ]; then
    > -        DPDK_VER="16.11.1"
    > +        DPDK_VER="16.11.2"
    >      fi
    >      install_dpdk $DPDK_VER
    >      if [ "$CC" = "clang" ]; then
    > diff --git a/Documentation/faq/releases.rst
    > b/Documentation/faq/releases.rst index 6a53e3b..707834b 100644
    > --- a/Documentation/faq/releases.rst
    > +++ b/Documentation/faq/releases.rst
    > @@ -160,7 +160,7 @@ Q: What DPDK version does each Open vSwitch release
    > work with?
    >      2.4.x        2.0
    >      2.5.x        2.2
    >      2.6.x        16.07.2
    > -    2.7.x        16.11.1
    > +    2.7.x        16.11.2
    >      ============ =======
    > 
    >  Q: I get an error like this when I configure Open vSwitch:
    > diff --git a/Documentation/intro/install/dpdk.rst
    > b/Documentation/intro/install/dpdk.rst
    > index e83f852..a05aa1a 100644
    > --- a/Documentation/intro/install/dpdk.rst
    > +++ b/Documentation/intro/install/dpdk.rst
    > @@ -69,9 +69,9 @@ Install DPDK
    >  #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
    > 
    >         $ cd /usr/src/
    > -       $ wget https://urldefense.proofpoint.com/v2/url?u=http-3A__fast.dpdk.org_rel_dpdk-2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e= 
    > -       $ tar xf dpdk-16.11.1.tar.xz
    > -       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1
    > +       $ wget https://urldefense.proofpoint.com/v2/url?u=http-3A__fast.dpdk.org_rel_dpdk-2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp36_XAWi7oVNKTTb9ymPuxqoE&e= 
    > +       $ tar xf dpdk-16.11.2.tar.xz
    > +       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2
    >         $ cd $DPDK_DIR
    > 
    >  #. (Optional) Configure DPDK as a shared library diff --git
    > a/Documentation/topics/dpdk/vhost-user.rst
    > b/Documentation/topics/dpdk/vhost-user.rst
    > index 6b0bf9b..e76da5f 100644
    > --- a/Documentation/topics/dpdk/vhost-user.rst
    > +++ b/Documentation/topics/dpdk/vhost-user.rst
    > @@ -292,9 +292,9 @@ To begin, instantiate a guest as described in
    > :ref:`dpdk-vhost-user` or  DPDK sources to VM and build DPDK::
    > 
    >      $ cd /root/dpdk/
    > -    $ wget https://urldefense.proofpoint.com/v2/url?u=http-3A__fast.dpdk.org_rel_dpdk-2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e= 
    > -    $ tar xf dpdk-16.11.1.tar.xz
    > -    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1
    > +    $ wget https://urldefense.proofpoint.com/v2/url?u=http-3A__fast.dpdk.org_rel_dpdk-2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp36_XAWi7oVNKTTb9ymPuxqoE&e= 
    > +    $ tar xf dpdk-16.11.2.tar.xz
    > +    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2
    >      $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
    >      $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
    >      $ cd $DPDK_DIR
    > @@ -378,7 +378,7 @@ Sample XML
    >          </disk>
    >          <disk type='dir' device='disk'>
    >            <driver name='qemu' type='fat'/>
    > -          <source dir='/usr/src/dpdk-stable-16.11.1'/>
    > +          <source dir='/usr/src/dpdk-stable-16.11.2'/>
    >            <target dev='vdb' bus='virtio'/>
    >            <readonly/>
    >          </disk>
    > --
    > 1.7.0.7
    > 
    > _______________________________________________
    > dev mailing list
    > dev@openvswitch.org
    > https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKFdVrKLWxkFtdo6FCV5qrLROY&e= 
    _______________________________________________
    dev mailing list
    dev@openvswitch.org
    https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKFdVrKLWxkFtdo6FCV5qrLROY&e=
Stokes, Ian July 4, 2017, 9:08 a.m. UTC | #3
> Hi Ian
> 
> Do you have a good link to the 16.11.2 release notes ?
> I have been looking around and found some links but may not be the best
> and I am not sure new functionality is not being enabled with 16.11.2 ?
> 
> What specifically do we want from 16.11.2 ?
> 
> Thanks Darrell

Hi Darrell,

16.11.2 will not have new functionality, it will consist of the latest bug fixes for existing functionality for DPDK 16.11.1. There is no API/ABI changes in the stable point releases for DPDK.

A list of the bugs fixed in 16.11.2 since 16.11.1 is available here

http://dpdk.org/doc/guides-16.11/rel_notes/release_16_11.html

In particular what caught my eye was the bug fixes for vfio and vhost

vfio: fix disabling INTx
vfio: fix secondary process start
vhost: change log levels in client mode
vhost: fix dequeue zero copy
vhost: fix false sharing
vhost: fix fd leaks for vhost-user server mode
vhost: fix max queues
vhost: fix multiple queue not enabled for old kernels
vhost: fix use after free

There is also a number of out of bound array bug fixes for the i40e and ixgbe drivers.

On a side note for the motivation for the move, there has been instances in the past (for example mempool allocations) where a bug has been reported in OVS DPDK in specific cornercases, upon investigating we found it was a bug in DPDK 16.11.0 release which had already been reported and fixed in the 16.11.1 release.

As the stable releases consist of bug fixes only there should be no issue pointing users to the latest stable release of the DPDK currently supported. We've done this previously for OVS 2.6.x releases where we've pushed users to the stable DPDK 16.07.2 release.

Ian

> 
> 
> On 7/3/17, 1:01 PM, "ovs-dev-bounces@openvswitch.org on behalf of Stokes,
> Ian" <ovs-dev-bounces@openvswitch.org on behalf of ian.stokes@intel.com>
> wrote:
> 
>     Hi All,
> 
>     I would like to see this go into the OVS 2.7.1 branch to ensure users
> are using the latest stable DPDK 16.11 release. If anyone has time to
> review this patch I would be grateful. I've been using 16.11.2 myself for
> the last number of weeks and have not encountered any issues.
> 
>     Thanks
>     Ian
> 
>     > -----Original Message-----
>     > From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-
>     > bounces@openvswitch.org] On Behalf Of Ian Stokes
>     > Sent: Tuesday, June 20, 2017 1:57 PM
>     > To: dev@openvswitch.org
>     > Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
>     >
>     > Modify docs and travis linux build script to use the DPDK 16.11.2
> stable
>     > branch to benefit from most recent bug fixes.
>     >
>     > Signed-off-by: Ian Stokes <ian.stokes@intel.com>
>     > ---
>     >  .travis/linux-build.sh                   |    2 +-
>     >  Documentation/faq/releases.rst           |    2 +-
>     >  Documentation/intro/install/dpdk.rst     |    6 +++---
>     >  Documentation/topics/dpdk/vhost-user.rst |    8 ++++----
>     >  4 files changed, 9 insertions(+), 9 deletions(-)
>     >
>     > diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index
>     > 8750d68..f66b534 100755
>     > --- a/.travis/linux-build.sh
>     > +++ b/.travis/linux-build.sh
>     > @@ -80,7 +80,7 @@ fi
>     >
>     >  if [ "$DPDK" ]; then
>     >      if [ -z "$DPDK_VER" ]; then
>     > -        DPDK_VER="16.11.1"
>     > +        DPDK_VER="16.11.2"
>     >      fi
>     >      install_dpdk $DPDK_VER
>     >      if [ "$CC" = "clang" ]; then
>     > diff --git a/Documentation/faq/releases.rst
>     > b/Documentation/faq/releases.rst index 6a53e3b..707834b 100644
>     > --- a/Documentation/faq/releases.rst
>     > +++ b/Documentation/faq/releases.rst
>     > @@ -160,7 +160,7 @@ Q: What DPDK version does each Open vSwitch
> release
>     > work with?
>     >      2.4.x        2.0
>     >      2.5.x        2.2
>     >      2.6.x        16.07.2
>     > -    2.7.x        16.11.1
>     > +    2.7.x        16.11.2
>     >      ============ =======
>     >
>     >  Q: I get an error like this when I configure Open vSwitch:
>     > diff --git a/Documentation/intro/install/dpdk.rst
>     > b/Documentation/intro/install/dpdk.rst
>     > index e83f852..a05aa1a 100644
>     > --- a/Documentation/intro/install/dpdk.rst
>     > +++ b/Documentation/intro/install/dpdk.rst
>     > @@ -69,9 +69,9 @@ Install DPDK
>     >  #. Download the `DPDK sources`_, extract the file and set
> ``DPDK_DIR``::
>     >
>     >         $ cd /usr/src/
>     > -       $ wget https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__fast.dpdk.org_rel_dpdk-
> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-
> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=
>     > -       $ tar xf dpdk-16.11.1.tar.xz
>     > -       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1
>     > +       $ wget https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__fast.dpdk.org_rel_dpdk-
> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3
> 6_XAWi7oVNKTTb9ymPuxqoE&e=
>     > +       $ tar xf dpdk-16.11.2.tar.xz
>     > +       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2
>     >         $ cd $DPDK_DIR
>     >
>     >  #. (Optional) Configure DPDK as a shared library diff --git
>     > a/Documentation/topics/dpdk/vhost-user.rst
>     > b/Documentation/topics/dpdk/vhost-user.rst
>     > index 6b0bf9b..e76da5f 100644
>     > --- a/Documentation/topics/dpdk/vhost-user.rst
>     > +++ b/Documentation/topics/dpdk/vhost-user.rst
>     > @@ -292,9 +292,9 @@ To begin, instantiate a guest as described in
>     > :ref:`dpdk-vhost-user` or  DPDK sources to VM and build DPDK::
>     >
>     >      $ cd /root/dpdk/
>     > -    $ wget https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__fast.dpdk.org_rel_dpdk-
> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-
> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=
>     > -    $ tar xf dpdk-16.11.1.tar.xz
>     > -    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1
>     > +    $ wget https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__fast.dpdk.org_rel_dpdk-
> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3
> 6_XAWi7oVNKTTb9ymPuxqoE&e=
>     > +    $ tar xf dpdk-16.11.2.tar.xz
>     > +    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2
>     >      $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
>     >      $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
>     >      $ cd $DPDK_DIR
>     > @@ -378,7 +378,7 @@ Sample XML
>     >          </disk>
>     >          <disk type='dir' device='disk'>
>     >            <driver name='qemu' type='fat'/>
>     > -          <source dir='/usr/src/dpdk-stable-16.11.1'/>
>     > +          <source dir='/usr/src/dpdk-stable-16.11.2'/>
>     >            <target dev='vdb' bus='virtio'/>
>     >            <readonly/>
>     >          </disk>
>     > --
>     > 1.7.0.7
>     >
>     > _______________________________________________
>     > dev mailing list
>     > dev@openvswitch.org
>     > https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__mail.openvswitch.org_mailman_listinfo_ovs-
> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF
> dVrKLWxkFtdo6FCV5qrLROY&e=
>     _______________________________________________
>     dev mailing list
>     dev@openvswitch.org
>     https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__mail.openvswitch.org_mailman_listinfo_ovs-
> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF
> dVrKLWxkFtdo6FCV5qrLROY&e=
>
Mark Kavanagh July 5, 2017, 3:10 p.m. UTC | #4
>From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-bounces@openvswitch.org]
>On Behalf Of Ian Stokes
>Sent: Tuesday, June 20, 2017 1:57 PM
>To: dev@openvswitch.org
>Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
>
>Modify docs and travis linux build script to use the DPDK 16.11.2 stable
>branch to benefit from most recent bug fixes.
>
>Signed-off-by: Ian Stokes <ian.stokes@intel.com>

One comment - I see references to 16.11 in $OVS_DIR/debian/changelog and $OVS_DIR/rhel/openvswitch-fedora.spec.in.

Although these weren't updated for 16.11.1, I wonder if they should have been, and consequently updated here for 16.11.2?

Thanks,
Mark

>---
> .travis/linux-build.sh                   |    2 +-
> Documentation/faq/releases.rst           |    2 +-
> Documentation/intro/install/dpdk.rst     |    6 +++---
> Documentation/topics/dpdk/vhost-user.rst |    8 ++++----
> 4 files changed, 9 insertions(+), 9 deletions(-)
>
>diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
>index 8750d68..f66b534 100755
>--- a/.travis/linux-build.sh
>+++ b/.travis/linux-build.sh
>@@ -80,7 +80,7 @@ fi
>
> if [ "$DPDK" ]; then
>     if [ -z "$DPDK_VER" ]; then
>-        DPDK_VER="16.11.1"
>+        DPDK_VER="16.11.2"
>     fi
>     install_dpdk $DPDK_VER
>     if [ "$CC" = "clang" ]; then
>diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
>index 6a53e3b..707834b 100644
>--- a/Documentation/faq/releases.rst
>+++ b/Documentation/faq/releases.rst
>@@ -160,7 +160,7 @@ Q: What DPDK version does each Open vSwitch release work
>with?
>     2.4.x        2.0
>     2.5.x        2.2
>     2.6.x        16.07.2
>-    2.7.x        16.11.1
>+    2.7.x        16.11.2
>     ============ =======
>
> Q: I get an error like this when I configure Open vSwitch:
>diff --git a/Documentation/intro/install/dpdk.rst
>b/Documentation/intro/install/dpdk.rst
>index e83f852..a05aa1a 100644
>--- a/Documentation/intro/install/dpdk.rst
>+++ b/Documentation/intro/install/dpdk.rst
>@@ -69,9 +69,9 @@ Install DPDK
> #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
>
>        $ cd /usr/src/
>-       $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
>-       $ tar xf dpdk-16.11.1.tar.xz
>-       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1
>+       $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
>+       $ tar xf dpdk-16.11.2.tar.xz
>+       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2
>        $ cd $DPDK_DIR
>
> #. (Optional) Configure DPDK as a shared library
>diff --git a/Documentation/topics/dpdk/vhost-user.rst
>b/Documentation/topics/dpdk/vhost-user.rst
>index 6b0bf9b..e76da5f 100644
>--- a/Documentation/topics/dpdk/vhost-user.rst
>+++ b/Documentation/topics/dpdk/vhost-user.rst
>@@ -292,9 +292,9 @@ To begin, instantiate a guest as described in :ref:`dpdk-
>vhost-user` or
> DPDK sources to VM and build DPDK::
>
>     $ cd /root/dpdk/
>-    $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
>-    $ tar xf dpdk-16.11.1.tar.xz
>-    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1
>+    $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
>+    $ tar xf dpdk-16.11.2.tar.xz
>+    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2
>     $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
>     $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
>     $ cd $DPDK_DIR
>@@ -378,7 +378,7 @@ Sample XML
>         </disk>
>         <disk type='dir' device='disk'>
>           <driver name='qemu' type='fat'/>
>-          <source dir='/usr/src/dpdk-stable-16.11.1'/>
>+          <source dir='/usr/src/dpdk-stable-16.11.2'/>
>           <target dev='vdb' bus='virtio'/>
>           <readonly/>
>         </disk>
>--
>1.7.0.7
>
>_______________________________________________
>dev mailing list
>dev@openvswitch.org
>https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Mark Kavanagh July 5, 2017, 3:15 p.m. UTC | #5
>From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-bounces@openvswitch.org]
>On Behalf Of Stokes, Ian
>Sent: Tuesday, July 4, 2017 10:09 AM
>To: Darrell Ball <dball@vmware.com>; dev@openvswitch.org
>Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
>
>> Hi Ian
>>
>> Do you have a good link to the 16.11.2 release notes ?
>> I have been looking around and found some links but may not be the best
>> and I am not sure new functionality is not being enabled with 16.11.2 ?
>>
>> What specifically do we want from 16.11.2 ?
>>
>> Thanks Darrell
>
>Hi Darrell,
>
>16.11.2 will not have new functionality, it will consist of the latest bug
>fixes for existing functionality for DPDK 16.11.1. There is no API/ABI changes
>in the stable point releases for DPDK.
>
>A list of the bugs fixed in 16.11.2 since 16.11.1 is available here
>
>http://dpdk.org/doc/guides-16.11/rel_notes/release_16_11.html
>
>In particular what caught my eye was the bug fixes for vfio and vhost
>
>vfio: fix disabling INTx
>vfio: fix secondary process start
>vhost: change log levels in client mode
>vhost: fix dequeue zero copy
>vhost: fix false sharing
>vhost: fix fd leaks for vhost-user server mode
>vhost: fix max queues
>vhost: fix multiple queue not enabled for old kernels
>vhost: fix use after free
>
>There is also a number of out of bound array bug fixes for the i40e and ixgbe
>drivers.
>
>On a side note for the motivation for the move, there has been instances in
>the past (for example mempool allocations) where a bug has been reported in
>OVS DPDK in specific cornercases, upon investigating we found it was a bug in
>DPDK 16.11.0 release which had already been reported and fixed in the 16.11.1
>release.


+1 on this - I've handled similar OvS 'bugs' where the root-cause was a DPDK issue that had already been resolved on the DPDK stable branch.
I can't recommend strongly enough that we move to the 16.11.2 branch for OvS 2.7.1 (stable branch + stable branch =  fewer bugs all 'round).

Thanks,
Mark 

>
>As the stable releases consist of bug fixes only there should be no issue
>pointing users to the latest stable release of the DPDK currently supported.
>We've done this previously for OVS 2.6.x releases where we've pushed users to
>the stable DPDK 16.07.2 release.
>
>Ian
>
>>
>>
>> On 7/3/17, 1:01 PM, "ovs-dev-bounces@openvswitch.org on behalf of Stokes,
>> Ian" <ovs-dev-bounces@openvswitch.org on behalf of ian.stokes@intel.com>
>> wrote:
>>
>>     Hi All,
>>
>>     I would like to see this go into the OVS 2.7.1 branch to ensure users
>> are using the latest stable DPDK 16.11 release. If anyone has time to
>> review this patch I would be grateful. I've been using 16.11.2 myself for
>> the last number of weeks and have not encountered any issues.
>>
>>     Thanks
>>     Ian
>>
>>     > -----Original Message-----
>>     > From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-
>>     > bounces@openvswitch.org] On Behalf Of Ian Stokes
>>     > Sent: Tuesday, June 20, 2017 1:57 PM
>>     > To: dev@openvswitch.org
>>     > Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
>>     >
>>     > Modify docs and travis linux build script to use the DPDK 16.11.2
>> stable
>>     > branch to benefit from most recent bug fixes.
>>     >
>>     > Signed-off-by: Ian Stokes <ian.stokes@intel.com>
>>     > ---
>>     >  .travis/linux-build.sh                   |    2 +-
>>     >  Documentation/faq/releases.rst           |    2 +-
>>     >  Documentation/intro/install/dpdk.rst     |    6 +++---
>>     >  Documentation/topics/dpdk/vhost-user.rst |    8 ++++----
>>     >  4 files changed, 9 insertions(+), 9 deletions(-)
>>     >
>>     > diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index
>>     > 8750d68..f66b534 100755
>>     > --- a/.travis/linux-build.sh
>>     > +++ b/.travis/linux-build.sh
>>     > @@ -80,7 +80,7 @@ fi
>>     >
>>     >  if [ "$DPDK" ]; then
>>     >      if [ -z "$DPDK_VER" ]; then
>>     > -        DPDK_VER="16.11.1"
>>     > +        DPDK_VER="16.11.2"
>>     >      fi
>>     >      install_dpdk $DPDK_VER
>>     >      if [ "$CC" = "clang" ]; then
>>     > diff --git a/Documentation/faq/releases.rst
>>     > b/Documentation/faq/releases.rst index 6a53e3b..707834b 100644
>>     > --- a/Documentation/faq/releases.rst
>>     > +++ b/Documentation/faq/releases.rst
>>     > @@ -160,7 +160,7 @@ Q: What DPDK version does each Open vSwitch
>> release
>>     > work with?
>>     >      2.4.x        2.0
>>     >      2.5.x        2.2
>>     >      2.6.x        16.07.2
>>     > -    2.7.x        16.11.1
>>     > +    2.7.x        16.11.2
>>     >      ============ =======
>>     >
>>     >  Q: I get an error like this when I configure Open vSwitch:
>>     > diff --git a/Documentation/intro/install/dpdk.rst
>>     > b/Documentation/intro/install/dpdk.rst
>>     > index e83f852..a05aa1a 100644
>>     > --- a/Documentation/intro/install/dpdk.rst
>>     > +++ b/Documentation/intro/install/dpdk.rst
>>     > @@ -69,9 +69,9 @@ Install DPDK
>>     >  #. Download the `DPDK sources`_, extract the file and set
>> ``DPDK_DIR``::
>>     >
>>     >         $ cd /usr/src/
>>     > -       $ wget https://urldefense.proofpoint.com/v2/url?u=http-
>> 3A__fast.dpdk.org_rel_dpdk-
>> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-
>> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=
>>     > -       $ tar xf dpdk-16.11.1.tar.xz
>>     > -       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1
>>     > +       $ wget https://urldefense.proofpoint.com/v2/url?u=http-
>> 3A__fast.dpdk.org_rel_dpdk-
>> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3
>> 6_XAWi7oVNKTTb9ymPuxqoE&e=
>>     > +       $ tar xf dpdk-16.11.2.tar.xz
>>     > +       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2
>>     >         $ cd $DPDK_DIR
>>     >
>>     >  #. (Optional) Configure DPDK as a shared library diff --git
>>     > a/Documentation/topics/dpdk/vhost-user.rst
>>     > b/Documentation/topics/dpdk/vhost-user.rst
>>     > index 6b0bf9b..e76da5f 100644
>>     > --- a/Documentation/topics/dpdk/vhost-user.rst
>>     > +++ b/Documentation/topics/dpdk/vhost-user.rst
>>     > @@ -292,9 +292,9 @@ To begin, instantiate a guest as described in
>>     > :ref:`dpdk-vhost-user` or  DPDK sources to VM and build DPDK::
>>     >
>>     >      $ cd /root/dpdk/
>>     > -    $ wget https://urldefense.proofpoint.com/v2/url?u=http-
>> 3A__fast.dpdk.org_rel_dpdk-
>> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-
>> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=
>>     > -    $ tar xf dpdk-16.11.1.tar.xz
>>     > -    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1
>>     > +    $ wget https://urldefense.proofpoint.com/v2/url?u=http-
>> 3A__fast.dpdk.org_rel_dpdk-
>> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3
>> 6_XAWi7oVNKTTb9ymPuxqoE&e=
>>     > +    $ tar xf dpdk-16.11.2.tar.xz
>>     > +    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2
>>     >      $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
>>     >      $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
>>     >      $ cd $DPDK_DIR
>>     > @@ -378,7 +378,7 @@ Sample XML
>>     >          </disk>
>>     >          <disk type='dir' device='disk'>
>>     >            <driver name='qemu' type='fat'/>
>>     > -          <source dir='/usr/src/dpdk-stable-16.11.1'/>
>>     > +          <source dir='/usr/src/dpdk-stable-16.11.2'/>
>>     >            <target dev='vdb' bus='virtio'/>
>>     >            <readonly/>
>>     >          </disk>
>>     > --
>>     > 1.7.0.7
>>     >
>>     > _______________________________________________
>>     > dev mailing list
>>     > dev@openvswitch.org
>>     > https://urldefense.proofpoint.com/v2/url?u=https-
>> 3A__mail.openvswitch.org_mailman_listinfo_ovs-
>> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF
>> dVrKLWxkFtdo6FCV5qrLROY&e=
>>     _______________________________________________
>>     dev mailing list
>>     dev@openvswitch.org
>>     https://urldefense.proofpoint.com/v2/url?u=https-
>> 3A__mail.openvswitch.org_mailman_listinfo_ovs-
>> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF
>> dVrKLWxkFtdo6FCV5qrLROY&e=
>>
>
>_______________________________________________
>dev mailing list
>dev@openvswitch.org
>https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Stokes, Ian July 5, 2017, 3:48 p.m. UTC | #6
> >From: ovs-dev-bounces@openvswitch.org
> >[mailto:ovs-dev-bounces@openvswitch.org]
> >On Behalf Of Ian Stokes
> >Sent: Tuesday, June 20, 2017 1:57 PM
> >To: dev@openvswitch.org
> >Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
> >
> >Modify docs and travis linux build script to use the DPDK 16.11.2
> >stable branch to benefit from most recent bug fixes.
> >
> >Signed-off-by: Ian Stokes <ian.stokes@intel.com>
> 
> One comment - I see references to 16.11 in $OVS_DIR/debian/changelog and
> $OVS_DIR/rhel/openvswitch-fedora.spec.in.
> 
> Although these weren't updated for 16.11.1, I wonder if they should have
> been, and consequently updated here for 16.11.2?
HI Mark,

I'm not sure of those should be updated tbh, for debian it's under the header of

openvswitch (2.7.0-1) unstable; urgency=low

I think it should stay as 16.11 here as that's what was initially supported for 2.7.0-1 I would guess.

If a new section for 2.7.1 is added I guess we could add it there (Im not sure though as we haven't done this before).

I'd be slow to update the reference in $OVS_DIR/rhel/openvswitch-fedora.spec.in as its

BuildRequires: dpdk-devel >= 16.11

I would think the >= takes care of moving to the latest 16.11 available for the distro?

I'm not an expert on what would be required for this so happy to defer to others judgements from the RHEL community.

I would like to see the travis and OVS doc changes go through from the patch however and not be blocked by these.

Ian


> 
> Thanks,
> Mark
> 
> >---
> > .travis/linux-build.sh                   |    2 +-
> > Documentation/faq/releases.rst           |    2 +-
> > Documentation/intro/install/dpdk.rst     |    6 +++---
> > Documentation/topics/dpdk/vhost-user.rst |    8 ++++----
> > 4 files changed, 9 insertions(+), 9 deletions(-)
> >
> >diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index
> >8750d68..f66b534 100755
> >--- a/.travis/linux-build.sh
> >+++ b/.travis/linux-build.sh
> >@@ -80,7 +80,7 @@ fi
> >
> > if [ "$DPDK" ]; then
> >     if [ -z "$DPDK_VER" ]; then
> >-        DPDK_VER="16.11.1"
> >+        DPDK_VER="16.11.2"
> >     fi
> >     install_dpdk $DPDK_VER
> >     if [ "$CC" = "clang" ]; then
> >diff --git a/Documentation/faq/releases.rst
> >b/Documentation/faq/releases.rst index 6a53e3b..707834b 100644
> >--- a/Documentation/faq/releases.rst
> >+++ b/Documentation/faq/releases.rst
> >@@ -160,7 +160,7 @@ Q: What DPDK version does each Open vSwitch release
> >work with?
> >     2.4.x        2.0
> >     2.5.x        2.2
> >     2.6.x        16.07.2
> >-    2.7.x        16.11.1
> >+    2.7.x        16.11.2
> >     ============ =======
> >
> > Q: I get an error like this when I configure Open vSwitch:
> >diff --git a/Documentation/intro/install/dpdk.rst
> >b/Documentation/intro/install/dpdk.rst
> >index e83f852..a05aa1a 100644
> >--- a/Documentation/intro/install/dpdk.rst
> >+++ b/Documentation/intro/install/dpdk.rst
> >@@ -69,9 +69,9 @@ Install DPDK
> > #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
> >
> >        $ cd /usr/src/
> >-       $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
> >-       $ tar xf dpdk-16.11.1.tar.xz
> >-       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1
> >+       $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
> >+       $ tar xf dpdk-16.11.2.tar.xz
> >+       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2
> >        $ cd $DPDK_DIR
> >
> > #. (Optional) Configure DPDK as a shared library diff --git
> >a/Documentation/topics/dpdk/vhost-user.rst
> >b/Documentation/topics/dpdk/vhost-user.rst
> >index 6b0bf9b..e76da5f 100644
> >--- a/Documentation/topics/dpdk/vhost-user.rst
> >+++ b/Documentation/topics/dpdk/vhost-user.rst
> >@@ -292,9 +292,9 @@ To begin, instantiate a guest as described in
> >:ref:`dpdk- vhost-user` or  DPDK sources to VM and build DPDK::
> >
> >     $ cd /root/dpdk/
> >-    $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
> >-    $ tar xf dpdk-16.11.1.tar.xz
> >-    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1
> >+    $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
> >+    $ tar xf dpdk-16.11.2.tar.xz
> >+    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2
> >     $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
> >     $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
> >     $ cd $DPDK_DIR
> >@@ -378,7 +378,7 @@ Sample XML
> >         </disk>
> >         <disk type='dir' device='disk'>
> >           <driver name='qemu' type='fat'/>
> >-          <source dir='/usr/src/dpdk-stable-16.11.1'/>
> >+          <source dir='/usr/src/dpdk-stable-16.11.2'/>
> >           <target dev='vdb' bus='virtio'/>
> >           <readonly/>
> >         </disk>
> >--
> >1.7.0.7
> >
> >_______________________________________________
> >dev mailing list
> >dev@openvswitch.org
> >https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Mark Kavanagh July 5, 2017, 4:10 p.m. UTC | #7
>From: Stokes, Ian
>Sent: Wednesday, July 5, 2017 4:48 PM
>To: Kavanagh, Mark B <mark.b.kavanagh@intel.com>; dev@openvswitch.org; Darrell
>Ball <dball@vmware.com>
>Cc: Justin Pettit <jpettit@ovn.org>
>Subject: RE: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
>
>> >From: ovs-dev-bounces@openvswitch.org
>> >[mailto:ovs-dev-bounces@openvswitch.org]
>> >On Behalf Of Ian Stokes
>> >Sent: Tuesday, June 20, 2017 1:57 PM
>> >To: dev@openvswitch.org
>> >Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
>> >
>> >Modify docs and travis linux build script to use the DPDK 16.11.2
>> >stable branch to benefit from most recent bug fixes.
>> >
>> >Signed-off-by: Ian Stokes <ian.stokes@intel.com>
>>
>> One comment - I see references to 16.11 in $OVS_DIR/debian/changelog and
>> $OVS_DIR/rhel/openvswitch-fedora.spec.in.
>>
>> Although these weren't updated for 16.11.1, I wonder if they should have
>> been, and consequently updated here for 16.11.2?
>HI Mark,
>
>I'm not sure of those should be updated tbh, for debian it's under the header
>of
>
>openvswitch (2.7.0-1) unstable; urgency=low
>
>I think it should stay as 16.11 here as that's what was initially supported
>for 2.7.0-1 I would guess.
>
>If a new section for 2.7.1 is added I guess we could add it there (Im not sure
>though as we haven't done this before).
>
>I'd be slow to update the reference in $OVS_DIR/rhel/openvswitch-
>fedora.spec.in as its
>
>BuildRequires: dpdk-devel >= 16.11
>
>I would think the >= takes care of moving to the latest 16.11 available for
>the distro?

Sounds good - I'm no expert on distro-related matters, so this is agreeable with me.

>
>I'm not an expert on what would be required for this so happy to defer to
>other's judgments from the RHEL community.
>
>I would like to see the travis and OVS doc changes go through from the patch
>however and not be blocked by these.

Agreed. If we can agree to proceed with the patch as-is, it LGTM.

I've run the following checks, and found no issues:
- compile against DPDK v16.11.2 with gcc
- compile against DPDK v16.11.2 with clang
- static analysis with sparse
- checkpatch.py

Acked-by: Mark Kavanagh <mark.b.kavanagh@intel.com>


>
>Ian
>
>
>>
>> Thanks,
>> Mark
>>
>> >---
>> > .travis/linux-build.sh                   |    2 +-
>> > Documentation/faq/releases.rst           |    2 +-
>> > Documentation/intro/install/dpdk.rst     |    6 +++---
>> > Documentation/topics/dpdk/vhost-user.rst |    8 ++++----
>> > 4 files changed, 9 insertions(+), 9 deletions(-)
>> >
>> >diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index
>> >8750d68..f66b534 100755
>> >--- a/.travis/linux-build.sh
>> >+++ b/.travis/linux-build.sh
>> >@@ -80,7 +80,7 @@ fi
>> >
>> > if [ "$DPDK" ]; then
>> >     if [ -z "$DPDK_VER" ]; then
>> >-        DPDK_VER="16.11.1"
>> >+        DPDK_VER="16.11.2"
>> >     fi
>> >     install_dpdk $DPDK_VER
>> >     if [ "$CC" = "clang" ]; then
>> >diff --git a/Documentation/faq/releases.rst
>> >b/Documentation/faq/releases.rst index 6a53e3b..707834b 100644
>> >--- a/Documentation/faq/releases.rst
>> >+++ b/Documentation/faq/releases.rst
>> >@@ -160,7 +160,7 @@ Q: What DPDK version does each Open vSwitch release
>> >work with?
>> >     2.4.x        2.0
>> >     2.5.x        2.2
>> >     2.6.x        16.07.2
>> >-    2.7.x        16.11.1
>> >+    2.7.x        16.11.2
>> >     ============ =======
>> >
>> > Q: I get an error like this when I configure Open vSwitch:
>> >diff --git a/Documentation/intro/install/dpdk.rst
>> >b/Documentation/intro/install/dpdk.rst
>> >index e83f852..a05aa1a 100644
>> >--- a/Documentation/intro/install/dpdk.rst
>> >+++ b/Documentation/intro/install/dpdk.rst
>> >@@ -69,9 +69,9 @@ Install DPDK
>> > #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
>> >
>> >        $ cd /usr/src/
>> >-       $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
>> >-       $ tar xf dpdk-16.11.1.tar.xz
>> >-       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1
>> >+       $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
>> >+       $ tar xf dpdk-16.11.2.tar.xz
>> >+       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2
>> >        $ cd $DPDK_DIR
>> >
>> > #. (Optional) Configure DPDK as a shared library diff --git
>> >a/Documentation/topics/dpdk/vhost-user.rst
>> >b/Documentation/topics/dpdk/vhost-user.rst
>> >index 6b0bf9b..e76da5f 100644
>> >--- a/Documentation/topics/dpdk/vhost-user.rst
>> >+++ b/Documentation/topics/dpdk/vhost-user.rst
>> >@@ -292,9 +292,9 @@ To begin, instantiate a guest as described in
>> >:ref:`dpdk- vhost-user` or  DPDK sources to VM and build DPDK::
>> >
>> >     $ cd /root/dpdk/
>> >-    $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
>> >-    $ tar xf dpdk-16.11.1.tar.xz
>> >-    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1
>> >+    $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
>> >+    $ tar xf dpdk-16.11.2.tar.xz
>> >+    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2
>> >     $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
>> >     $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
>> >     $ cd $DPDK_DIR
>> >@@ -378,7 +378,7 @@ Sample XML
>> >         </disk>
>> >         <disk type='dir' device='disk'>
>> >           <driver name='qemu' type='fat'/>
>> >-          <source dir='/usr/src/dpdk-stable-16.11.1'/>
>> >+          <source dir='/usr/src/dpdk-stable-16.11.2'/>
>> >           <target dev='vdb' bus='virtio'/>
>> >           <readonly/>
>> >         </disk>
>> >--
>> >1.7.0.7
>> >
>> >_______________________________________________
>> >dev mailing list
>> >dev@openvswitch.org
>> >https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Darrell Ball July 5, 2017, 4:47 p.m. UTC | #8
On 7/5/17, 8:15 AM, "Kavanagh, Mark B" <mark.b.kavanagh@intel.com> wrote:

    >From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-bounces@openvswitch.org]

    >On Behalf Of Stokes, Ian

    >Sent: Tuesday, July 4, 2017 10:09 AM

    >To: Darrell Ball <dball@vmware.com>; dev@openvswitch.org

    >Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.

    >

    >> Hi Ian

    >>

    >> Do you have a good link to the 16.11.2 release notes ?

    >> I have been looking around and found some links but may not be the best

    >> and I am not sure new functionality is not being enabled with 16.11.2 ?

    >>

    >> What specifically do we want from 16.11.2 ?

    >>

    >> Thanks Darrell

    >

    >Hi Darrell,

    >

    >16.11.2 will not have new functionality, it will consist of the latest bug

    >fixes for existing functionality for DPDK 16.11.1. There is no API/ABI changes

    >in the stable point releases for DPDK.

    >

    >A list of the bugs fixed in 16.11.2 since 16.11.1 is available here

    >

    >https://urldefense.proofpoint.com/v2/url?u=http-3A__dpdk.org_doc_guides-2D16.11_rel-5Fnotes_release-5F16-5F11.html&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=ESCIMH2vhsR-QKMN6ZZCt5cy1GPtZLi5CJHz9ACELWg&e= 

    >

    >In particular what caught my eye was the bug fixes for vfio and vhost

    >

    >vfio: fix disabling INTx

    >vfio: fix secondary process start

    >vhost: change log levels in client mode

    >vhost: fix dequeue zero copy

    >vhost: fix false sharing

    >vhost: fix fd leaks for vhost-user server mode

    >vhost: fix max queues

    >vhost: fix multiple queue not enabled for old kernels

    >vhost: fix use after free

    >

    >There is also a number of out of bound array bug fixes for the i40e and ixgbe

    >drivers.

    >

    >On a side note for the motivation for the move, there has been instances in

    >the past (for example mempool allocations) where a bug has been reported in

    >OVS DPDK in specific cornercases, upon investigating we found it was a bug in

    >DPDK 16.11.0 release which had already been reported and fixed in the 16.11.1

    >release.

    
    
    +1 on this - I've handled similar OvS 'bugs' where the root-cause was a DPDK issue that had already been resolved on the DPDK stable branch.
    I can't recommend strongly enough that we move to the 16.11.2 branch for OvS 2.7.1 (stable branch + stable branch =  fewer bugs all 'round).
    
    Thanks,
    Mark 

Hi Ian

There is no issue regarding plain bug fixes.
The only theoretical concern is enabling new code paths that were short-circuited before
because of bugs, but I don’t think that is all that common.

The link you sent is the one I was referring to but I had some doubts about the
contents so I asked to confirm. I assume the new features and API changes sections are
only related to .0 ?

If that is the case, then:
Acked-by: Darrell Ball <dlu998@gmail.com>


Thanks Darrell





    
    >

    >As the stable releases consist of bug fixes only there should be no issue

    >pointing users to the latest stable release of the DPDK currently supported.

    >We've done this previously for OVS 2.6.x releases where we've pushed users to

    >the stable DPDK 16.07.2 release.

    >

    >Ian

    >

    >>

    >>

    >> On 7/3/17, 1:01 PM, "ovs-dev-bounces@openvswitch.org on behalf of Stokes,

    >> Ian" <ovs-dev-bounces@openvswitch.org on behalf of ian.stokes@intel.com>

    >> wrote:

    >>

    >>     Hi All,

    >>

    >>     I would like to see this go into the OVS 2.7.1 branch to ensure users

    >> are using the latest stable DPDK 16.11 release. If anyone has time to

    >> review this patch I would be grateful. I've been using 16.11.2 myself for

    >> the last number of weeks and have not encountered any issues.

    >>

    >>     Thanks

    >>     Ian

    >>

    >>     > -----Original Message-----

    >>     > From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-

    >>     > bounces@openvswitch.org] On Behalf Of Ian Stokes

    >>     > Sent: Tuesday, June 20, 2017 1:57 PM

    >>     > To: dev@openvswitch.org

    >>     > Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.

    >>     >

    >>     > Modify docs and travis linux build script to use the DPDK 16.11.2

    >> stable

    >>     > branch to benefit from most recent bug fixes.

    >>     >

    >>     > Signed-off-by: Ian Stokes <ian.stokes@intel.com>

    >>     > ---

    >>     >  .travis/linux-build.sh                   |    2 +-

    >>     >  Documentation/faq/releases.rst           |    2 +-

    >>     >  Documentation/intro/install/dpdk.rst     |    6 +++---

    >>     >  Documentation/topics/dpdk/vhost-user.rst |    8 ++++----

    >>     >  4 files changed, 9 insertions(+), 9 deletions(-)

    >>     >

    >>     > diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index

    >>     > 8750d68..f66b534 100755

    >>     > --- a/.travis/linux-build.sh

    >>     > +++ b/.travis/linux-build.sh

    >>     > @@ -80,7 +80,7 @@ fi

    >>     >

    >>     >  if [ "$DPDK" ]; then

    >>     >      if [ -z "$DPDK_VER" ]; then

    >>     > -        DPDK_VER="16.11.1"

    >>     > +        DPDK_VER="16.11.2"

    >>     >      fi

    >>     >      install_dpdk $DPDK_VER

    >>     >      if [ "$CC" = "clang" ]; then

    >>     > diff --git a/Documentation/faq/releases.rst

    >>     > b/Documentation/faq/releases.rst index 6a53e3b..707834b 100644

    >>     > --- a/Documentation/faq/releases.rst

    >>     > +++ b/Documentation/faq/releases.rst

    >>     > @@ -160,7 +160,7 @@ Q: What DPDK version does each Open vSwitch

    >> release

    >>     > work with?

    >>     >      2.4.x        2.0

    >>     >      2.5.x        2.2

    >>     >      2.6.x        16.07.2

    >>     > -    2.7.x        16.11.1

    >>     > +    2.7.x        16.11.2

    >>     >      ============ =======

    >>     >

    >>     >  Q: I get an error like this when I configure Open vSwitch:

    >>     > diff --git a/Documentation/intro/install/dpdk.rst

    >>     > b/Documentation/intro/install/dpdk.rst

    >>     > index e83f852..a05aa1a 100644

    >>     > --- a/Documentation/intro/install/dpdk.rst

    >>     > +++ b/Documentation/intro/install/dpdk.rst

    >>     > @@ -69,9 +69,9 @@ Install DPDK

    >>     >  #. Download the `DPDK sources`_, extract the file and set

    >> ``DPDK_DIR``::

    >>     >

    >>     >         $ cd /usr/src/

    >>     > -       $ wget https://urldefense.proofpoint.com/v2/url?u=http-

    >> 3A__fast.dpdk.org_rel_dpdk-

    >> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

    >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-

    >> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=

    >>     > -       $ tar xf dpdk-16.11.1.tar.xz

    >>     > -       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1

    >>     > +       $ wget https://urldefense.proofpoint.com/v2/url?u=http-

    >> 3A__fast.dpdk.org_rel_dpdk-

    >> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

    >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3

    >> 6_XAWi7oVNKTTb9ymPuxqoE&e=

    >>     > +       $ tar xf dpdk-16.11.2.tar.xz

    >>     > +       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2

    >>     >         $ cd $DPDK_DIR

    >>     >

    >>     >  #. (Optional) Configure DPDK as a shared library diff --git

    >>     > a/Documentation/topics/dpdk/vhost-user.rst

    >>     > b/Documentation/topics/dpdk/vhost-user.rst

    >>     > index 6b0bf9b..e76da5f 100644

    >>     > --- a/Documentation/topics/dpdk/vhost-user.rst

    >>     > +++ b/Documentation/topics/dpdk/vhost-user.rst

    >>     > @@ -292,9 +292,9 @@ To begin, instantiate a guest as described in

    >>     > :ref:`dpdk-vhost-user` or  DPDK sources to VM and build DPDK::

    >>     >

    >>     >      $ cd /root/dpdk/

    >>     > -    $ wget https://urldefense.proofpoint.com/v2/url?u=http-

    >> 3A__fast.dpdk.org_rel_dpdk-

    >> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

    >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-

    >> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=

    >>     > -    $ tar xf dpdk-16.11.1.tar.xz

    >>     > -    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1

    >>     > +    $ wget https://urldefense.proofpoint.com/v2/url?u=http-

    >> 3A__fast.dpdk.org_rel_dpdk-

    >> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

    >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3

    >> 6_XAWi7oVNKTTb9ymPuxqoE&e=

    >>     > +    $ tar xf dpdk-16.11.2.tar.xz

    >>     > +    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2

    >>     >      $ export DPDK_TARGET=x86_64-native-linuxapp-gcc

    >>     >      $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET

    >>     >      $ cd $DPDK_DIR

    >>     > @@ -378,7 +378,7 @@ Sample XML

    >>     >          </disk>

    >>     >          <disk type='dir' device='disk'>

    >>     >            <driver name='qemu' type='fat'/>

    >>     > -          <source dir='/usr/src/dpdk-stable-16.11.1'/>

    >>     > +          <source dir='/usr/src/dpdk-stable-16.11.2'/>

    >>     >            <target dev='vdb' bus='virtio'/>

    >>     >            <readonly/>

    >>     >          </disk>

    >>     > --

    >>     > 1.7.0.7

    >>     >

    >>     > _______________________________________________

    >>     > dev mailing list

    >>     > dev@openvswitch.org

    >>     > https://urldefense.proofpoint.com/v2/url?u=https-

    >> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

    >> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

    >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF

    >> dVrKLWxkFtdo6FCV5qrLROY&e=

    >>     _______________________________________________

    >>     dev mailing list

    >>     dev@openvswitch.org

    >>     https://urldefense.proofpoint.com/v2/url?u=https-

    >> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

    >> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

    >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF

    >> dVrKLWxkFtdo6FCV5qrLROY&e=

    >>

    >

    >_______________________________________________

    >dev mailing list

    >dev@openvswitch.org

    >https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=t-HGsKNH8XjrqR2jnbdIQ0j0uXGrj4R_kJxTEWR4qjQ&e=
Stokes, Ian July 5, 2017, 6:22 p.m. UTC | #9
> -----Original Message-----

> From: Darrell Ball [mailto:dball@vmware.com]

> Sent: Wednesday, July 5, 2017 5:48 PM

> To: Kavanagh, Mark B <mark.b.kavanagh@intel.com>; Stokes, Ian

> <ian.stokes@intel.com>; dev@openvswitch.org

> Cc: Justin Pettit <jpettit@ovn.org>

> Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.

> 

> 

> 

> On 7/5/17, 8:15 AM, "Kavanagh, Mark B" <mark.b.kavanagh@intel.com> wrote:

> 

>     >From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-

> bounces@openvswitch.org]

>     >On Behalf Of Stokes, Ian

>     >Sent: Tuesday, July 4, 2017 10:09 AM

>     >To: Darrell Ball <dball@vmware.com>; dev@openvswitch.org

>     >Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable

> release.

>     >

>     >> Hi Ian

>     >>

>     >> Do you have a good link to the 16.11.2 release notes ?

>     >> I have been looking around and found some links but may not be the

> best

>     >> and I am not sure new functionality is not being enabled with

> 16.11.2 ?

>     >>

>     >> What specifically do we want from 16.11.2 ?

>     >>

>     >> Thanks Darrell

>     >

>     >Hi Darrell,

>     >

>     >16.11.2 will not have new functionality, it will consist of the

> latest bug

>     >fixes for existing functionality for DPDK 16.11.1. There is no

> API/ABI changes

>     >in the stable point releases for DPDK.

>     >

>     >A list of the bugs fixed in 16.11.2 since 16.11.1 is available here

>     >

>     >https://urldefense.proofpoint.com/v2/url?u=http-

> 3A__dpdk.org_doc_guides-2D16.11_rel-5Fnotes_release-5F16-

> 5F11.html&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=ESCIMH2vhsR-

> QKMN6ZZCt5cy1GPtZLi5CJHz9ACELWg&e=

>     >

>     >In particular what caught my eye was the bug fixes for vfio and vhost

>     >

>     >vfio: fix disabling INTx

>     >vfio: fix secondary process start

>     >vhost: change log levels in client mode

>     >vhost: fix dequeue zero copy

>     >vhost: fix false sharing

>     >vhost: fix fd leaks for vhost-user server mode

>     >vhost: fix max queues

>     >vhost: fix multiple queue not enabled for old kernels

>     >vhost: fix use after free

>     >

>     >There is also a number of out of bound array bug fixes for the i40e

> and ixgbe

>     >drivers.

>     >

>     >On a side note for the motivation for the move, there has been

> instances in

>     >the past (for example mempool allocations) where a bug has been

> reported in

>     >OVS DPDK in specific cornercases, upon investigating we found it was

> a bug in

>     >DPDK 16.11.0 release which had already been reported and fixed in the

> 16.11.1

>     >release.

> 

> 

>     +1 on this - I've handled similar OvS 'bugs' where the root-cause was

> a DPDK issue that had already been resolved on the DPDK stable branch.

>     I can't recommend strongly enough that we move to the 16.11.2 branch

> for OvS 2.7.1 (stable branch + stable branch =  fewer bugs all 'round).

> 

>     Thanks,

>     Mark

> 

> Hi Ian

> 

> There is no issue regarding plain bug fixes.

> The only theoretical concern is enabling new code paths that were short-

> circuited before because of bugs, but I don’t think that is all that

> common.

> 

> The link you sent is the one I was referring to but I had some doubts

> about the contents so I asked to confirm. I assume the new features and

> API changes sections are only related to .0 ?

> 

> If that is the case, then:

> Acked-by: Darrell Ball <dlu998@gmail.com>

> 

> Thanks Darrell

> 

> 


Hi Darrell,

I understand the concern with new code paths being enabled but I think we should be ok with this regard.

From what I understand the DPDK stable release revisions undergo validation from the DPDK side before release to ensure these problems are not introduced.

As an aside, one of the reasons we decided to point users to the point releases (16.11.x etc.) instead of pointing to the head of the stable branch was to benefit from this validation and avoid a problem like this. I think this still makes sense.

Your correct in that new features in the link I sent are for the .0 release. The specific fixes for the .2 release are detailed at the bottom under Fixes in 16.11 LTS Release.

Thanks
Ian
 
> 

> 

> 

> 

>     >

>     >As the stable releases consist of bug fixes only there should be no

> issue

>     >pointing users to the latest stable release of the DPDK currently

> supported.

>     >We've done this previously for OVS 2.6.x releases where we've pushed

> users to

>     >the stable DPDK 16.07.2 release.

>     >

>     >Ian

>     >

>     >>

>     >>

>     >> On 7/3/17, 1:01 PM, "ovs-dev-bounces@openvswitch.org on behalf of

> Stokes,

>     >> Ian" <ovs-dev-bounces@openvswitch.org on behalf of

> ian.stokes@intel.com>

>     >> wrote:

>     >>

>     >>     Hi All,

>     >>

>     >>     I would like to see this go into the OVS 2.7.1 branch to ensure

> users

>     >> are using the latest stable DPDK 16.11 release. If anyone has time

> to

>     >> review this patch I would be grateful. I've been using 16.11.2

> myself for

>     >> the last number of weeks and have not encountered any issues.

>     >>

>     >>     Thanks

>     >>     Ian

>     >>

>     >>     > -----Original Message-----

>     >>     > From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-

>     >>     > bounces@openvswitch.org] On Behalf Of Ian Stokes

>     >>     > Sent: Tuesday, June 20, 2017 1:57 PM

>     >>     > To: dev@openvswitch.org

>     >>     > Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable

> release.

>     >>     >

>     >>     > Modify docs and travis linux build script to use the DPDK

> 16.11.2

>     >> stable

>     >>     > branch to benefit from most recent bug fixes.

>     >>     >

>     >>     > Signed-off-by: Ian Stokes <ian.stokes@intel.com>

>     >>     > ---

>     >>     >  .travis/linux-build.sh                   |    2 +-

>     >>     >  Documentation/faq/releases.rst           |    2 +-

>     >>     >  Documentation/intro/install/dpdk.rst     |    6 +++---

>     >>     >  Documentation/topics/dpdk/vhost-user.rst |    8 ++++----

>     >>     >  4 files changed, 9 insertions(+), 9 deletions(-)

>     >>     >

>     >>     > diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh

> index

>     >>     > 8750d68..f66b534 100755

>     >>     > --- a/.travis/linux-build.sh

>     >>     > +++ b/.travis/linux-build.sh

>     >>     > @@ -80,7 +80,7 @@ fi

>     >>     >

>     >>     >  if [ "$DPDK" ]; then

>     >>     >      if [ -z "$DPDK_VER" ]; then

>     >>     > -        DPDK_VER="16.11.1"

>     >>     > +        DPDK_VER="16.11.2"

>     >>     >      fi

>     >>     >      install_dpdk $DPDK_VER

>     >>     >      if [ "$CC" = "clang" ]; then

>     >>     > diff --git a/Documentation/faq/releases.rst

>     >>     > b/Documentation/faq/releases.rst index 6a53e3b..707834b

> 100644

>     >>     > --- a/Documentation/faq/releases.rst

>     >>     > +++ b/Documentation/faq/releases.rst

>     >>     > @@ -160,7 +160,7 @@ Q: What DPDK version does each Open

> vSwitch

>     >> release

>     >>     > work with?

>     >>     >      2.4.x        2.0

>     >>     >      2.5.x        2.2

>     >>     >      2.6.x        16.07.2

>     >>     > -    2.7.x        16.11.1

>     >>     > +    2.7.x        16.11.2

>     >>     >      ============ =======

>     >>     >

>     >>     >  Q: I get an error like this when I configure Open vSwitch:

>     >>     > diff --git a/Documentation/intro/install/dpdk.rst

>     >>     > b/Documentation/intro/install/dpdk.rst

>     >>     > index e83f852..a05aa1a 100644

>     >>     > --- a/Documentation/intro/install/dpdk.rst

>     >>     > +++ b/Documentation/intro/install/dpdk.rst

>     >>     > @@ -69,9 +69,9 @@ Install DPDK

>     >>     >  #. Download the `DPDK sources`_, extract the file and set

>     >> ``DPDK_DIR``::

>     >>     >

>     >>     >         $ cd /usr/src/

>     >>     > -       $ wget

> https://urldefense.proofpoint.com/v2/url?u=http-

>     >> 3A__fast.dpdk.org_rel_dpdk-

>     >>

> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

>     >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-

>     >> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=

>     >>     > -       $ tar xf dpdk-16.11.1.tar.xz

>     >>     > -       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1

>     >>     > +       $ wget

> https://urldefense.proofpoint.com/v2/url?u=http-

>     >> 3A__fast.dpdk.org_rel_dpdk-

>     >>

> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

>     >>

> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3

>     >> 6_XAWi7oVNKTTb9ymPuxqoE&e=

>     >>     > +       $ tar xf dpdk-16.11.2.tar.xz

>     >>     > +       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2

>     >>     >         $ cd $DPDK_DIR

>     >>     >

>     >>     >  #. (Optional) Configure DPDK as a shared library diff --git

>     >>     > a/Documentation/topics/dpdk/vhost-user.rst

>     >>     > b/Documentation/topics/dpdk/vhost-user.rst

>     >>     > index 6b0bf9b..e76da5f 100644

>     >>     > --- a/Documentation/topics/dpdk/vhost-user.rst

>     >>     > +++ b/Documentation/topics/dpdk/vhost-user.rst

>     >>     > @@ -292,9 +292,9 @@ To begin, instantiate a guest as

> described in

>     >>     > :ref:`dpdk-vhost-user` or  DPDK sources to VM and build

> DPDK::

>     >>     >

>     >>     >      $ cd /root/dpdk/

>     >>     > -    $ wget https://urldefense.proofpoint.com/v2/url?u=http-

>     >> 3A__fast.dpdk.org_rel_dpdk-

>     >>

> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

>     >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-

>     >> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=

>     >>     > -    $ tar xf dpdk-16.11.1.tar.xz

>     >>     > -    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1

>     >>     > +    $ wget https://urldefense.proofpoint.com/v2/url?u=http-

>     >> 3A__fast.dpdk.org_rel_dpdk-

>     >>

> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

>     >>

> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3

>     >> 6_XAWi7oVNKTTb9ymPuxqoE&e=

>     >>     > +    $ tar xf dpdk-16.11.2.tar.xz

>     >>     > +    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2

>     >>     >      $ export DPDK_TARGET=x86_64-native-linuxapp-gcc

>     >>     >      $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET

>     >>     >      $ cd $DPDK_DIR

>     >>     > @@ -378,7 +378,7 @@ Sample XML

>     >>     >          </disk>

>     >>     >          <disk type='dir' device='disk'>

>     >>     >            <driver name='qemu' type='fat'/>

>     >>     > -          <source dir='/usr/src/dpdk-stable-16.11.1'/>

>     >>     > +          <source dir='/usr/src/dpdk-stable-16.11.2'/>

>     >>     >            <target dev='vdb' bus='virtio'/>

>     >>     >            <readonly/>

>     >>     >          </disk>

>     >>     > --

>     >>     > 1.7.0.7

>     >>     >

>     >>     > _______________________________________________

>     >>     > dev mailing list

>     >>     > dev@openvswitch.org

>     >>     > https://urldefense.proofpoint.com/v2/url?u=https-

>     >> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

>     >> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

>     >>

> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF

>     >> dVrKLWxkFtdo6FCV5qrLROY&e=

>     >>     _______________________________________________

>     >>     dev mailing list

>     >>     dev@openvswitch.org

>     >>     https://urldefense.proofpoint.com/v2/url?u=https-

>     >> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

>     >> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

>     >>

> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF

>     >> dVrKLWxkFtdo6FCV5qrLROY&e=

>     >>

>     >

>     >_______________________________________________

>     >dev mailing list

>     >dev@openvswitch.org

>     >https://urldefense.proofpoint.com/v2/url?u=https-

> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

> 2Ddev&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=t-

> HGsKNH8XjrqR2jnbdIQ0j0uXGrj4R_kJxTEWR4qjQ&e=

>
Stokes, Ian July 5, 2017, 6:51 p.m. UTC | #10
Hi All,

I've rebased the patch to specifically apply to the current 2.7 branch. I've added your acks to the commit.

https://mail.openvswitch.org/pipermail/ovs-dev/2017-July/334952.html

Thanks
Ian

> -----Original Message-----

> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-

> bounces@openvswitch.org] On Behalf Of Stokes, Ian

> Sent: Wednesday, July 5, 2017 7:23 PM

> To: Darrell Ball <dball@vmware.com>; Kavanagh, Mark B

> <mark.b.kavanagh@intel.com>; dev@openvswitch.org

> Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.

> 

> 

> 

> > -----Original Message-----

> > From: Darrell Ball [mailto:dball@vmware.com]

> > Sent: Wednesday, July 5, 2017 5:48 PM

> > To: Kavanagh, Mark B <mark.b.kavanagh@intel.com>; Stokes, Ian

> > <ian.stokes@intel.com>; dev@openvswitch.org

> > Cc: Justin Pettit <jpettit@ovn.org>

> > Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.

> >

> >

> >

> > On 7/5/17, 8:15 AM, "Kavanagh, Mark B" <mark.b.kavanagh@intel.com>

> wrote:

> >

> >     >From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-

> > bounces@openvswitch.org]

> >     >On Behalf Of Stokes, Ian

> >     >Sent: Tuesday, July 4, 2017 10:09 AM

> >     >To: Darrell Ball <dball@vmware.com>; dev@openvswitch.org

> >     >Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable

> > release.

> >     >

> >     >> Hi Ian

> >     >>

> >     >> Do you have a good link to the 16.11.2 release notes ?

> >     >> I have been looking around and found some links but may not be

> > the best

> >     >> and I am not sure new functionality is not being enabled with

> > 16.11.2 ?

> >     >>

> >     >> What specifically do we want from 16.11.2 ?

> >     >>

> >     >> Thanks Darrell

> >     >

> >     >Hi Darrell,

> >     >

> >     >16.11.2 will not have new functionality, it will consist of the

> > latest bug

> >     >fixes for existing functionality for DPDK 16.11.1. There is no

> > API/ABI changes

> >     >in the stable point releases for DPDK.

> >     >

> >     >A list of the bugs fixed in 16.11.2 since 16.11.1 is available here

> >     >

> >     >https://urldefense.proofpoint.com/v2/url?u=http-

> > 3A__dpdk.org_doc_guides-2D16.11_rel-5Fnotes_release-5F16-

> > 5F11.html&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> > uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=ESCIMH2vhsR-

> > QKMN6ZZCt5cy1GPtZLi5CJHz9ACELWg&e=

> >     >

> >     >In particular what caught my eye was the bug fixes for vfio and

> vhost

> >     >

> >     >vfio: fix disabling INTx

> >     >vfio: fix secondary process start

> >     >vhost: change log levels in client mode

> >     >vhost: fix dequeue zero copy

> >     >vhost: fix false sharing

> >     >vhost: fix fd leaks for vhost-user server mode

> >     >vhost: fix max queues

> >     >vhost: fix multiple queue not enabled for old kernels

> >     >vhost: fix use after free

> >     >

> >     >There is also a number of out of bound array bug fixes for the

> > i40e and ixgbe

> >     >drivers.

> >     >

> >     >On a side note for the motivation for the move, there has been

> > instances in

> >     >the past (for example mempool allocations) where a bug has been

> > reported in

> >     >OVS DPDK in specific cornercases, upon investigating we found it

> > was a bug in

> >     >DPDK 16.11.0 release which had already been reported and fixed in

> > the

> > 16.11.1

> >     >release.

> >

> >

> >     +1 on this - I've handled similar OvS 'bugs' where the root-cause

> > was a DPDK issue that had already been resolved on the DPDK stable

> branch.

> >     I can't recommend strongly enough that we move to the 16.11.2

> > branch for OvS 2.7.1 (stable branch + stable branch =  fewer bugs all

> 'round).

> >

> >     Thanks,

> >     Mark

> >

> > Hi Ian

> >

> > There is no issue regarding plain bug fixes.

> > The only theoretical concern is enabling new code paths that were

> > short- circuited before because of bugs, but I don’t think that is all

> > that common.

> >

> > The link you sent is the one I was referring to but I had some doubts

> > about the contents so I asked to confirm. I assume the new features

> > and API changes sections are only related to .0 ?

> >

> > If that is the case, then:

> > Acked-by: Darrell Ball <dlu998@gmail.com>

> >

> > Thanks Darrell

> >

> >

> 

> Hi Darrell,

> 

> I understand the concern with new code paths being enabled but I think we

> should be ok with this regard.

> 

> From what I understand the DPDK stable release revisions undergo

> validation from the DPDK side before release to ensure these problems are

> not introduced.

> 

> As an aside, one of the reasons we decided to point users to the point

> releases (16.11.x etc.) instead of pointing to the head of the stable

> branch was to benefit from this validation and avoid a problem like this.

> I think this still makes sense.

> 

> Your correct in that new features in the link I sent are for the .0

> release. The specific fixes for the .2 release are detailed at the bottom

> under Fixes in 16.11 LTS Release.

> 

> Thanks

> Ian

> 

> >

> >

> >

> >

> >     >

> >     >As the stable releases consist of bug fixes only there should be

> > no issue

> >     >pointing users to the latest stable release of the DPDK currently

> > supported.

> >     >We've done this previously for OVS 2.6.x releases where we've

> > pushed users to

> >     >the stable DPDK 16.07.2 release.

> >     >

> >     >Ian

> >     >

> >     >>

> >     >>

> >     >> On 7/3/17, 1:01 PM, "ovs-dev-bounces@openvswitch.org on behalf

> > of Stokes,

> >     >> Ian" <ovs-dev-bounces@openvswitch.org on behalf of

> > ian.stokes@intel.com>

> >     >> wrote:

> >     >>

> >     >>     Hi All,

> >     >>

> >     >>     I would like to see this go into the OVS 2.7.1 branch to

> ensure

> > users

> >     >> are using the latest stable DPDK 16.11 release. If anyone has

> > time to

> >     >> review this patch I would be grateful. I've been using 16.11.2

> > myself for

> >     >> the last number of weeks and have not encountered any issues.

> >     >>

> >     >>     Thanks

> >     >>     Ian

> >     >>

> >     >>     > -----Original Message-----

> >     >>     > From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-

> >     >>     > bounces@openvswitch.org] On Behalf Of Ian Stokes

> >     >>     > Sent: Tuesday, June 20, 2017 1:57 PM

> >     >>     > To: dev@openvswitch.org

> >     >>     > Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable

> > release.

> >     >>     >

> >     >>     > Modify docs and travis linux build script to use the DPDK

> > 16.11.2

> >     >> stable

> >     >>     > branch to benefit from most recent bug fixes.

> >     >>     >

> >     >>     > Signed-off-by: Ian Stokes <ian.stokes@intel.com>

> >     >>     > ---

> >     >>     >  .travis/linux-build.sh                   |    2 +-

> >     >>     >  Documentation/faq/releases.rst           |    2 +-

> >     >>     >  Documentation/intro/install/dpdk.rst     |    6 +++---

> >     >>     >  Documentation/topics/dpdk/vhost-user.rst |    8 ++++----

> >     >>     >  4 files changed, 9 insertions(+), 9 deletions(-)

> >     >>     >

> >     >>     > diff --git a/.travis/linux-build.sh b/.travis/linux-

> build.sh

> > index

> >     >>     > 8750d68..f66b534 100755

> >     >>     > --- a/.travis/linux-build.sh

> >     >>     > +++ b/.travis/linux-build.sh

> >     >>     > @@ -80,7 +80,7 @@ fi

> >     >>     >

> >     >>     >  if [ "$DPDK" ]; then

> >     >>     >      if [ -z "$DPDK_VER" ]; then

> >     >>     > -        DPDK_VER="16.11.1"

> >     >>     > +        DPDK_VER="16.11.2"

> >     >>     >      fi

> >     >>     >      install_dpdk $DPDK_VER

> >     >>     >      if [ "$CC" = "clang" ]; then

> >     >>     > diff --git a/Documentation/faq/releases.rst

> >     >>     > b/Documentation/faq/releases.rst index 6a53e3b..707834b

> > 100644

> >     >>     > --- a/Documentation/faq/releases.rst

> >     >>     > +++ b/Documentation/faq/releases.rst

> >     >>     > @@ -160,7 +160,7 @@ Q: What DPDK version does each Open

> > vSwitch

> >     >> release

> >     >>     > work with?

> >     >>     >      2.4.x        2.0

> >     >>     >      2.5.x        2.2

> >     >>     >      2.6.x        16.07.2

> >     >>     > -    2.7.x        16.11.1

> >     >>     > +    2.7.x        16.11.2

> >     >>     >      ============ =======

> >     >>     >

> >     >>     >  Q: I get an error like this when I configure Open vSwitch:

> >     >>     > diff --git a/Documentation/intro/install/dpdk.rst

> >     >>     > b/Documentation/intro/install/dpdk.rst

> >     >>     > index e83f852..a05aa1a 100644

> >     >>     > --- a/Documentation/intro/install/dpdk.rst

> >     >>     > +++ b/Documentation/intro/install/dpdk.rst

> >     >>     > @@ -69,9 +69,9 @@ Install DPDK

> >     >>     >  #. Download the `DPDK sources`_, extract the file and set

> >     >> ``DPDK_DIR``::

> >     >>     >

> >     >>     >         $ cd /usr/src/

> >     >>     > -       $ wget

> > https://urldefense.proofpoint.com/v2/url?u=http-

> >     >> 3A__fast.dpdk.org_rel_dpdk-

> >     >>

> > 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >     >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-

> >     >> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=

> >     >>     > -       $ tar xf dpdk-16.11.1.tar.xz

> >     >>     > -       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1

> >     >>     > +       $ wget

> > https://urldefense.proofpoint.com/v2/url?u=http-

> >     >> 3A__fast.dpdk.org_rel_dpdk-

> >     >>

> > 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >     >>

> >

> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3

> >     >> 6_XAWi7oVNKTTb9ymPuxqoE&e=

> >     >>     > +       $ tar xf dpdk-16.11.2.tar.xz

> >     >>     > +       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2

> >     >>     >         $ cd $DPDK_DIR

> >     >>     >

> >     >>     >  #. (Optional) Configure DPDK as a shared library diff --

> git

> >     >>     > a/Documentation/topics/dpdk/vhost-user.rst

> >     >>     > b/Documentation/topics/dpdk/vhost-user.rst

> >     >>     > index 6b0bf9b..e76da5f 100644

> >     >>     > --- a/Documentation/topics/dpdk/vhost-user.rst

> >     >>     > +++ b/Documentation/topics/dpdk/vhost-user.rst

> >     >>     > @@ -292,9 +292,9 @@ To begin, instantiate a guest as

> > described in

> >     >>     > :ref:`dpdk-vhost-user` or  DPDK sources to VM and build

> > DPDK::

> >     >>     >

> >     >>     >      $ cd /root/dpdk/

> >     >>     > -    $ wget

> https://urldefense.proofpoint.com/v2/url?u=http-

> >     >> 3A__fast.dpdk.org_rel_dpdk-

> >     >>

> > 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >     >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-

> >     >> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=

> >     >>     > -    $ tar xf dpdk-16.11.1.tar.xz

> >     >>     > -    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1

> >     >>     > +    $ wget

> https://urldefense.proofpoint.com/v2/url?u=http-

> >     >> 3A__fast.dpdk.org_rel_dpdk-

> >     >>

> > 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >     >>

> >

> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3

> >     >> 6_XAWi7oVNKTTb9ymPuxqoE&e=

> >     >>     > +    $ tar xf dpdk-16.11.2.tar.xz

> >     >>     > +    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2

> >     >>     >      $ export DPDK_TARGET=x86_64-native-linuxapp-gcc

> >     >>     >      $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET

> >     >>     >      $ cd $DPDK_DIR

> >     >>     > @@ -378,7 +378,7 @@ Sample XML

> >     >>     >          </disk>

> >     >>     >          <disk type='dir' device='disk'>

> >     >>     >            <driver name='qemu' type='fat'/>

> >     >>     > -          <source dir='/usr/src/dpdk-stable-16.11.1'/>

> >     >>     > +          <source dir='/usr/src/dpdk-stable-16.11.2'/>

> >     >>     >            <target dev='vdb' bus='virtio'/>

> >     >>     >            <readonly/>

> >     >>     >          </disk>

> >     >>     > --

> >     >>     > 1.7.0.7

> >     >>     >

> >     >>     > _______________________________________________

> >     >>     > dev mailing list

> >     >>     > dev@openvswitch.org

> >     >>     > https://urldefense.proofpoint.com/v2/url?u=https-

> >     >> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

> >     >> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >     >>

> >

> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF

> >     >> dVrKLWxkFtdo6FCV5qrLROY&e=

> >     >>     _______________________________________________

> >     >>     dev mailing list

> >     >>     dev@openvswitch.org

> >     >>     https://urldefense.proofpoint.com/v2/url?u=https-

> >     >> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

> >     >> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >     >>

> >

> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF

> >     >> dVrKLWxkFtdo6FCV5qrLROY&e=

> >     >>

> >     >

> >     >_______________________________________________

> >     >dev mailing list

> >     >dev@openvswitch.org

> >     >https://urldefense.proofpoint.com/v2/url?u=https-

> > 3A__mail.openvswitch.org_mailman_listinfo_ovs-

> > 2Ddev&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> > uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=t-

> > HGsKNH8XjrqR2jnbdIQ0j0uXGrj4R_kJxTEWR4qjQ&e=

> >

> 

> _______________________________________________

> dev mailing list

> dev@openvswitch.org

> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Ben Pfaff July 5, 2017, 11 p.m. UTC | #11
On Wed, Jul 05, 2017 at 03:48:01PM +0000, Stokes, Ian wrote:
> > >From: ovs-dev-bounces@openvswitch.org
> > >[mailto:ovs-dev-bounces@openvswitch.org]
> > >On Behalf Of Ian Stokes
> > >Sent: Tuesday, June 20, 2017 1:57 PM
> > >To: dev@openvswitch.org
> > >Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
> > >
> > >Modify docs and travis linux build script to use the DPDK 16.11.2
> > >stable branch to benefit from most recent bug fixes.
> > >
> > >Signed-off-by: Ian Stokes <ian.stokes@intel.com>
> > 
> > One comment - I see references to 16.11 in $OVS_DIR/debian/changelog and
> > $OVS_DIR/rhel/openvswitch-fedora.spec.in.
> > 
> > Although these weren't updated for 16.11.1, I wonder if they should have
> > been, and consequently updated here for 16.11.2?
> HI Mark,
> 
> I'm not sure of those should be updated tbh, for debian it's under the header of
> 
> openvswitch (2.7.0-1) unstable; urgency=low
> 
> I think it should stay as 16.11 here as that's what was initially supported for 2.7.0-1 I would guess.
> 
> If a new section for 2.7.1 is added I guess we could add it there (Im not sure though as we haven't done this before).

debian/changelog is mostly a copy of NEWS.  It's meant to explain what
features were added in a release.  It doesn't make sense to update old
entries here, just as it doesn't make sense to update old entries in
NEWS.

> I'd be slow to update the reference in $OVS_DIR/rhel/openvswitch-fedora.spec.in as its
> 
> BuildRequires: dpdk-devel >= 16.11
> 
> I would think the >= takes care of moving to the latest 16.11 available for the distro?

That's my understanding too.
Stokes, Ian July 6, 2017, 7:03 a.m. UTC | #12
> On Wed, Jul 05, 2017 at 03:48:01PM +0000, Stokes, Ian wrote:
> > > >From: ovs-dev-bounces@openvswitch.org
> > > >[mailto:ovs-dev-bounces@openvswitch.org]
> > > >On Behalf Of Ian Stokes
> > > >Sent: Tuesday, June 20, 2017 1:57 PM
> > > >To: dev@openvswitch.org
> > > >Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
> > > >
> > > >Modify docs and travis linux build script to use the DPDK 16.11.2
> > > >stable branch to benefit from most recent bug fixes.
> > > >
> > > >Signed-off-by: Ian Stokes <ian.stokes@intel.com>
> > >
> > > One comment - I see references to 16.11 in $OVS_DIR/debian/changelog
> > > and $OVS_DIR/rhel/openvswitch-fedora.spec.in.
> > >
> > > Although these weren't updated for 16.11.1, I wonder if they should
> > > have been, and consequently updated here for 16.11.2?
> > HI Mark,
> >
> > I'm not sure of those should be updated tbh, for debian it's under the
> > header of
> >
> > openvswitch (2.7.0-1) unstable; urgency=low
> >
> > I think it should stay as 16.11 here as that's what was initially
> supported for 2.7.0-1 I would guess.
> >
> > If a new section for 2.7.1 is added I guess we could add it there (Im
> not sure though as we haven't done this before).
> 
> debian/changelog is mostly a copy of NEWS.  It's meant to explain what
> features were added in a release.  It doesn't make sense to update old
> entries here, just as it doesn't make sense to update old entries in NEWS.
> 
> > I'd be slow to update the reference in
> > $OVS_DIR/rhel/openvswitch-fedora.spec.in as its
> >
> > BuildRequires: dpdk-devel >= 16.11
> >
> > I would think the >= takes care of moving to the latest 16.11 available
> for the distro?
> 
> That's my understanding too.

Thanks for confirming these 2 points Ben, much appreciated.

Ian
Justin Pettit July 6, 2017, 7:14 a.m. UTC | #13
Great.  I've pushed it to "branch-2.7" and it will be part of the 2.7.1 release, which I plan to release shortly.

Since the master branch still references 16.11.1, I'd think you'd also like to apply this patch there, too.  The patch was targeted for "branch-2.7" and doesn't apply cleanly to master.  Normally under these circumstances, we'd target master and then request the committer to backport it to "branch-2.7'.  Would you like me to apply this to master?

Thanks,

--Justin


> On Jul 5, 2017, at 11:51 AM, Stokes, Ian <ian.stokes@intel.com> wrote:
> 
> Hi All,
> 
> I've rebased the patch to specifically apply to the current 2.7 branch. I've added your acks to the commit.
> 
> https://mail.openvswitch.org/pipermail/ovs-dev/2017-July/334952.html
> 
> Thanks
> Ian
> 
>> -----Original Message-----
>> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-
>> bounces@openvswitch.org] On Behalf Of Stokes, Ian
>> Sent: Wednesday, July 5, 2017 7:23 PM
>> To: Darrell Ball <dball@vmware.com>; Kavanagh, Mark B
>> <mark.b.kavanagh@intel.com>; dev@openvswitch.org
>> Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
>> 
>> 
>> 
>>> -----Original Message-----
>>> From: Darrell Ball [mailto:dball@vmware.com]
>>> Sent: Wednesday, July 5, 2017 5:48 PM
>>> To: Kavanagh, Mark B <mark.b.kavanagh@intel.com>; Stokes, Ian
>>> <ian.stokes@intel.com>; dev@openvswitch.org
>>> Cc: Justin Pettit <jpettit@ovn.org>
>>> Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable release.
>>> 
>>> 
>>> 
>>> On 7/5/17, 8:15 AM, "Kavanagh, Mark B" <mark.b.kavanagh@intel.com>
>> wrote:
>>> 
>>>> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-
>>> bounces@openvswitch.org]
>>>> On Behalf Of Stokes, Ian
>>>> Sent: Tuesday, July 4, 2017 10:09 AM
>>>> To: Darrell Ball <dball@vmware.com>; dev@openvswitch.org
>>>> Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable
>>> release.
>>>> 
>>>>> Hi Ian
>>>>> 
>>>>> Do you have a good link to the 16.11.2 release notes ?
>>>>> I have been looking around and found some links but may not be
>>> the best
>>>>> and I am not sure new functionality is not being enabled with
>>> 16.11.2 ?
>>>>> 
>>>>> What specifically do we want from 16.11.2 ?
>>>>> 
>>>>> Thanks Darrell
>>>> 
>>>> Hi Darrell,
>>>> 
>>>> 16.11.2 will not have new functionality, it will consist of the
>>> latest bug
>>>> fixes for existing functionality for DPDK 16.11.1. There is no
>>> API/ABI changes
>>>> in the stable point releases for DPDK.
>>>> 
>>>> A list of the bugs fixed in 16.11.2 since 16.11.1 is available here
>>>> 
>>>> https://urldefense.proofpoint.com/v2/url?u=http-
>>> 3A__dpdk.org_doc_guides-2D16.11_rel-5Fnotes_release-5F16-
>>> 5F11.html&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>>> uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=ESCIMH2vhsR-
>>> QKMN6ZZCt5cy1GPtZLi5CJHz9ACELWg&e=
>>>> 
>>>> In particular what caught my eye was the bug fixes for vfio and
>> vhost
>>>> 
>>>> vfio: fix disabling INTx
>>>> vfio: fix secondary process start
>>>> vhost: change log levels in client mode
>>>> vhost: fix dequeue zero copy
>>>> vhost: fix false sharing
>>>> vhost: fix fd leaks for vhost-user server mode
>>>> vhost: fix max queues
>>>> vhost: fix multiple queue not enabled for old kernels
>>>> vhost: fix use after free
>>>> 
>>>> There is also a number of out of bound array bug fixes for the
>>> i40e and ixgbe
>>>> drivers.
>>>> 
>>>> On a side note for the motivation for the move, there has been
>>> instances in
>>>> the past (for example mempool allocations) where a bug has been
>>> reported in
>>>> OVS DPDK in specific cornercases, upon investigating we found it
>>> was a bug in
>>>> DPDK 16.11.0 release which had already been reported and fixed in
>>> the
>>> 16.11.1
>>>> release.
>>> 
>>> 
>>>    +1 on this - I've handled similar OvS 'bugs' where the root-cause
>>> was a DPDK issue that had already been resolved on the DPDK stable
>> branch.
>>>    I can't recommend strongly enough that we move to the 16.11.2
>>> branch for OvS 2.7.1 (stable branch + stable branch =  fewer bugs all
>> 'round).
>>> 
>>>    Thanks,
>>>    Mark
>>> 
>>> Hi Ian
>>> 
>>> There is no issue regarding plain bug fixes.
>>> The only theoretical concern is enabling new code paths that were
>>> short- circuited before because of bugs, but I don’t think that is all
>>> that common.
>>> 
>>> The link you sent is the one I was referring to but I had some doubts
>>> about the contents so I asked to confirm. I assume the new features
>>> and API changes sections are only related to .0 ?
>>> 
>>> If that is the case, then:
>>> Acked-by: Darrell Ball <dlu998@gmail.com>
>>> 
>>> Thanks Darrell
>>> 
>>> 
>> 
>> Hi Darrell,
>> 
>> I understand the concern with new code paths being enabled but I think we
>> should be ok with this regard.
>> 
>> From what I understand the DPDK stable release revisions undergo
>> validation from the DPDK side before release to ensure these problems are
>> not introduced.
>> 
>> As an aside, one of the reasons we decided to point users to the point
>> releases (16.11.x etc.) instead of pointing to the head of the stable
>> branch was to benefit from this validation and avoid a problem like this.
>> I think this still makes sense.
>> 
>> Your correct in that new features in the link I sent are for the .0
>> release. The specific fixes for the .2 release are detailed at the bottom
>> under Fixes in 16.11 LTS Release.
>> 
>> Thanks
>> Ian
>> 
>>> 
>>> 
>>> 
>>> 
>>>> 
>>>> As the stable releases consist of bug fixes only there should be
>>> no issue
>>>> pointing users to the latest stable release of the DPDK currently
>>> supported.
>>>> We've done this previously for OVS 2.6.x releases where we've
>>> pushed users to
>>>> the stable DPDK 16.07.2 release.
>>>> 
>>>> Ian
>>>> 
>>>>> 
>>>>> 
>>>>> On 7/3/17, 1:01 PM, "ovs-dev-bounces@openvswitch.org on behalf
>>> of Stokes,
>>>>> Ian" <ovs-dev-bounces@openvswitch.org on behalf of
>>> ian.stokes@intel.com>
>>>>> wrote:
>>>>> 
>>>>>    Hi All,
>>>>> 
>>>>>    I would like to see this go into the OVS 2.7.1 branch to
>> ensure
>>> users
>>>>> are using the latest stable DPDK 16.11 release. If anyone has
>>> time to
>>>>> review this patch I would be grateful. I've been using 16.11.2
>>> myself for
>>>>> the last number of weeks and have not encountered any issues.
>>>>> 
>>>>>    Thanks
>>>>>    Ian
>>>>> 
>>>>>> -----Original Message-----
>>>>>> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-
>>>>>> bounces@openvswitch.org] On Behalf Of Ian Stokes
>>>>>> Sent: Tuesday, June 20, 2017 1:57 PM
>>>>>> To: dev@openvswitch.org
>>>>>> Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable
>>> release.
>>>>>> 
>>>>>> Modify docs and travis linux build script to use the DPDK
>>> 16.11.2
>>>>> stable
>>>>>> branch to benefit from most recent bug fixes.
>>>>>> 
>>>>>> Signed-off-by: Ian Stokes <ian.stokes@intel.com>
>>>>>> ---
>>>>>> .travis/linux-build.sh                   |    2 +-
>>>>>> Documentation/faq/releases.rst           |    2 +-
>>>>>> Documentation/intro/install/dpdk.rst     |    6 +++---
>>>>>> Documentation/topics/dpdk/vhost-user.rst |    8 ++++----
>>>>>> 4 files changed, 9 insertions(+), 9 deletions(-)
>>>>>> 
>>>>>> diff --git a/.travis/linux-build.sh b/.travis/linux-
>> build.sh
>>> index
>>>>>> 8750d68..f66b534 100755
>>>>>> --- a/.travis/linux-build.sh
>>>>>> +++ b/.travis/linux-build.sh
>>>>>> @@ -80,7 +80,7 @@ fi
>>>>>> 
>>>>>> if [ "$DPDK" ]; then
>>>>>>     if [ -z "$DPDK_VER" ]; then
>>>>>> -        DPDK_VER="16.11.1"
>>>>>> +        DPDK_VER="16.11.2"
>>>>>>     fi
>>>>>>     install_dpdk $DPDK_VER
>>>>>>     if [ "$CC" = "clang" ]; then
>>>>>> diff --git a/Documentation/faq/releases.rst
>>>>>> b/Documentation/faq/releases.rst index 6a53e3b..707834b
>>> 100644
>>>>>> --- a/Documentation/faq/releases.rst
>>>>>> +++ b/Documentation/faq/releases.rst
>>>>>> @@ -160,7 +160,7 @@ Q: What DPDK version does each Open
>>> vSwitch
>>>>> release
>>>>>> work with?
>>>>>>     2.4.x        2.0
>>>>>>     2.5.x        2.2
>>>>>>     2.6.x        16.07.2
>>>>>> -    2.7.x        16.11.1
>>>>>> +    2.7.x        16.11.2
>>>>>>     ============ =======
>>>>>> 
>>>>>> Q: I get an error like this when I configure Open vSwitch:
>>>>>> diff --git a/Documentation/intro/install/dpdk.rst
>>>>>> b/Documentation/intro/install/dpdk.rst
>>>>>> index e83f852..a05aa1a 100644
>>>>>> --- a/Documentation/intro/install/dpdk.rst
>>>>>> +++ b/Documentation/intro/install/dpdk.rst
>>>>>> @@ -69,9 +69,9 @@ Install DPDK
>>>>>> #. Download the `DPDK sources`_, extract the file and set
>>>>> ``DPDK_DIR``::
>>>>>> 
>>>>>>        $ cd /usr/src/
>>>>>> -       $ wget
>>> https://urldefense.proofpoint.com/v2/url?u=http-
>>>>> 3A__fast.dpdk.org_rel_dpdk-
>>>>> 
>>> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>>>>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-
>>>>> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=
>>>>>> -       $ tar xf dpdk-16.11.1.tar.xz
>>>>>> -       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1
>>>>>> +       $ wget
>>> https://urldefense.proofpoint.com/v2/url?u=http-
>>>>> 3A__fast.dpdk.org_rel_dpdk-
>>>>> 
>>> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>>>>> 
>>> 
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3
>>>>> 6_XAWi7oVNKTTb9ymPuxqoE&e=
>>>>>> +       $ tar xf dpdk-16.11.2.tar.xz
>>>>>> +       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2
>>>>>>        $ cd $DPDK_DIR
>>>>>> 
>>>>>> #. (Optional) Configure DPDK as a shared library diff --
>> git
>>>>>> a/Documentation/topics/dpdk/vhost-user.rst
>>>>>> b/Documentation/topics/dpdk/vhost-user.rst
>>>>>> index 6b0bf9b..e76da5f 100644
>>>>>> --- a/Documentation/topics/dpdk/vhost-user.rst
>>>>>> +++ b/Documentation/topics/dpdk/vhost-user.rst
>>>>>> @@ -292,9 +292,9 @@ To begin, instantiate a guest as
>>> described in
>>>>>> :ref:`dpdk-vhost-user` or  DPDK sources to VM and build
>>> DPDK::
>>>>>> 
>>>>>>     $ cd /root/dpdk/
>>>>>> -    $ wget
>> https://urldefense.proofpoint.com/v2/url?u=http-
>>>>> 3A__fast.dpdk.org_rel_dpdk-
>>>>> 
>>> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>>>>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-
>>>>> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=
>>>>>> -    $ tar xf dpdk-16.11.1.tar.xz
>>>>>> -    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1
>>>>>> +    $ wget
>> https://urldefense.proofpoint.com/v2/url?u=http-
>>>>> 3A__fast.dpdk.org_rel_dpdk-
>>>>> 
>>> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>>>>> 
>>> 
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTloAPxp3
>>>>> 6_XAWi7oVNKTTb9ymPuxqoE&e=
>>>>>> +    $ tar xf dpdk-16.11.2.tar.xz
>>>>>> +    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2
>>>>>>     $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
>>>>>>     $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
>>>>>>     $ cd $DPDK_DIR
>>>>>> @@ -378,7 +378,7 @@ Sample XML
>>>>>>         </disk>
>>>>>>         <disk type='dir' device='disk'>
>>>>>>           <driver name='qemu' type='fat'/>
>>>>>> -          <source dir='/usr/src/dpdk-stable-16.11.1'/>
>>>>>> +          <source dir='/usr/src/dpdk-stable-16.11.2'/>
>>>>>>           <target dev='vdb' bus='virtio'/>
>>>>>>           <readonly/>
>>>>>>         </disk>
>>>>>> --
>>>>>> 1.7.0.7
>>>>>> 
>>>>>> _______________________________________________
>>>>>> dev mailing list
>>>>>> dev@openvswitch.org
>>>>>> https://urldefense.proofpoint.com/v2/url?u=https-
>>>>> 3A__mail.openvswitch.org_mailman_listinfo_ovs-
>>>>> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>>>>> 
>>> 
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF
>>>>> dVrKLWxkFtdo6FCV5qrLROY&e=
>>>>>    _______________________________________________
>>>>>    dev mailing list
>>>>>    dev@openvswitch.org
>>>>>    https://urldefense.proofpoint.com/v2/url?u=https-
>>>>> 3A__mail.openvswitch.org_mailman_listinfo_ovs-
>>>>> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>>>>> 
>>> 
>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCFqbWKF
>>>>> dVrKLWxkFtdo6FCV5qrLROY&e=
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> dev mailing list
>>>> dev@openvswitch.org
>>>> https://urldefense.proofpoint.com/v2/url?u=https-
>>> 3A__mail.openvswitch.org_mailman_listinfo_ovs-
>>> 2Ddev&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-
>>> uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=t-
>>> HGsKNH8XjrqR2jnbdIQ0j0uXGrj4R_kJxTEWR4qjQ&e=
>>> 
>> 
>> _______________________________________________
>> dev mailing list
>> dev@openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Stokes, Ian July 6, 2017, 9:11 a.m. UTC | #14
> Great.  I've pushed it to "branch-2.7" and it will be part of the 2.7.1

> release, which I plan to release shortly.

> 

> Since the master branch still references 16.11.1, I'd think you'd also

> like to apply this patch there, too.  The patch was targeted for "branch-

> 2.7" and doesn't apply cleanly to master.  Normally under these

> circumstances, we'd target master and then request the committer to

> backport it to "branch-2.7'.  Would you like me to apply this to master?

> 

I think this makes sense,

The original patch acked by Mark and Darrel was aimed at the master branch but would not apply cleanly to 2.7 when I tested last night, hence the re-spin I did specifically targeting the 2.7 branch.

The original patch (below) still applies cleanly to master and so I think we can go ahead with that.

https://mail.openvswitch.org/pipermail/ovs-dev/2017-June/334372.html

Thanks 
Ian

> Thanks,

> 

> --Justin

> 

> 

> > On Jul 5, 2017, at 11:51 AM, Stokes, Ian <ian.stokes@intel.com> wrote:

> >

> > Hi All,

> >

> > I've rebased the patch to specifically apply to the current 2.7 branch.

> I've added your acks to the commit.

> >

> > https://mail.openvswitch.org/pipermail/ovs-dev/2017-July/334952.html

> >

> > Thanks

> > Ian

> >

> >> -----Original Message-----

> >> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-

> >> bounces@openvswitch.org] On Behalf Of Stokes, Ian

> >> Sent: Wednesday, July 5, 2017 7:23 PM

> >> To: Darrell Ball <dball@vmware.com>; Kavanagh, Mark B

> >> <mark.b.kavanagh@intel.com>; dev@openvswitch.org

> >> Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable

> release.

> >>

> >>

> >>

> >>> -----Original Message-----

> >>> From: Darrell Ball [mailto:dball@vmware.com]

> >>> Sent: Wednesday, July 5, 2017 5:48 PM

> >>> To: Kavanagh, Mark B <mark.b.kavanagh@intel.com>; Stokes, Ian

> >>> <ian.stokes@intel.com>; dev@openvswitch.org

> >>> Cc: Justin Pettit <jpettit@ovn.org>

> >>> Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable

> release.

> >>>

> >>>

> >>>

> >>> On 7/5/17, 8:15 AM, "Kavanagh, Mark B" <mark.b.kavanagh@intel.com>

> >> wrote:

> >>>

> >>>> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-

> >>> bounces@openvswitch.org]

> >>>> On Behalf Of Stokes, Ian

> >>>> Sent: Tuesday, July 4, 2017 10:09 AM

> >>>> To: Darrell Ball <dball@vmware.com>; dev@openvswitch.org

> >>>> Subject: Re: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable

> >>> release.

> >>>>

> >>>>> Hi Ian

> >>>>>

> >>>>> Do you have a good link to the 16.11.2 release notes ?

> >>>>> I have been looking around and found some links but may not be

> >>> the best

> >>>>> and I am not sure new functionality is not being enabled with

> >>> 16.11.2 ?

> >>>>>

> >>>>> What specifically do we want from 16.11.2 ?

> >>>>>

> >>>>> Thanks Darrell

> >>>>

> >>>> Hi Darrell,

> >>>>

> >>>> 16.11.2 will not have new functionality, it will consist of the

> >>> latest bug

> >>>> fixes for existing functionality for DPDK 16.11.1. There is no

> >>> API/ABI changes

> >>>> in the stable point releases for DPDK.

> >>>>

> >>>> A list of the bugs fixed in 16.11.2 since 16.11.1 is available here

> >>>>

> >>>> https://urldefense.proofpoint.com/v2/url?u=http-

> >>> 3A__dpdk.org_doc_guides-2D16.11_rel-5Fnotes_release-5F16-

> >>> 5F11.html&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >>> uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=ESCIMH2vhsR-

> >>> QKMN6ZZCt5cy1GPtZLi5CJHz9ACELWg&e=

> >>>>

> >>>> In particular what caught my eye was the bug fixes for vfio and

> >> vhost

> >>>>

> >>>> vfio: fix disabling INTx

> >>>> vfio: fix secondary process start

> >>>> vhost: change log levels in client mode

> >>>> vhost: fix dequeue zero copy

> >>>> vhost: fix false sharing

> >>>> vhost: fix fd leaks for vhost-user server mode

> >>>> vhost: fix max queues

> >>>> vhost: fix multiple queue not enabled for old kernels

> >>>> vhost: fix use after free

> >>>>

> >>>> There is also a number of out of bound array bug fixes for the

> >>> i40e and ixgbe

> >>>> drivers.

> >>>>

> >>>> On a side note for the motivation for the move, there has been

> >>> instances in

> >>>> the past (for example mempool allocations) where a bug has been

> >>> reported in

> >>>> OVS DPDK in specific cornercases, upon investigating we found it

> >>> was a bug in

> >>>> DPDK 16.11.0 release which had already been reported and fixed in

> >>> the

> >>> 16.11.1

> >>>> release.

> >>>

> >>>

> >>>    +1 on this - I've handled similar OvS 'bugs' where the root-cause

> >>> was a DPDK issue that had already been resolved on the DPDK stable

> >> branch.

> >>>    I can't recommend strongly enough that we move to the 16.11.2

> >>> branch for OvS 2.7.1 (stable branch + stable branch =  fewer bugs

> >>> all

> >> 'round).

> >>>

> >>>    Thanks,

> >>>    Mark

> >>>

> >>> Hi Ian

> >>>

> >>> There is no issue regarding plain bug fixes.

> >>> The only theoretical concern is enabling new code paths that were

> >>> short- circuited before because of bugs, but I don’t think that is

> >>> all that common.

> >>>

> >>> The link you sent is the one I was referring to but I had some

> >>> doubts about the contents so I asked to confirm. I assume the new

> >>> features and API changes sections are only related to .0 ?

> >>>

> >>> If that is the case, then:

> >>> Acked-by: Darrell Ball <dlu998@gmail.com>

> >>>

> >>> Thanks Darrell

> >>>

> >>>

> >>

> >> Hi Darrell,

> >>

> >> I understand the concern with new code paths being enabled but I

> >> think we should be ok with this regard.

> >>

> >> From what I understand the DPDK stable release revisions undergo

> >> validation from the DPDK side before release to ensure these problems

> >> are not introduced.

> >>

> >> As an aside, one of the reasons we decided to point users to the

> >> point releases (16.11.x etc.) instead of pointing to the head of the

> >> stable branch was to benefit from this validation and avoid a problem

> like this.

> >> I think this still makes sense.

> >>

> >> Your correct in that new features in the link I sent are for the .0

> >> release. The specific fixes for the .2 release are detailed at the

> >> bottom under Fixes in 16.11 LTS Release.

> >>

> >> Thanks

> >> Ian

> >>

> >>>

> >>>

> >>>

> >>>

> >>>>

> >>>> As the stable releases consist of bug fixes only there should be

> >>> no issue

> >>>> pointing users to the latest stable release of the DPDK currently

> >>> supported.

> >>>> We've done this previously for OVS 2.6.x releases where we've

> >>> pushed users to

> >>>> the stable DPDK 16.07.2 release.

> >>>>

> >>>> Ian

> >>>>

> >>>>>

> >>>>>

> >>>>> On 7/3/17, 1:01 PM, "ovs-dev-bounces@openvswitch.org on behalf

> >>> of Stokes,

> >>>>> Ian" <ovs-dev-bounces@openvswitch.org on behalf of

> >>> ian.stokes@intel.com>

> >>>>> wrote:

> >>>>>

> >>>>>    Hi All,

> >>>>>

> >>>>>    I would like to see this go into the OVS 2.7.1 branch to

> >> ensure

> >>> users

> >>>>> are using the latest stable DPDK 16.11 release. If anyone has

> >>> time to

> >>>>> review this patch I would be grateful. I've been using 16.11.2

> >>> myself for

> >>>>> the last number of weeks and have not encountered any issues.

> >>>>>

> >>>>>    Thanks

> >>>>>    Ian

> >>>>>

> >>>>>> -----Original Message-----

> >>>>>> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-

> >>>>>> bounces@openvswitch.org] On Behalf Of Ian Stokes

> >>>>>> Sent: Tuesday, June 20, 2017 1:57 PM

> >>>>>> To: dev@openvswitch.org

> >>>>>> Subject: [ovs-dev] [PATCH v1] docs: Use DPDK 16.11.2 stable

> >>> release.

> >>>>>>

> >>>>>> Modify docs and travis linux build script to use the DPDK

> >>> 16.11.2

> >>>>> stable

> >>>>>> branch to benefit from most recent bug fixes.

> >>>>>>

> >>>>>> Signed-off-by: Ian Stokes <ian.stokes@intel.com>

> >>>>>> ---

> >>>>>> .travis/linux-build.sh                   |    2 +-

> >>>>>> Documentation/faq/releases.rst           |    2 +-

> >>>>>> Documentation/intro/install/dpdk.rst     |    6 +++---

> >>>>>> Documentation/topics/dpdk/vhost-user.rst |    8 ++++----

> >>>>>> 4 files changed, 9 insertions(+), 9 deletions(-)

> >>>>>>

> >>>>>> diff --git a/.travis/linux-build.sh b/.travis/linux-

> >> build.sh

> >>> index

> >>>>>> 8750d68..f66b534 100755

> >>>>>> --- a/.travis/linux-build.sh

> >>>>>> +++ b/.travis/linux-build.sh

> >>>>>> @@ -80,7 +80,7 @@ fi

> >>>>>>

> >>>>>> if [ "$DPDK" ]; then

> >>>>>>     if [ -z "$DPDK_VER" ]; then

> >>>>>> -        DPDK_VER="16.11.1"

> >>>>>> +        DPDK_VER="16.11.2"

> >>>>>>     fi

> >>>>>>     install_dpdk $DPDK_VER

> >>>>>>     if [ "$CC" = "clang" ]; then

> >>>>>> diff --git a/Documentation/faq/releases.rst

> >>>>>> b/Documentation/faq/releases.rst index 6a53e3b..707834b

> >>> 100644

> >>>>>> --- a/Documentation/faq/releases.rst

> >>>>>> +++ b/Documentation/faq/releases.rst

> >>>>>> @@ -160,7 +160,7 @@ Q: What DPDK version does each Open

> >>> vSwitch

> >>>>> release

> >>>>>> work with?

> >>>>>>     2.4.x        2.0

> >>>>>>     2.5.x        2.2

> >>>>>>     2.6.x        16.07.2

> >>>>>> -    2.7.x        16.11.1

> >>>>>> +    2.7.x        16.11.2

> >>>>>>     ============ =======

> >>>>>>

> >>>>>> Q: I get an error like this when I configure Open vSwitch:

> >>>>>> diff --git a/Documentation/intro/install/dpdk.rst

> >>>>>> b/Documentation/intro/install/dpdk.rst

> >>>>>> index e83f852..a05aa1a 100644

> >>>>>> --- a/Documentation/intro/install/dpdk.rst

> >>>>>> +++ b/Documentation/intro/install/dpdk.rst

> >>>>>> @@ -69,9 +69,9 @@ Install DPDK

> >>>>>> #. Download the `DPDK sources`_, extract the file and set

> >>>>> ``DPDK_DIR``::

> >>>>>>

> >>>>>>        $ cd /usr/src/

> >>>>>> -       $ wget

> >>> https://urldefense.proofpoint.com/v2/url?u=http-

> >>>>> 3A__fast.dpdk.org_rel_dpdk-

> >>>>>

> >>> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5I

> >>> h-

> >>>>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-

> >>>>> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=

> >>>>>> -       $ tar xf dpdk-16.11.1.tar.xz

> >>>>>> -       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1

> >>>>>> +       $ wget

> >>> https://urldefense.proofpoint.com/v2/url?u=http-

> >>>>> 3A__fast.dpdk.org_rel_dpdk-

> >>>>>

> >>> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5I

> >>> h-

> >>>>>

> >>>

> >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTlo

> >> APxp3

> >>>>> 6_XAWi7oVNKTTb9ymPuxqoE&e=

> >>>>>> +       $ tar xf dpdk-16.11.2.tar.xz

> >>>>>> +       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2

> >>>>>>        $ cd $DPDK_DIR

> >>>>>>

> >>>>>> #. (Optional) Configure DPDK as a shared library diff --

> >> git

> >>>>>> a/Documentation/topics/dpdk/vhost-user.rst

> >>>>>> b/Documentation/topics/dpdk/vhost-user.rst

> >>>>>> index 6b0bf9b..e76da5f 100644

> >>>>>> --- a/Documentation/topics/dpdk/vhost-user.rst

> >>>>>> +++ b/Documentation/topics/dpdk/vhost-user.rst

> >>>>>> @@ -292,9 +292,9 @@ To begin, instantiate a guest as

> >>> described in

> >>>>>> :ref:`dpdk-vhost-user` or  DPDK sources to VM and build

> >>> DPDK::

> >>>>>>

> >>>>>>     $ cd /root/dpdk/

> >>>>>> -    $ wget

> >> https://urldefense.proofpoint.com/v2/url?u=http-

> >>>>> 3A__fast.dpdk.org_rel_dpdk-

> >>>>>

> >>> 2D16.11.1.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5I

> >>> h-

> >>>>> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=W-

> >>>>> zvsIZPdDdXUqDNBAT0zYhAdY3WYLg2yTPJpUy4Uuo&e=

> >>>>>> -    $ tar xf dpdk-16.11.1.tar.xz

> >>>>>> -    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1

> >>>>>> +    $ wget

> >> https://urldefense.proofpoint.com/v2/url?u=http-

> >>>>> 3A__fast.dpdk.org_rel_dpdk-

> >>>>>

> >>> 2D16.11.2.tar.xz&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5I

> >>> h-

> >>>>>

> >>>

> >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=wbLVYNpJZGtKTlo

> >> APxp3

> >>>>> 6_XAWi7oVNKTTb9ymPuxqoE&e=

> >>>>>> +    $ tar xf dpdk-16.11.2.tar.xz

> >>>>>> +    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2

> >>>>>>     $ export DPDK_TARGET=x86_64-native-linuxapp-gcc

> >>>>>>     $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET

> >>>>>>     $ cd $DPDK_DIR

> >>>>>> @@ -378,7 +378,7 @@ Sample XML

> >>>>>>         </disk>

> >>>>>>         <disk type='dir' device='disk'>

> >>>>>>           <driver name='qemu' type='fat'/>

> >>>>>> -          <source dir='/usr/src/dpdk-stable-16.11.1'/>

> >>>>>> +          <source dir='/usr/src/dpdk-stable-16.11.2'/>

> >>>>>>           <target dev='vdb' bus='virtio'/>

> >>>>>>           <readonly/>

> >>>>>>         </disk>

> >>>>>> --

> >>>>>> 1.7.0.7

> >>>>>>

> >>>>>> _______________________________________________

> >>>>>> dev mailing list

> >>>>>> dev@openvswitch.org

> >>>>>> https://urldefense.proofpoint.com/v2/url?u=https-

> >>>>> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

> >>>>> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >>>>>

> >>>

> >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCF

> >> qbWKF

> >>>>> dVrKLWxkFtdo6FCV5qrLROY&e=

> >>>>>    _______________________________________________

> >>>>>    dev mailing list

> >>>>>    dev@openvswitch.org

> >>>>>    https://urldefense.proofpoint.com/v2/url?u=https-

> >>>>> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

> >>>>> 2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >>>>>

> >>>

> >> uZnsw&m=88NoNvcZ8i84KcaxfVYNqAcbt6HZqEWwRBivO0a8ChQ&s=L_AKvoFPHWz7QCF

> >> qbWKF

> >>>>> dVrKLWxkFtdo6FCV5qrLROY&e=

> >>>>>

> >>>>

> >>>> _______________________________________________

> >>>> dev mailing list

> >>>> dev@openvswitch.org

> >>>> https://urldefense.proofpoint.com/v2/url?u=https-

> >>> 3A__mail.openvswitch.org_mailman_listinfo_ovs-

> >>> 2Ddev&d=DwIFAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-

> >>> uZnsw&m=WT0gkeJ7w_DRRPKN4FC6Wg_G7qmoH7ZjWdDuGE9RkPQ&s=t-

> >>> HGsKNH8XjrqR2jnbdIQ0j0uXGrj4R_kJxTEWR4qjQ&e=

> >>>

> >>

> >> _______________________________________________

> >> dev mailing list

> >> dev@openvswitch.org

> >> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Justin Pettit July 6, 2017, 6:11 p.m. UTC | #15
> On Jul 6, 2017, at 2:11 AM, Stokes, Ian <ian.stokes@intel.com> wrote:
> 
>> Great.  I've pushed it to "branch-2.7" and it will be part of the 2.7.1
>> release, which I plan to release shortly.
>> 
>> Since the master branch still references 16.11.1, I'd think you'd also
>> like to apply this patch there, too.  The patch was targeted for "branch-
>> 2.7" and doesn't apply cleanly to master.  Normally under these
>> circumstances, we'd target master and then request the committer to
>> backport it to "branch-2.7'.  Would you like me to apply this to master?
>> 
> I think this makes sense,
> 
> The original patch acked by Mark and Darrel was aimed at the master branch but would not apply cleanly to 2.7 when I tested last night, hence the re-spin I did specifically targeting the 2.7 branch.
> 
> The original patch (below) still applies cleanly to master and so I think we can go ahead with that.
> 
> https://mail.openvswitch.org/pipermail/ovs-dev/2017-June/334372.html

Great.  I just pushed this to master.  Thank you!

--Justin
Stokes, Ian July 7, 2017, 8:55 a.m. UTC | #16
> > On Jul 6, 2017, at 2:11 AM, Stokes, Ian <ian.stokes@intel.com> wrote:
> >
> >> Great.  I've pushed it to "branch-2.7" and it will be part of the
> >> 2.7.1 release, which I plan to release shortly.
> >>
> >> Since the master branch still references 16.11.1, I'd think you'd
> >> also like to apply this patch there, too.  The patch was targeted for
> >> "branch- 2.7" and doesn't apply cleanly to master.  Normally under
> >> these circumstances, we'd target master and then request the
> >> committer to backport it to "branch-2.7'.  Would you like me to apply
> this to master?
> >>
> > I think this makes sense,
> >
> > The original patch acked by Mark and Darrel was aimed at the master
> branch but would not apply cleanly to 2.7 when I tested last night, hence
> the re-spin I did specifically targeting the 2.7 branch.
> >
> > The original patch (below) still applies cleanly to master and so I
> think we can go ahead with that.
> >
> > https://mail.openvswitch.org/pipermail/ovs-dev/2017-June/334372.html
> 
> Great.  I just pushed this to master.  Thank you!
> 
> --Justin
> 
Thanks all, appreciate effort to get this in.

Ian
diff mbox

Patch

diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index 8750d68..f66b534 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -80,7 +80,7 @@  fi
 
 if [ "$DPDK" ]; then
     if [ -z "$DPDK_VER" ]; then
-        DPDK_VER="16.11.1"
+        DPDK_VER="16.11.2"
     fi
     install_dpdk $DPDK_VER
     if [ "$CC" = "clang" ]; then
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index 6a53e3b..707834b 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -160,7 +160,7 @@  Q: What DPDK version does each Open vSwitch release work with?
     2.4.x        2.0
     2.5.x        2.2
     2.6.x        16.07.2
-    2.7.x        16.11.1
+    2.7.x        16.11.2
     ============ =======
 
 Q: I get an error like this when I configure Open vSwitch:
diff --git a/Documentation/intro/install/dpdk.rst b/Documentation/intro/install/dpdk.rst
index e83f852..a05aa1a 100644
--- a/Documentation/intro/install/dpdk.rst
+++ b/Documentation/intro/install/dpdk.rst
@@ -69,9 +69,9 @@  Install DPDK
 #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
 
        $ cd /usr/src/
-       $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
-       $ tar xf dpdk-16.11.1.tar.xz
-       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.1
+       $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
+       $ tar xf dpdk-16.11.2.tar.xz
+       $ export DPDK_DIR=/usr/src/dpdk-stable-16.11.2
        $ cd $DPDK_DIR
 
 #. (Optional) Configure DPDK as a shared library
diff --git a/Documentation/topics/dpdk/vhost-user.rst b/Documentation/topics/dpdk/vhost-user.rst
index 6b0bf9b..e76da5f 100644
--- a/Documentation/topics/dpdk/vhost-user.rst
+++ b/Documentation/topics/dpdk/vhost-user.rst
@@ -292,9 +292,9 @@  To begin, instantiate a guest as described in :ref:`dpdk-vhost-user` or
 DPDK sources to VM and build DPDK::
 
     $ cd /root/dpdk/
-    $ wget http://fast.dpdk.org/rel/dpdk-16.11.1.tar.xz
-    $ tar xf dpdk-16.11.1.tar.xz
-    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.1
+    $ wget http://fast.dpdk.org/rel/dpdk-16.11.2.tar.xz
+    $ tar xf dpdk-16.11.2.tar.xz
+    $ export DPDK_DIR=/root/dpdk/dpdk-stable-16.11.2
     $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
     $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
     $ cd $DPDK_DIR
@@ -378,7 +378,7 @@  Sample XML
         </disk>
         <disk type='dir' device='disk'>
           <driver name='qemu' type='fat'/>
-          <source dir='/usr/src/dpdk-stable-16.11.1'/>
+          <source dir='/usr/src/dpdk-stable-16.11.2'/>
           <target dev='vdb' bus='virtio'/>
           <readonly/>
         </disk>