]> git.proxmox.com Git - mirror_ovs.git/commit - lib/netdev-dpdk.c
netdev-dpdk: Configure flow control only when necessary.
authorIlya Maximets <i.maximets@samsung.com>
Fri, 30 Sep 2016 07:48:45 +0000 (10:48 +0300)
committerDaniele Di Proietto <diproiettod@vmware.com>
Fri, 30 Sep 2016 17:59:00 +0000 (10:59 -0700)
commitb614c894ee55b07009f3e5b10ddec7556773fcc4
treef2975e22e86a36310b7715927a1ff279cad82838
parentb685696b8c813c9b7869eace797974b8ca69db10
netdev-dpdk: Configure flow control only when necessary.

It is not necessary to touch the physical device each time, if the
configuration has not been changed. Also, few style issues fixed.

Thread-safety annotation added to 'dpdk_set_rxq_config()'. It was
missed while previous refactoring of the flow control configuration.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Tested-by: Sugesh Chandran <sugesh.chandran@intel.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
lib/netdev-dpdk.c