<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openvswitch.git, branch dpdk-hwol</title>
<subtitle>github.com: openvswitch/ovs.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/'/>
<entry>
<title>netdev-dpdk: Prefix network structures with rte_.</title>
<updated>2019-06-20T15:49:02+00:00</updated>
<author>
<name>David Marchand</name>
<email>david.marchand@redhat.com</email>
</author>
<published>2019-06-04T09:29:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=75e5e39e5468cb9f15114f7d8b367d39bc26756c'/>
<id>75e5e39e5468cb9f15114f7d8b367d39bc26756c</id>
<content type='text'>
Following a rework of dpdk network structures names [1], update the
concerned parts.

Ran Olivier script [2]:
sh prefix-net-rte.sh $(find -name "*dpdk*.c")
sh prefix-net-rte.sh $(find -name "*dpdk*.h")
sh prefix-net-rte.sh $(find -name "*rte*.c")
sh prefix-net-rte.sh $(find -name "*rte*.h")

1: http://mails.dpdk.org/archives/dev/2019-May/132612.html
2: http://mails.dpdk.org/archives/dev/2019-May/133081.html

Signed-off-by: David Marchand &lt;david.marchand@redhat.com&gt;
Signed-off-by: Ian Stokes &lt;ian.stokes@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Following a rework of dpdk network structures names [1], update the
concerned parts.

Ran Olivier script [2]:
sh prefix-net-rte.sh $(find -name "*dpdk*.c")
sh prefix-net-rte.sh $(find -name "*dpdk*.h")
sh prefix-net-rte.sh $(find -name "*rte*.c")
sh prefix-net-rte.sh $(find -name "*rte*.h")

1: http://mails.dpdk.org/archives/dev/2019-May/132612.html
2: http://mails.dpdk.org/archives/dev/2019-May/133081.html

Signed-off-by: David Marchand &lt;david.marchand@redhat.com&gt;
Signed-off-by: Ian Stokes &lt;ian.stokes@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netdev-dpdk: Update by new color definitions.</title>
<updated>2019-06-20T15:49:02+00:00</updated>
<author>
<name>Ophir Munk</name>
<email>ophirmu@mellanox.com</email>
</author>
<published>2019-04-16T06:41:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=446a2a7ede1f377687e8c0d848d63eb5e9988cfa'/>
<id>446a2a7ede1f377687e8c0d848d63eb5e9988cfa</id>
<content type='text'>
Following dpdk new color definitions (see [1]) 'e_RTE_METER_GREEN'
was replaced with 'RTE_COLOR_GREEN'.

[1]
Commit c1656328dbc2: ("meter: replace color definitions")

Signed-off-by: Ophir Munk &lt;ophirmu@mellanox.com&gt;
Signed-off-by: Ian Stokes &lt;ian.stokes@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Following dpdk new color definitions (see [1]) 'e_RTE_METER_GREEN'
was replaced with 'RTE_COLOR_GREEN'.

[1]
Commit c1656328dbc2: ("meter: replace color definitions")

Signed-off-by: Ophir Munk &lt;ophirmu@mellanox.com&gt;
Signed-off-by: Ian Stokes &lt;ian.stokes@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>travis: Make it possible to build against a dpdk branch.</title>
<updated>2019-06-19T07:43:59+00:00</updated>
<author>
<name>David Marchand</name>
<email>david.marchand@redhat.com</email>
</author>
<published>2019-06-19T07:26:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=3925b3e9afbee28a49d04752125636fedc970d13'/>
<id>3925b3e9afbee28a49d04752125636fedc970d13</id>
<content type='text'>
Rework the build script so that we can pass branches and tags.

With this, DPDK_VER can be passed as:
- a string starting with refs/ which is understood as a git reference.
  This triggers a git clone on DPDK_GIT (default value points to
  https://dpdk.org/git/dpdk) for a single branch pointing to this
  reference (to save some disk),
- else, any other string which is understood as an official release.
  This triggers a tarball download on dpdk.org.

Signed-off-by: David Marchand &lt;david.marchand@redhat.com&gt;
Signed-off-by: Ilya Maximets &lt;i.maximets@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rework the build script so that we can pass branches and tags.

With this, DPDK_VER can be passed as:
- a string starting with refs/ which is understood as a git reference.
  This triggers a git clone on DPDK_GIT (default value points to
  https://dpdk.org/git/dpdk) for a single branch pointing to this
  reference (to save some disk),
- else, any other string which is understood as an official release.
  This triggers a tarball download on dpdk.org.

Signed-off-by: David Marchand &lt;david.marchand@redhat.com&gt;
Signed-off-by: Ilya Maximets &lt;i.maximets@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>travis: Do not patch dpdk sources.</title>
<updated>2019-06-19T07:43:53+00:00</updated>
<author>
<name>David Marchand</name>
<email>david.marchand@redhat.com</email>
</author>
<published>2019-06-19T07:26:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=7639e06680b9c0a5ba84c075ca019e0adfa52883'/>
<id>7639e06680b9c0a5ba84c075ca019e0adfa52883</id>
<content type='text'>
Rather than patch the dpdk makefile and a template config file, we can
pass the -fPIC flag via EXTRA_CFLAGS.
This is more reliable than expecting the dpdk file names to be kept
unchanged.

Signed-off-by: David Marchand &lt;david.marchand@redhat.com&gt;
Signed-off-by: Ilya Maximets &lt;i.maximets@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than patch the dpdk makefile and a template config file, we can
pass the -fPIC flag via EXTRA_CFLAGS.
This is more reliable than expecting the dpdk file names to be kept
unchanged.

Signed-off-by: David Marchand &lt;david.marchand@redhat.com&gt;
Signed-off-by: Ilya Maximets &lt;i.maximets@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>AUTHORS: Add Yanqin Wei and Malvika Gupta.</title>
<updated>2019-06-13T17:52:51+00:00</updated>
<author>
<name>Ben Pfaff</name>
<email>blp@ovn.org</email>
</author>
<published>2019-06-13T17:52:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=9588c3779bfcc225b04c5fc4455f9139db0aed45'/>
<id>9588c3779bfcc225b04c5fc4455f9139db0aed45</id>
<content type='text'>
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>util: implement count_1bits with Neon intrinsics or gcc built-in for aarch64.</title>
<updated>2019-06-13T17:22:12+00:00</updated>
<author>
<name>Yanqin Wei</name>
<email>Yanqin.Wei@arm.com</email>
</author>
<published>2019-06-13T10:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=a0f7bf222030f4cdbce0bda66bd9f2bc6983d9db'/>
<id>a0f7bf222030f4cdbce0bda66bd9f2bc6983d9db</id>
<content type='text'>
Userspace datapath needs to traverse through miniflow values many times. In
this process, 'count_1bits' operation for 'Flowmap' significantly impact
performance. On arm, this function was defined by portable implementation
because gcc for arm does not support popcnt feature.
But in the aarch64, VCNT neon instruction can accelerate "count_1bits".
From Gcc-7, the built-in function is implemented with neon intruction.
In this patch, count_1bits function will be impelmented with gcc built-in
from gcc-7 on, and with neon intrinsics in gcc-6.
Performance test was run in two aarch64 machines. In the NIC2NIC test, one
tuple dpcls lookup case achieves around 4% throughput improvement and
10(average) tuples case achieves around 5% improvement.

Tested-by: Malvika Gupta &lt;malvika.gupta@arm.com&gt;
Signed-off-by: Yanqin Wei &lt;Yanqin.Wei@arm.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Userspace datapath needs to traverse through miniflow values many times. In
this process, 'count_1bits' operation for 'Flowmap' significantly impact
performance. On arm, this function was defined by portable implementation
because gcc for arm does not support popcnt feature.
But in the aarch64, VCNT neon instruction can accelerate "count_1bits".
From Gcc-7, the built-in function is implemented with neon intruction.
In this patch, count_1bits function will be impelmented with gcc built-in
from gcc-7 on, and with neon intrinsics in gcc-6.
Performance test was run in two aarch64 machines. In the NIC2NIC test, one
tuple dpcls lookup case achieves around 4% throughput improvement and
10(average) tuples case achieves around 5% improvement.

Tested-by: Malvika Gupta &lt;malvika.gupta@arm.com&gt;
Signed-off-by: Yanqin Wei &lt;Yanqin.Wei@arm.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>datapath: Support kernel version 5.0.x</title>
<updated>2019-06-13T17:03:11+00:00</updated>
<author>
<name>Yifeng Sun</name>
<email>pkusunyifeng@gmail.com</email>
</author>
<published>2019-06-12T22:35:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=2adada0e3db2279c8386cc9ca7e19fd3003f04d6'/>
<id>2adada0e3db2279c8386cc9ca7e19fd3003f04d6</id>
<content type='text'>
This patch updated acinclude.m4 so that OVS can be compiled on
5.0.x kernels.
This patch also updated travis files so that 5.0.x kernel versions
are used during travis test builds.
Besides, NEWS and releases.rst are also updated to reflect this
new support.

Acked-by: Yi-Hung Wei &lt;yihung.wei@gmail.com&gt;
Signed-off-by: Yifeng Sun &lt;pkusunyifeng@gmail.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch updated acinclude.m4 so that OVS can be compiled on
5.0.x kernels.
This patch also updated travis files so that 5.0.x kernel versions
are used during travis test builds.
Besides, NEWS and releases.rst are also updated to reflect this
new support.

Acked-by: Yi-Hung Wei &lt;yihung.wei@gmail.com&gt;
Signed-off-by: Yifeng Sun &lt;pkusunyifeng@gmail.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: core: dev: Add extack argument to dev_change_flags()</title>
<updated>2019-06-13T17:03:11+00:00</updated>
<author>
<name>Petr Machata</name>
<email>petrm@mellanox.com</email>
</author>
<published>2019-06-12T22:35:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=140c8971c31c82cb7c38753a5cd974a193b29c5b'/>
<id>140c8971c31c82cb7c38753a5cd974a193b29c5b</id>
<content type='text'>
Upstream commit:
    commit 567c5e13be5cc74d24f5eb54cf353c2e2277189b
    Author: Petr Machata &lt;petrm@mellanox.com&gt;
    Date:   Thu Dec 6 17:05:42 2018 +0000

    net: core: dev: Add extack argument to dev_change_flags()

    In order to pass extack together with NETDEV_PRE_UP notifications, it's
    necessary to route the extack to __dev_open() from diverse (possibly
    indirect) callers. One prominent API through which the notification is
    invoked is dev_change_flags().

    Therefore extend dev_change_flags() with and extra extack argument and
    update all users. Most of the calls end up just encoding NULL, but
    several sites (VLAN, ipvlan, VRF, rtnetlink) do have extack available.

    Since the function declaration line is changed anyway, name the other
    function arguments to placate checkpatch.

    Signed-off-by: Petr Machata &lt;petrm@mellanox.com&gt;
    Acked-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
    Reviewed-by: Ido Schimmel &lt;idosch@mellanox.com&gt;
    Reviewed-by: David Ahern &lt;dsahern@gmail.com&gt;
    Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

This patch backports the above upstream patch and also adds fixes
in compat code.

Cc: Petr Machata &lt;petrm@mellanox.com&gt;
Acked-by: Yi-Hung Wei &lt;yihung.wei@gmail.com&gt;
Signed-off-by: Yifeng Sun &lt;pkusunyifeng@gmail.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream commit:
    commit 567c5e13be5cc74d24f5eb54cf353c2e2277189b
    Author: Petr Machata &lt;petrm@mellanox.com&gt;
    Date:   Thu Dec 6 17:05:42 2018 +0000

    net: core: dev: Add extack argument to dev_change_flags()

    In order to pass extack together with NETDEV_PRE_UP notifications, it's
    necessary to route the extack to __dev_open() from diverse (possibly
    indirect) callers. One prominent API through which the notification is
    invoked is dev_change_flags().

    Therefore extend dev_change_flags() with and extra extack argument and
    update all users. Most of the calls end up just encoding NULL, but
    several sites (VLAN, ipvlan, VRF, rtnetlink) do have extack available.

    Since the function declaration line is changed anyway, name the other
    function arguments to placate checkpatch.

    Signed-off-by: Petr Machata &lt;petrm@mellanox.com&gt;
    Acked-by: Jiri Pirko &lt;jiri@mellanox.com&gt;
    Reviewed-by: Ido Schimmel &lt;idosch@mellanox.com&gt;
    Reviewed-by: David Ahern &lt;dsahern@gmail.com&gt;
    Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

This patch backports the above upstream patch and also adds fixes
in compat code.

Cc: Petr Machata &lt;petrm@mellanox.com&gt;
Acked-by: Yi-Hung Wei &lt;yihung.wei@gmail.com&gt;
Signed-off-by: Yifeng Sun &lt;pkusunyifeng@gmail.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>datapath: Backport the removal of __tcp_checksum_complete()</title>
<updated>2019-06-13T17:03:11+00:00</updated>
<author>
<name>Yifeng Sun</name>
<email>pkusunyifeng@gmail.com</email>
</author>
<published>2019-06-12T22:35:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=abcf1c0deb8f1197161577996de993ff3662a243'/>
<id>abcf1c0deb8f1197161577996de993ff3662a243</id>
<content type='text'>
Upstream commit 6ab6dfa6bb500f5cbb9b7a0f23a1613417ca2d12 ("net: get
rid of __tcp_checksum_complete())" deleted __tcp_checksum_complete()
and caused compilation failure for OVS on newer kernels.

This patch fixes it by using __skb_checksum_complete(), which is
100% the same with __tcp_checksum_complete().

Acked-by: Yi-Hung Wei &lt;yihung.wei@gmail.com&gt;
Signed-off-by: Yifeng Sun &lt;pkusunyifeng@gmail.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream commit 6ab6dfa6bb500f5cbb9b7a0f23a1613417ca2d12 ("net: get
rid of __tcp_checksum_complete())" deleted __tcp_checksum_complete()
and caused compilation failure for OVS on newer kernels.

This patch fixes it by using __skb_checksum_complete(), which is
100% the same with __tcp_checksum_complete().

Acked-by: Yi-Hung Wei &lt;yihung.wei@gmail.com&gt;
Signed-off-by: Yifeng Sun &lt;pkusunyifeng@gmail.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OVS: remove use of VLAN_TAG_PRESENT</title>
<updated>2019-06-13T17:03:11+00:00</updated>
<author>
<name>Michał Mirosław</name>
<email>mirq-linux@rere.qmqm.pl</email>
</author>
<published>2019-06-12T22:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openvswitch.git/commit/?id=9feb5bda27bef6fde7f80d0727261efc361a90a3'/>
<id>9feb5bda27bef6fde7f80d0727261efc361a90a3</id>
<content type='text'>
Upstream commits:
    (1) commit 9df46aefafa6dee81a27c2a9d8ba360abd8c5fe3
    Author: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
    Date:   Thu Nov 8 18:44:50 2018 +0100

    OVS: remove use of VLAN_TAG_PRESENT

    This is a minimal change to allow removing of VLAN_TAG_PRESENT.
    It leaves OVS unable to use CFI bit, as fixing this would need
    a deeper surgery involving userspace interface.

    Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
    Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

    (2) commit 6083e28aa02d7c9e6b87f8b944e92793094ae047
    Author: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
    Date:   Sat Nov 10 19:55:34 2018 +0100

    OVS: remove VLAN_TAG_PRESENT - fixup

    It turns out I missed one VLAN_TAG_PRESENT in OVS code while rebasing.
    This fixes it.

    Fixes: 9df46aefafa6 ("OVS: remove use of VLAN_TAG_PRESENT")
    Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
    Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

This patch backports the above upstream patch to OVS and adds
extra checking in kernel module's compat code.

Cc: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Acked-by: Yi-Hung Wei &lt;yihung.wei@gmail.com&gt;
Signed-off-by: Yifeng Sun &lt;pkusunyifeng@gmail.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Upstream commits:
    (1) commit 9df46aefafa6dee81a27c2a9d8ba360abd8c5fe3
    Author: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
    Date:   Thu Nov 8 18:44:50 2018 +0100

    OVS: remove use of VLAN_TAG_PRESENT

    This is a minimal change to allow removing of VLAN_TAG_PRESENT.
    It leaves OVS unable to use CFI bit, as fixing this would need
    a deeper surgery involving userspace interface.

    Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
    Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

    (2) commit 6083e28aa02d7c9e6b87f8b944e92793094ae047
    Author: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
    Date:   Sat Nov 10 19:55:34 2018 +0100

    OVS: remove VLAN_TAG_PRESENT - fixup

    It turns out I missed one VLAN_TAG_PRESENT in OVS code while rebasing.
    This fixes it.

    Fixes: 9df46aefafa6 ("OVS: remove use of VLAN_TAG_PRESENT")
    Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
    Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

This patch backports the above upstream patch to OVS and adds
extra checking in kernel module's compat code.

Cc: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Acked-by: Yi-Hung Wei &lt;yihung.wei@gmail.com&gt;
Signed-off-by: Yifeng Sun &lt;pkusunyifeng@gmail.com&gt;
Signed-off-by: Ben Pfaff &lt;blp@ovn.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
