[ovs-dev] [PATCH v2] datapath-windows: On Debug builds, dump NBL info based on OVS_DBG_DEFAULT macro

aserdean at ovn.org aserdean at ovn.org
Thu Mar 1 21:10:02 UTC 2018


Acked-by: Alin Gabriel Serdean <aserdean at ovn.org>

-----Mesaj original-----
De la: ovs-dev-bounces at openvswitch.org
[mailto:ovs-dev-bounces at openvswitch.org] În numele Anand Kumar
Trimis: Wednesday, February 28, 2018 7:00 AM
Către: dev at openvswitch.org
Subiect: [ovs-dev] [PATCH v2] datapath-windows: On Debug builds, dump NBL
info based on OVS_DBG_DEFAULT macro

Currently nbl information is getting dumped whenever a nbl is copied or
allocated, since OVS_DBG_DEFAULT is set to OVS_DBG_INFO for debug builds,
which affects the ovs performance. Instead dump nbl information only when
OVS_DBG_DEFAULT is set to OVS_LOG_LOUD

Signed-off-by: Anand Kumar <kumaranand at vmware.com>
---
 datapath-windows/ovsext/BufferMgmt.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)




More information about the dev mailing list