[ovs-git] [openvswitch/ovs] 406292: netdev-dpdk: Do not flush tx queue which is shared...

GitHub noreply at github.com
Thu Jun 25 18:20:37 UTC 2015


  Branch: refs/heads/branch-2.4
  Home:   https://github.com/openvswitch/ovs
  Commit: 4062928f7efcc6d0d3bc27b434a34503f084c63a
      https://github.com/openvswitch/ovs/commit/4062928f7efcc6d0d3bc27b434a34503f084c63a
  Author: Wei li <liw at dtdream.com>
  Date:   2015-06-25 (Thu, 25 Jun 2015)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Do not flush tx queue which is shared among CPUs since it is always flushed

When tx queue is shared among CPUS,the pkts always be flush
in 'netdev_dpdk_eth_send'. So it is unnecessarily for flushing
in netdev_dpdk_rxq_recv Otherwise tx will be accessed without
locking.

Signed-off-by: Wei li <liw at dtdream.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 2322af3d415e5149af696193a12a2866f3fd0dff
      https://github.com/openvswitch/ovs/commit/2322af3d415e5149af696193a12a2866f3fd0dff
  Author: Mark Kavanagh <mark.b.kavanagh at intel.com>
  Date:   2015-06-25 (Thu, 25 Jun 2015)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  -----------
  dpif-netdev: log port/core affinity

When using multiple PMDs and numerous ports, a performance gain
may be achieved in some use cases by pinning a PMD/port to a
particular (set of) core(s).

This patch provides a summary of the switch's port/core affinities
each time that the status of the switch's ports is modified.
Based on this information, a user may determine what affinity
modifications are required to optimise performance for their
particular use case.

Signed-off-by: Mark Kavanagh <mark.b.kavanagh at intel.com>
Signed-off-by: Wojciech Andralojc <wojciechx.andralojc at intel.com>
Acked-by: Flavio Leitner <fbl at redhat.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: 534caf02605133b1c2c62c7ec0d4442f8b973a1b
      https://github.com/openvswitch/ovs/commit/534caf02605133b1c2c62c7ec0d4442f8b973a1b
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-06-25 (Thu, 25 Jun 2015)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Fix sparse and clang warnings

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


  Commit: ab09c9f04f3be6b44c077a0239059fa00656d3b7
      https://github.com/openvswitch/ovs/commit/ab09c9f04f3be6b44c077a0239059fa00656d3b7
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-06-25 (Thu, 25 Jun 2015)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Reset RSS hash when receiving from a vhost device.

A vhost device, being a virtual interface, doesn't provide a valid RSS
hash.  As a workaround we set the value to 0, which suggests the
datapath to recompute the hash in software.

Reported-by: Dongjun <dongj at dtdream.com>
CC: Traynor, Kevin <kevin.traynor at intel.com>
CC: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Acked-by: Pravin B Shelar <pshelar at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/22b4ccf4f76e...ab09c9f04f3b


More information about the git mailing list