summaryrefslogtreecommitdiffstats
path: root/scripts/decodecode
diff options
context:
space:
mode:
authorJarno Rajahalme <jrajahalme@nicira.com>2014-05-05 13:13:14 -0700
committerPravin B Shelar <pshelar@nicira.com>2014-05-22 16:27:34 -0700
commitfb5d1e9e127ad1542e5db20cd8620a1509baef69 (patch)
treebb5601cf10a9505cadea342a2b7dfcfce164b1f6 /scripts/decodecode
parentbb6f9a708d4067713afae2e9eb2637f6b4c01ecb (diff)
downloadblackbird-op-linux-fb5d1e9e127ad1542e5db20cd8620a1509baef69.tar.gz
blackbird-op-linux-fb5d1e9e127ad1542e5db20cd8620a1509baef69.zip
openvswitch: Build flow cmd netlink reply only if needed.
Use netlink_has_listeners() and NLM_F_ECHO flag to determine if a reply is needed or not for OVS_FLOW_CMD_NEW, OVS_FLOW_CMD_SET, or OVS_FLOW_CMD_DEL. Currently, OVS userspace does not request a reply for OVS_FLOW_CMD_NEW, but usually does for OVS_FLOW_CMD_DEL, as stats may have changed. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'scripts/decodecode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud