Home
last modified time | relevance | path

Searched hist:"738967 b8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/openvswitch/
H A Dactions.c738967b8 Mon Sep 08 02:35:02 CDT 2014 Andy Zhou <azhou@nicira.com> openvswitch: refactor do_output() to move NULL check out of fast path

skb_clone() NULL check is implemented in do_output(), as past of the
common (fast) path. Refactoring so that NULL check is done in the
slow path, immediately after skb_clone() is called.

Besides optimization, this change also improves code readability by
making the skb_clone() NULL check consistent within OVS datapath
module.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
738967b8 Mon Sep 08 02:35:02 CDT 2014 Andy Zhou <azhou@nicira.com> openvswitch: refactor do_output() to move NULL check out of fast path

skb_clone() NULL check is implemented in do_output(), as past of the
common (fast) path. Refactoring so that NULL check is done in the
slow path, immediately after skb_clone() is called.

Besides optimization, this change also improves code readability by
making the skb_clone() NULL check consistent within OVS datapath
module.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>