[ovs-git] [openvswitch/ovs] 1c381b: dpdk: Use DPDK 17.11.2 release.

GitHub noreply at github.com
Fri May 11 16:17:28 UTC 2018


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 1c381b674e8f5c467b89e9d9cbe647113053e803
      https://github.com/openvswitch/ovs/commit/1c381b674e8f5c467b89e9d9cbe647113053e803
  Author: Kevin Traynor <ktraynor at redhat.com>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M .travis/linux-build.sh
    M Documentation/faq/releases.rst
    M Documentation/intro/install/dpdk.rst
    M Documentation/topics/dpdk/vhost-user.rst

  Log Message:
  -----------
  dpdk: Use DPDK 17.11.2 release.

Modify travis linux build script to use the latest
DPDK stable release 17.11.2. Update docs for latest
DPDK stable releases.

Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: f1a2fe7e5ce0264ccbdfcb8e8335acdacfc7db95
      https://github.com/openvswitch/ovs/commit/f1a2fe7e5ce0264ccbdfcb8e8335acdacfc7db95
  Author: Kevin Traynor <ktraynor at redhat.com>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M Documentation/faq/releases.rst

  Log Message:
  -----------
  faq: Document DPDK version maintenance.

The faq already shows the DPDK versions that were
used with each OVS version. Give information about
DPDK stable and LTS releases, so the user can understand
if those versions are maintained.

Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: e10af5f6b81eecc00debc6176d8df8815821f1ee
      https://github.com/openvswitch/ovs/commit/e10af5f6b81eecc00debc6176d8df8815821f1ee
  Author: Pablo Cascón <pablo.cascon at netronome.com>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: don't enable scatter for jumbo RX support for nfp

Currently to RX jumbo packets fails for NICs not supporting scatter.
Scatter is not strictly needed for jumbo RX support. This change fixes
the issue by not enabling scatter only for the PMD/NIC known not to
need it to support jumbo RX.

Note: this change is temporary and not needed for later releases OVS/DPDK

Reported-by: Louis Peens <louis.peens at netronome.com>
Signed-off-by: Pablo Cascón <pablo.cascon at netronome.com>
Reviewed-by: Simon Horman <simon.horman at netronome.com>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: db136da56fc0abdc8b10fa4ef5c8d3d7257381fc
      https://github.com/openvswitch/ovs/commit/db136da56fc0abdc8b10fa4ef5c8d3d7257381fc
  Author: Róbert Mulik <robert.mulik at ericsson.com>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M Documentation/intro/install/dpdk.rst
    M lib/netdev-dpdk.c
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  Configurable Link State Change (LSC) detection mode

It is possible to set LSC detection mode to polling or interrupt mode
for DPDK interfaces. The default is polling mode. To set interrupt mode,
option dpdk-lsc-interrupt has to be set to true.

For detailed description and usage see the dpdk install documentation.

Signed-off-by: Robert Mulik <robert.mulik at ericsson.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 00e56c53251c68d76d8ef94d334ae4c7bcb55a02
      https://github.com/openvswitch/ovs/commit/00e56c53251c68d76d8ef94d334ae4c7bcb55a02
  Author: Eelco Chaudron <echaudro at redhat.com>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Fixed netdev_dpdk structure alignment

Currently, the code tells us we have 4 pad bytes left in cacheline0
while actually we are 8 bytes short:

struct netdev_dpdk {
	union {
		OVS_CACHE_LINE_MARKER cacheline0;        /*           1 */
		struct {
			dpdk_port_t port_id;             /*     0     2 */
			_Bool      attached;             /*     2     1 */
			struct eth_addr hwaddr;          /*     4     6 */
			int        mtu;                  /*    12     4 */
			int        socket_id;            /*    16     4 */
			int        buf_size;             /*    20     4 */
			int        max_packet_len;       /*    24     4 */
			enum dpdk_dev_type type;         /*    28     4 */
			enum netdev_flags flags;         /*    32     4 */
			char *     devargs;              /*    40     8 */
			struct dpdk_tx_queue * tx_q;     /*    48     8 */
			struct rte_eth_link link;        /*    56     8 */
			int        link_reset_cnt;       /*    64     4 */
		};                                       /*          72 */
		uint8_t            pad9[128];            /*         128 */
	};                                               /*     0   128 */
	/* --- cacheline 2 boundary (128 bytes) --- */

Re-located one member, link_reset_cnt, and now it's one cache line:

struct netdev_dpdk {
	union {
		OVS_CACHE_LINE_MARKER cacheline0;        /*           1 */
		struct {
			dpdk_port_t port_id;             /*     0     2 */
			_Bool      attached;             /*     2     1 */
			struct eth_addr hwaddr;          /*     4     6 */
			int        mtu;                  /*    12     4 */
			int        socket_id;            /*    16     4 */
			int        buf_size;             /*    20     4 */
			int        max_packet_len;       /*    24     4 */
			enum dpdk_dev_type type;         /*    28     4 */
			enum netdev_flags flags;         /*    32     4 */
			int        link_reset_cnt;       /*    36     4 */
			char *     devargs;              /*    40     8 */
			struct dpdk_tx_queue * tx_q;     /*    48     8 */
			struct rte_eth_link link;        /*    56     8 */
		};                                       /*          64 */
		uint8_t            pad9[64];             /*          64 */
	};                                               /*     0    64 */
	/* --- cacheline 1 boundary (64 bytes) --- */

Fixes: 5e925ccc2a6f ("netdev-dpdk: DPDK v17.11 upgrade")
Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
Acked-by: Tiago Lam <tiago.lam at intel.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


Compare: https://github.com/openvswitch/ovs/compare/3462a4ec4c28...00e56c53251c
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list