[ovs-dev] Thanks

2020-07-11 Thread test
Email me at,jamesadams1...@gmail.com,with your full names for more 
information about the unclaimed fund I discovered.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] [PATCH 12/25] netdev-offload-dpdk: Introduce map APIs for table id and miss context

2020-07-11 Thread William Tu
On Mon, Jan 20, 2020 at 7:09 AM Eli Britstein  wrote:
>
> Different vports are differentiated in HW by different tables, as in the
> SW model. As such we need to map to table ids. Also, as this offload
> involves multiple tables, a miss might occur in the target table. In
> such case we need to recover the packet and continue in SW. Introduce a
> mapping for a miss context for that.
>

Hi Eli,

Can you elaborate a little more on
"Different vports are differentiated in HW by different tables, as in
the SW model."?

Do you mean for each tunnel type in HW, there is a separate table?
ex: a vport such as vxlan_sys_4789 has one table, and gre_sys has another table?

And is this table in HW or in SW?

Thanks
William

> Signed-off-by: Eli Britstein 
> Reviewed-by: Roni Bar Yanai 
> ---
>  lib/netdev-offload-dpdk.c | 267 
> ++
>  1 file changed, 267 insertions(+)
>
> diff --git a/lib/netdev-offload-dpdk.c b/lib/netdev-offload-dpdk.c
> index c80f07e77..fc890b915 100644
> --- a/lib/netdev-offload-dpdk.c
> +++ b/lib/netdev-offload-dpdk.c
> @@ -29,6 +29,8 @@
>  #include "openvswitch/vlog.h"
>  #include "packets.h"
>  #include "uuid.h"
> +#include "id-pool.h"
> +#include "odp-util.h"
>
>  VLOG_DEFINE_THIS_MODULE(netdev_offload_dpdk);
>  static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(100, 5);
> @@ -125,6 +127,271 @@ ufid_to_rte_flow_disassociate(const ovs_u128 *ufid)
>UUID_ARGS((struct uuid *) ufid));
>  }
>
> +/* A generic data structure used for mapping data to id and id to data. The
> + * elements are reference coutned. As changes are done only from the single
> + * offload thread, no locks are required.
> + * "name" and "dump_context_data" are used for log messages.
> + * "d2i_hmap" is the data-to-id map.
> + * "i2d_hmap" is the id-to-data map.
> + * "id_alloc" is used to allocate an id for a new data.
> + * "id_free" is used to free an id for the last data release.
> + * "data_size" is the size of the data in the elements.
> + */
> +struct context_metadata {
> +const char *name;
> +struct ds *(*dump_context_data)(struct ds *s, void *data);
> +struct hmap d2i_hmap;
> +struct hmap i2d_hmap;
> +uint32_t (*id_alloc)(void);
> +void (*id_free)(uint32_t id);
> +size_t data_size;
> +};
> +
> +struct context_data {
> +struct hmap_node d2i_node;
> +struct hmap_node i2d_node;
> +void *data;
> +uint32_t id;
> +uint32_t refcnt;
> +};
> +
> +static int
> +get_context_data_id_by_data(struct context_metadata *md,
> +struct context_data *data_req,
> +uint32_t *id)
> +{
> +struct context_data *data_cur;
> +size_t dhash, ihash;
> +struct ds s;
> +
> +ds_init();
> +dhash = hash_bytes(data_req->data, md->data_size, 0);
> +HMAP_FOR_EACH_WITH_HASH (data_cur, d2i_node, dhash, >d2i_hmap) {
> +if (!memcmp(data_req->data, data_cur->data, md->data_size)) {
> +data_cur->refcnt++;
> +VLOG_DBG_RL(,
> +"%s: %s: '%s', refcnt=%d, id=%d", __func__, md->name,
> +ds_cstr(md->dump_context_data(, data_cur->data)),
> +data_cur->refcnt, data_cur->id);
> +ds_destroy();
> +*id = data_cur->id;
> +return 0;
> +}
> +}
> +
> +data_cur = xzalloc(sizeof *data_cur);
> +if (!data_cur) {
> +goto err;
> +}
> +data_cur->data = xmalloc(md->data_size);
> +if (!data_cur->data) {
> +goto err_data_alloc;
> +}
> +memcpy(data_cur->data, data_req->data, md->data_size);
> +data_cur->refcnt = 1;
> +data_cur->id = md->id_alloc();
> +if (data_cur->id == 0) {
> +goto err_id_alloc;
> +}
> +hmap_insert(>d2i_hmap, _cur->d2i_node, dhash);
> +ihash = hash_add(0, data_cur->id);
> +hmap_insert(>i2d_hmap, _cur->i2d_node, ihash);
> +VLOG_DBG_RL(, "%s: %s: '%s', refcnt=%d, id=%d", __func__, md->name,
> +ds_cstr(md->dump_context_data(, data_cur->data)),
> +data_cur->refcnt, data_cur->id);
> +*id = data_cur->id;
> +ds_destroy();
> +return 0;
> +
> +err_id_alloc:
> +free(data_cur->data);
> +err_data_alloc:
> +free(data_cur);
> +err:
> +VLOG_ERR_RL(, "%s: %s: error. '%s'", __func__, md->name,
> +ds_cstr(md->dump_context_data(, data_cur->data)));
> +ds_destroy();
> +return -1;
> +}
> +
> +static int
> +get_context_data_by_id(struct context_metadata *md, uint32_t id, void *data)
> +{
> +size_t ihash = hash_add(0, id);
> +struct context_data *data_cur;
> +struct ds s;
> +
> +ds_init();
> +HMAP_FOR_EACH_WITH_HASH (data_cur, i2d_node, ihash, >i2d_hmap) {
> +if (data_cur->id == id) {
> +memcpy(data, data_cur->data, md->data_size);
> +ds_destroy();
> +return 0;
> +}
> +}
> +
> +ds_destroy();
> +return -1;
> +}
> +
> 

Re: [ovs-dev] [PATCH 14/25] netdev-offload-dpdk: Implement HW miss packet recover for vport

2020-07-11 Thread William Tu
Hi Eli,
Thanks for the patch, very interesting work.
I'm trying to understand the patch. some questions below:

On Mon, Jan 20, 2020 at 7:09 AM Eli Britstein  wrote:
>
> A miss in virtual port offloads means the flow with tnl_pop was
> offloaded, but not the following one. Recover the state and continue
> with SW processing.

Why do we have a miss in virtual port offloads? Isn't we only
offloading to physical port or uplink?
at patch 25/25, you mentioned
"For virtual port (as "vxlan"), HW rules match tunnel properties
(outer header) and inner packet fields, and with a decap action. The
rules are placed on all uplinks as they are the potential for the origin
of the traffic."

>
> Co-authored-by: Eli Britstein 
> Signed-off-by: Ophir Munk 
> Reviewed-by: Roni Bar Yanai 
> Signed-off-by: Eli Britstein 
> ---
>  lib/netdev-offload-dpdk.c | 34 +-
>  1 file changed, 33 insertions(+), 1 deletion(-)
>
> diff --git a/lib/netdev-offload-dpdk.c b/lib/netdev-offload-dpdk.c
> index fc890b915..c4d77c115 100644
> --- a/lib/netdev-offload-dpdk.c
> +++ b/lib/netdev-offload-dpdk.c
> @@ -385,7 +385,6 @@ put_flow_miss_ctx_id(uint32_t flow_ctx_id)
>  put_context_data_by_id(_miss_ctx_md, flow_ctx_id);
>  }
>
> -OVS_UNUSED
>  static int
>  find_flow_miss_ctx(int flow_ctx_id, struct flow_miss_ctx *ctx)
>  {
> @@ -1769,10 +1768,43 @@ out:
>  return ret;
>  }
>
> +static int
> +netdev_offload_dpdk_hw_miss_packet_recover(struct netdev *netdev,
> +   uint32_t flow_miss_ctx_id,
> +   struct dp_packet *packet)
> +{
> +struct flow_miss_ctx flow_miss_ctx;
> +struct netdev *vport_netdev;
> +
> +if (find_flow_miss_ctx(flow_miss_ctx_id, _miss_ctx)) {
> +return -1;
> +}
> +
> +if (flow_miss_ctx.vport != ODPP_NONE) {
> +vport_netdev = netdev_ports_get(flow_miss_ctx.vport,
> +netdev->dpif_type);
> +if (vport_netdev) {
> +pkt_metadata_init(>md, flow_miss_ctx.vport);
> +if (vport_netdev->netdev_class->pop_header) {
> +vport_netdev->netdev_class->pop_header(packet);

IIUC, we need to pop header here because now we translate
tnl_pop to mark + jump.
So the outer tunnel header does not get pop/unset in hardware,
so at SW side before upcall to OVS, we need to pop here, right?

William
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH v2 1/1] dpdk: Use DPDK 19.11.2 release.

2020-07-11 Thread Ian Stokes
Modify travis linux build script to use DPDK 19.11.2 stable release and
update docs to reference 19.11.2 stable release.

Signed-off-by: Ian Stokes 
---
 .travis/linux-build.sh   | 2 +-
 Documentation/faq/releases.rst   | 2 +-
 Documentation/intro/install/dpdk.rst | 8 
 Documentation/topics/dpdk/vhost-user.rst | 6 +++---
 Documentation/topics/userspace-tso.rst   | 9 -
 NEWS | 3 +++
 6 files changed, 12 insertions(+), 18 deletions(-)

diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index 02615a8ec..e0a065291 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -170,7 +170,7 @@ fi
 
 if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then
 if [ -z "$DPDK_VER" ]; then
-DPDK_VER="19.11"
+DPDK_VER="19.11.2"
 fi
 install_dpdk $DPDK_VER
 if [ "$CC" = "clang" ]; then
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index e5cef3915..7c826f239 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -194,7 +194,7 @@ Q: What DPDK version does each Open vSwitch release work 
with?
 2.10.x   17.11.4
 2.11.x   18.11.6
 2.12.x   18.11.6
-2.13.x   19.11.0
+2.13.x   19.11.2
  ===
 
 Q: Are all the DPDK releases that OVS versions work with maintained?
diff --git a/Documentation/intro/install/dpdk.rst 
b/Documentation/intro/install/dpdk.rst
index dbf88ec43..90eaa8aa2 100644
--- a/Documentation/intro/install/dpdk.rst
+++ b/Documentation/intro/install/dpdk.rst
@@ -42,7 +42,7 @@ Build requirements
 In addition to the requirements described in :doc:`general`, building Open
 vSwitch with DPDK will require the following:
 
-- DPDK 19.11
+- DPDK 19.11.2
 
 - A `DPDK supported NIC`_
 
@@ -71,9 +71,9 @@ Install DPDK
 #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
 
$ cd /usr/src/
-   $ wget https://fast.dpdk.org/rel/dpdk-19.11.tar.xz
-   $ tar xf dpdk-19.11.tar.xz
-   $ export DPDK_DIR=/usr/src/dpdk-19.11
+   $ wget https://fast.dpdk.org/rel/dpdk-19.11.2.tar.xz
+   $ tar xf dpdk-19.11.2.tar.xz
+   $ export DPDK_DIR=/usr/src/dpdk-stable-19.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 c6c6fd8bd..4bc5aef59 100644
--- a/Documentation/topics/dpdk/vhost-user.rst
+++ b/Documentation/topics/dpdk/vhost-user.rst
@@ -392,9 +392,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://fast.dpdk.org/rel/dpdk-19.11.tar.xz
-$ tar xf dpdk-19.11.tar.xz
-$ export DPDK_DIR=/root/dpdk/dpdk-19.11
+$ wget https://fast.dpdk.org/rel/dpdk-19.11.2.tar.xz
+$ tar xf dpdk-19.11.2.tar.xz
+$ export DPDK_DIR=/root/dpdk/dpdk-stable-19.11.2
 $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
 $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
 $ cd $DPDK_DIR
diff --git a/Documentation/topics/userspace-tso.rst 
b/Documentation/topics/userspace-tso.rst
index 0fbac93a5..aafa4a1bf 100644
--- a/Documentation/topics/userspace-tso.rst
+++ b/Documentation/topics/userspace-tso.rst
@@ -104,15 +104,6 @@ on ports without TSO support.  That also means guests 
using vhost-user
 in client mode will receive TSO packet regardless of TSO being enabled
 or disabled within the guest.
 
-When the NIC performing the segmentation is using the i40e DPDK PMD, a fix
-must be included in the DPDK build, otherwise TSO will not work. The fix can
-be found on `DPDK patchwork`__.
-
-__ https://patches.dpdk.org/patch/64136/
-
-This fix is expected to be included in the 19.11.1 release. When OVS migrates
-to this DPDK release, this limitation can be removed.
-
 ~~
 Performance Tuning
 ~~
diff --git a/NEWS b/NEWS
index e52e862e1..e4e926c50 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,9 @@ Post-v2.13.0
  * Add hardware offload support for matching IPv6 protocol (experimental).
  * Add hardware offload support for set of IPv6 src/dst/ttl
and tunnel push-output actions (experimental).
+ * OVS validated with DPDK 19.11.2, due to the inclusion of fixes for
+   CVE-2020-10722, CVE-2020-10723, CVE-2020-10724, CVE-2020-10725 and
+   CVE-2020-10726, this DPDK version is strongly recommended to be used.
- Linux datapath:
  * Support for kernel versions up to 5.5.x.
- AF_XDP:
-- 
2.13.6

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH branch-2.10 v1 1/1] dpdk:Use DPDK 17.11.10 release.

2020-07-11 Thread Ian Stokes
Modify travis linux build script to use the latest DPDK stable release.
Update docs for latest DPDK stable releases. Note 17.11.10 is the final
support release for the 17.11 series, no further support releases for
17.11 series are expected.

Signed-off-by: Ian Stokes 
---
 .travis/linux-build.sh   |  2 +-
 Documentation/faq/releases.rst   | 10 +-
 Documentation/intro/install/dpdk.rst |  8 
 Documentation/topics/dpdk/vhost-user.rst |  6 +++---
 NEWS |  2 +-
 5 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index ede62a54e..c22962073 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -83,7 +83,7 @@ fi
 
 if [ "$DPDK" ]; then
 if [ -z "$DPDK_VER" ]; then
-DPDK_VER="17.11.6"
+DPDK_VER="17.11.10"
 fi
 install_dpdk $DPDK_VER
 if [ "$CC" = "clang" ]; then
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index 8fe16d950..32fc3b69b 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -157,9 +157,9 @@ Q: What DPDK version does each Open vSwitch release work 
with?
 A: The following table lists the DPDK version against which the given
 versions of Open vSwitch will successfully build.
 
- ===
+ 
 Open vSwitch DPDK
- ===
+ 
 2.2.x1.6
 2.3.x1.6
 2.4.x2.0
@@ -167,9 +167,9 @@ Q: What DPDK version does each Open vSwitch release work 
with?
 2.6.x16.07.2
 2.7.x16.11.8
 2.8.x17.05.2
-2.9.x17.11.6
-2.10.x   17.11.6
- ===
+2.9.x17.11.10
+2.10.x   17.11.10
+ 
 
 Q: Are all the DPDK releases that OVS versions work with maintained?
 
diff --git a/Documentation/intro/install/dpdk.rst 
b/Documentation/intro/install/dpdk.rst
index 5f3926316..033e65b45 100644
--- a/Documentation/intro/install/dpdk.rst
+++ b/Documentation/intro/install/dpdk.rst
@@ -42,7 +42,7 @@ Build requirements
 In addition to the requirements described in :doc:`general`, building Open
 vSwitch with DPDK will require the following:
 
-- DPDK 17.11.6
+- DPDK 17.11.10
 
 - A `DPDK supported NIC`_
 
@@ -71,9 +71,9 @@ Install DPDK
 #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
 
$ cd /usr/src/
-   $ wget http://fast.dpdk.org/rel/dpdk-17.11.6.tar.xz
-   $ tar xf dpdk-17.11.6.tar.xz
-   $ export DPDK_DIR=/usr/src/dpdk-stable-17.11.6
+   $ wget http://fast.dpdk.org/rel/dpdk-17.11.10.tar.xz
+   $ tar xf dpdk-17.11.10.tar.xz
+   $ export DPDK_DIR=/usr/src/dpdk-stable-17.11.10
$ 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 c5fe9ee0f..165012fb7 100644
--- a/Documentation/topics/dpdk/vhost-user.rst
+++ b/Documentation/topics/dpdk/vhost-user.rst
@@ -320,9 +320,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-17.11.6.tar.xz
-$ tar xf dpdk-17.11.6.tar.xz
-$ export DPDK_DIR=/root/dpdk/dpdk-stable-17.11.6
+$ wget http://fast.dpdk.org/rel/dpdk-17.11.10.tar.xz
+$ tar xf dpdk-17.11.10.tar.xz
+$ export DPDK_DIR=/root/dpdk/dpdk-stable-17.11.10
 $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
 $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
 $ cd $DPDK_DIR
diff --git a/NEWS b/NEWS
index 6c1c6f7f8..8715349ba 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
 v2.10.5 - xx xxx 
 -
- DPDK
-* OVS validated with DPDK 17.11.6 which is recommended to be used.
+* OVS validated with DPDK 17.11.10 which is recommended to be used.
 
 v2.10.4 - 06 Sep 2019
 -
-- 
2.13.6

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH branch-2.13 v2 1/1] dpdk: Use DPDK 19.11.2 release.

2020-07-11 Thread Ian Stokes
Modify travis linux build script to use DPDK 19.11.2 stable release and
update docs to reference 19.11.2 stable release.

Signed-off-by: Ian Stokes 
---
 .travis/linux-build.sh   | 2 +-
 Documentation/faq/releases.rst   | 2 +-
 Documentation/intro/install/dpdk.rst | 8 
 Documentation/topics/dpdk/vhost-user.rst | 6 +++---
 Documentation/topics/userspace-tso.rst   | 9 -
 NEWS | 4 
 6 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index bb47b3ee1..c56885734 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -165,7 +165,7 @@ fi
 
 if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then
 if [ -z "$DPDK_VER" ]; then
-DPDK_VER="19.11"
+DPDK_VER="19.11.2"
 fi
 install_dpdk $DPDK_VER
 # Enable pdump support in OVS.
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index 6ff47d788..8c4a973e2 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -187,7 +187,7 @@ Q: What DPDK version does each Open vSwitch release work 
with?
 2.10.x   17.11.4
 2.11.x   18.11.6
 2.12.x   18.11.6
-2.13.x   19.11.0
+2.13.x   19.11.2
  ===
 
 Q: Are all the DPDK releases that OVS versions work with maintained?
diff --git a/Documentation/intro/install/dpdk.rst 
b/Documentation/intro/install/dpdk.rst
index dbf88ec43..90eaa8aa2 100644
--- a/Documentation/intro/install/dpdk.rst
+++ b/Documentation/intro/install/dpdk.rst
@@ -42,7 +42,7 @@ Build requirements
 In addition to the requirements described in :doc:`general`, building Open
 vSwitch with DPDK will require the following:
 
-- DPDK 19.11
+- DPDK 19.11.2
 
 - A `DPDK supported NIC`_
 
@@ -71,9 +71,9 @@ Install DPDK
 #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
 
$ cd /usr/src/
-   $ wget https://fast.dpdk.org/rel/dpdk-19.11.tar.xz
-   $ tar xf dpdk-19.11.tar.xz
-   $ export DPDK_DIR=/usr/src/dpdk-19.11
+   $ wget https://fast.dpdk.org/rel/dpdk-19.11.2.tar.xz
+   $ tar xf dpdk-19.11.2.tar.xz
+   $ export DPDK_DIR=/usr/src/dpdk-stable-19.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 c6c6fd8bd..4bc5aef59 100644
--- a/Documentation/topics/dpdk/vhost-user.rst
+++ b/Documentation/topics/dpdk/vhost-user.rst
@@ -392,9 +392,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://fast.dpdk.org/rel/dpdk-19.11.tar.xz
-$ tar xf dpdk-19.11.tar.xz
-$ export DPDK_DIR=/root/dpdk/dpdk-19.11
+$ wget https://fast.dpdk.org/rel/dpdk-19.11.2.tar.xz
+$ tar xf dpdk-19.11.2.tar.xz
+$ export DPDK_DIR=/root/dpdk/dpdk-stable-19.11.2
 $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
 $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
 $ cd $DPDK_DIR
diff --git a/Documentation/topics/userspace-tso.rst 
b/Documentation/topics/userspace-tso.rst
index fea69e349..369d70691 100644
--- a/Documentation/topics/userspace-tso.rst
+++ b/Documentation/topics/userspace-tso.rst
@@ -104,15 +104,6 @@ on ports without TSO support.  That also means guests 
using vhost-user
 in client mode will receive TSO packet regardless of TSO being enabled
 or disabled within the guest.
 
-When the NIC performing the segmentation is using the i40e DPDK PMD, a fix
-must be included in the DPDK build, otherwise TSO will not work. The fix can
-be found on `DPDK patchwork`__.
-
-__ https://patches.dpdk.org/patch/64136/
-
-This fix is expected to be included in the 19.11.1 release. When OVS migrates
-to this DPDK release, this limitation can be removed.
-
 ~~
 Performance Tuning
 ~~
diff --git a/NEWS b/NEWS
index a872fffc3..ac7dc670c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,9 @@
 v2.13.1 - xx xxx 
 -
+- DPDK:
+  * OVS validated with DPDK 19.11.2, due to the inclusion of fixes for
+CVE-2020-10722, CVE-2020-10723, CVE-2020-10724, CVE-2020-10725 and
+CVE-2020-10726, this DPDK version is strongly recommended to be used.
 
 v2.13.0 - 14 Feb 2020
 -
-- 
2.13.6

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH branch-2.11 v1 1/1] dpdk: Use DPDK 18.11.9 release.

2020-07-11 Thread Ian Stokes
Modify travis linux build script to use the latest DPDK stable release.
Update docs for latest DPDK stable releases.

Signed-off-by: Ian Stokes 
---
 .travis/linux-build.sh   | 2 +-
 Documentation/faq/releases.rst   | 2 +-
 Documentation/intro/install/dpdk.rst | 8 
 Documentation/topics/dpdk/vhost-user.rst | 6 +++---
 NEWS | 7 +--
 5 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index a2bf23af9..ab0089d55 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -88,7 +88,7 @@ fi
 
 if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then
 if [ -z "$DPDK_VER" ]; then
-DPDK_VER="18.11.6"
+DPDK_VER="18.11.9"
 fi
 install_dpdk $DPDK_VER
 if [ "$CC" = "clang" ]; then
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index 5868da35a..2502efd18 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -176,7 +176,7 @@ Q: What DPDK version does each Open vSwitch release work 
with?
 2.8.x17.05.2
 2.9.x17.11.4
 2.10.x   17.11.4
-2.11.x   18.11.6
+2.11.x   18.11.9
  ===
 
 Q: Are all the DPDK releases that OVS versions work with maintained?
diff --git a/Documentation/intro/install/dpdk.rst 
b/Documentation/intro/install/dpdk.rst
index 78a28c16a..510923dcc 100644
--- a/Documentation/intro/install/dpdk.rst
+++ b/Documentation/intro/install/dpdk.rst
@@ -42,7 +42,7 @@ Build requirements
 In addition to the requirements described in :doc:`general`, building Open
 vSwitch with DPDK will require the following:
 
-- DPDK 18.11.6
+- DPDK 18.11.9
 
 - A `DPDK supported NIC`_
 
@@ -71,9 +71,9 @@ Install DPDK
 #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
 
$ cd /usr/src/
-   $ wget http://fast.dpdk.org/rel/dpdk-18.11.6.tar.xz
-   $ tar xf dpdk-18.11.6.tar.xz
-   $ export DPDK_DIR=/usr/src/dpdk-stable-18.11.6
+   $ wget http://fast.dpdk.org/rel/dpdk-18.11.9.tar.xz
+   $ tar xf dpdk-18.11.9.tar.xz
+   $ export DPDK_DIR=/usr/src/dpdk-stable-18.11.9
$ 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 7464e9b43..055cde05a 100644
--- a/Documentation/topics/dpdk/vhost-user.rst
+++ b/Documentation/topics/dpdk/vhost-user.rst
@@ -320,9 +320,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-18.11.6.tar.xz
-$ tar xf dpdk-18.11.6.tar.xz
-$ export DPDK_DIR=/root/dpdk/dpdk-stable-18.11.6
+$ wget http://fast.dpdk.org/rel/dpdk-18.11.9.tar.xz
+$ tar xf dpdk-18.11.9.tar.xz
+$ export DPDK_DIR=/root/dpdk/dpdk-stable-18.11.9
 $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
 $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
 $ cd $DPDK_DIR
diff --git a/NEWS b/NEWS
index be1f38e23..cd0c889c1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,11 @@
 v2.11.4 - xx xxx 
 -
- DPDK
- * OVS validated with DPDK 18.11.6, due to the inclusion of a fix for
-   CVE-2019-14818, this DPDK version is strongly recommended to be used.
+ * OVS validated with DPDK 18.11.9. Due to this being the latest LTS to
+   be validated and coupled with the inclusion of fixes for
+   CVE-2019-14818, CVE-2020-10722, CVE-2020-10723 and CVE-2020-10724
+   over the course of various LTS releases, this DPDK version is strongly
+   recommended to be used.
 
 v2.11.3 - 06 Sep 2019
 -
-- 
2.13.6

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH branch-2.12 v1 1/1] dpdk: Use DPDK 18.11.9 release.

2020-07-11 Thread Ian Stokes
Modify travis linux build script to use the latest DPDK stable release.
Update docs for latest DPDK stable releases.

Signed-off-by: Ian Stokes 
---
 .travis/linux-build.sh   | 2 +-
 Documentation/faq/releases.rst   | 4 ++--
 Documentation/intro/install/dpdk.rst | 8 
 Documentation/topics/dpdk/vhost-user.rst | 6 +++---
 NEWS | 7 +--
 5 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index b58c66109..c360ea703 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -105,7 +105,7 @@ fi
 
 if [ "$DPDK" ] || [ "$DPDK_SHARED" ]; then
 if [ -z "$DPDK_VER" ]; then
-DPDK_VER="18.11.6"
+DPDK_VER="18.11.9"
 fi
 install_dpdk $DPDK_VER
 if [ "$CC" = "clang" ]; then
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index 5de0ee6be..d3758d42e 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -178,8 +178,8 @@ Q: What DPDK version does each Open vSwitch release work 
with?
 2.8.x17.05.2
 2.9.x17.11.4
 2.10.x   17.11.4
-2.11.x   18.11.6
-2.12.x   18.11.6
+2.11.x   18.11.9
+2.12.x   18.11.9
  ===
 
 Q: Are all the DPDK releases that OVS versions work with maintained?
diff --git a/Documentation/intro/install/dpdk.rst 
b/Documentation/intro/install/dpdk.rst
index 78a28c16a..510923dcc 100644
--- a/Documentation/intro/install/dpdk.rst
+++ b/Documentation/intro/install/dpdk.rst
@@ -42,7 +42,7 @@ Build requirements
 In addition to the requirements described in :doc:`general`, building Open
 vSwitch with DPDK will require the following:
 
-- DPDK 18.11.6
+- DPDK 18.11.9
 
 - A `DPDK supported NIC`_
 
@@ -71,9 +71,9 @@ Install DPDK
 #. Download the `DPDK sources`_, extract the file and set ``DPDK_DIR``::
 
$ cd /usr/src/
-   $ wget http://fast.dpdk.org/rel/dpdk-18.11.6.tar.xz
-   $ tar xf dpdk-18.11.6.tar.xz
-   $ export DPDK_DIR=/usr/src/dpdk-stable-18.11.6
+   $ wget http://fast.dpdk.org/rel/dpdk-18.11.9.tar.xz
+   $ tar xf dpdk-18.11.9.tar.xz
+   $ export DPDK_DIR=/usr/src/dpdk-stable-18.11.9
$ 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 d9e6745ef..225397853 100644
--- a/Documentation/topics/dpdk/vhost-user.rst
+++ b/Documentation/topics/dpdk/vhost-user.rst
@@ -392,9 +392,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-18.11.6.tar.xz
-$ tar xf dpdk-18.11.6.tar.xz
-$ export DPDK_DIR=/root/dpdk/dpdk-stable-18.11.6
+$ wget http://fast.dpdk.org/rel/dpdk-18.11.9.tar.xz
+$ tar xf dpdk-18.11.9.tar.xz
+$ export DPDK_DIR=/root/dpdk/dpdk-stable-18.11.9
 $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
 $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
 $ cd $DPDK_DIR
diff --git a/NEWS b/NEWS
index d99da13a3..d00cc22df 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,11 @@
 v2.12.1 - xx xxx 
 -
- DPDK:
- * OVS validated with DPDK 18.11.6, due to the inclusion of a fix for
-   CVE-2019-14818, this DPDK version is strongly recommended to be used.
+ * OVS validated with DPDK 18.11.9. Due to this being the latest LTS to
+   be validated and coupled with the inclusion of fixes for
+   CVE-2019-14818, CVE-2020-10722, CVE-2020-10723 and CVE-2020-10724
+   over the course of various LTS releases, this DPDK version is strongly
+   recommended to be used.
 
 v2.12.0 - 03 Sep 2019
 -
-- 
2.13.6

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH branch-2.9 v1 1/1] dpdk:Use DPDK 17.11.10 release.

2020-07-11 Thread Ian Stokes
Modify travis linux build script to use the latest DPDK stable release.
Update docs for latest DPDK stable releases. Note 17.11.10 is the final
support release for the 17.11 series, no further support releases for
17.11 series are expected.

Signed-off-by: Ian Stokes 
---
 .travis/linux-build.sh   | 2 +-
 Documentation/faq/releases.rst   | 8 
 Documentation/intro/install/dpdk.rst | 8 
 Documentation/topics/dpdk/vhost-user.rst | 6 +++---
 NEWS | 2 +-
 5 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index b13adb46b..2c3b5d1c0 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -83,7 +83,7 @@ fi
 
 if [ "$DPDK" ]; then
 if [ -z "$DPDK_VER" ]; then
-DPDK_VER="17.11.6"
+DPDK_VER="17.11.10"
 fi
 install_dpdk $DPDK_VER
 if [ "$CC" = "clang" ]; then
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index 0ea42348e..447045273 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -154,9 +154,9 @@ Q: What DPDK version does each Open vSwitch release work 
with?
 A: The following table lists the DPDK version against which the given
 versions of Open vSwitch will successfully build.
 
- ===
+ 
 Open vSwitch DPDK
- ===
+ 
 2.2.x1.6
 2.3.x1.6
 2.4.x2.0
@@ -164,8 +164,8 @@ Q: What DPDK version does each Open vSwitch release work 
with?
 2.6.x16.07.2
 2.7.x16.11.8
 2.8.x17.05.2
-2.9.x17.11.6
- ===
+2.9.x17.11.10
+ 
 
 Q: Are all the DPDK releases that OVS versions work with maintained?
 
diff --git a/Documentation/intro/install/dpdk.rst 
b/Documentation/intro/install/dpdk.rst
index fcbe6b05e..68c8ccc91 100644
--- a/Documentation/intro/install/dpdk.rst
+++ b/Documentation/intro/install/dpdk.rst
@@ -40,7 +40,7 @@ Build requirements
 In addition to the requirements described in :doc:`general`, building Open
 vSwitch with DPDK will require the following:
 
-- DPDK 17.11.6
+- DPDK 17.11.10
 
 - A `DPDK supported NIC`_
 
@@ -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-17.11.6.tar.xz
-   $ tar xf dpdk-17.11.6.tar.xz
-   $ export DPDK_DIR=/usr/src/dpdk-stable-17.11.6
+   $ wget http://fast.dpdk.org/rel/dpdk-17.11.10.tar.xz
+   $ tar xf dpdk-17.11.10.tar.xz
+   $ export DPDK_DIR=/usr/src/dpdk-stable-17.11.10
$ 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 197bfac7b..32b42aae0 100644
--- a/Documentation/topics/dpdk/vhost-user.rst
+++ b/Documentation/topics/dpdk/vhost-user.rst
@@ -316,9 +316,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-17.11.6.tar.xz
-$ tar xf dpdk-17.11.6.tar.xz
-$ export DPDK_DIR=/root/dpdk/dpdk-stable-17.11.6
+$ wget http://fast.dpdk.org/rel/dpdk-17.11.10.tar.xz
+$ tar xf dpdk-17.11.10.tar.xz
+$ export DPDK_DIR=/root/dpdk/dpdk-stable-17.11.10
 $ export DPDK_TARGET=x86_64-native-linuxapp-gcc
 $ export DPDK_BUILD=$DPDK_DIR/$DPDK_TARGET
 $ cd $DPDK_DIR
diff --git a/NEWS b/NEWS
index ae914eabb..a6f1586ac 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
 v2.9.7 - xx xxx 
 
- DPDK
-* OVS validated with DPDK 17.11.6 which is recommended to be used.
+* OVS validated with DPDK 17.11.10 which is recommended to be used.
 
 v2.9.6 - 03 Sep 2019
 
-- 
2.13.6

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev