]> git.proxmox.com Git - ovs.git/commit
ovn pinctrl: Pass 'struct rconn *swconn' to all the functions which use it
authorNuman Siddique <nusiddiq@redhat.com>
Sat, 16 Mar 2019 05:57:26 +0000 (11:27 +0530)
committerBen Pfaff <blp@ovn.org>
Mon, 25 Mar 2019 21:23:46 +0000 (14:23 -0700)
commit5073838f218310e3d0f840d77dae2b4fffc3ae18
tree30ed15761b71e6e385ddb01c57e6037e83bdddc8
parente06c44a865a58a8c1765c24fba9f7eaa874b3d68
ovn pinctrl: Pass 'struct rconn *swconn' to all the functions which use it

In pinctrl.c, many functions use 'swconn' variable which is declared as
global static. This patch passes 'swconn' as a variable to functions.
This will help in an upcoming patch which makes processing
packet-ins in a separate pthread.

Suggested-by: Mark Michelson <mmichels@redhat.com>
Acked-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Numan Siddique <nusiddiq@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/controller/pinctrl.c