[ovs-git] [openvswitch/ovs] 476590: netdev-dpdk: Make get_config() report correct queu...

GitHub noreply at github.com
Mon Sep 15 21:36:16 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 476590621ec194c73b235ca5db15fa5e9bf50976
      https://github.com/openvswitch/ovs/commit/476590621ec194c73b235ca5db15fa5e9bf50976
  Author: Alex Wang <alexw at nicira.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Make get_config() report correct queue info.

With the separation of tx queue and rx queue configuration
in netdev-dpdk module, the netdev_dpdk_get_config() can no
longer report 'n_rxq' as tx queue configuration.

This commit fixes the above issue.

Reported-by: Daniele Di Proietto <ddiproietto at vmware.com>
Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Daniele Di Proietto <ddiproietto at vmware.com>


  Commit: b7ccaf673e7669499155ccf2cacdfeb9971417b7
      https://github.com/openvswitch/ovs/commit/b7ccaf673e7669499155ccf2cacdfeb9971417b7
  Author: Alex Wang <alexw at nicira.com>
  Date:   2014-09-15 (Mon, 15 Sep 2014)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Fix thread-safety breach.

dpdk_eth_dev_init() must be called with dpdk_mutex.  However,
netdev_dpdk_set_multiq() fails to follow this rule.  This commit
fixes this breach.

Found by clang.

Signed-off-by: Alex Wang <alexw at nicira.com>
Acked-by: Daniele Di Proietto <ddiproietto at vmware.com>


Compare: https://github.com/openvswitch/ovs/compare/65f13b50c5aa...b7ccaf673e76


More information about the git mailing list