From: Sathya Perla Date: Mon, 24 Oct 2011 02:45:01 +0000 (+0000) Subject: be2net: refactor VF setup/teardown code into be_vf_setup/clear() X-Git-Tag: v3.2-rc1~182^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9449ab76805a2f0e739f5e85a6d9e32d089f1b2;p=pandora-kernel.git be2net: refactor VF setup/teardown code into be_vf_setup/clear() Currently the code for VF setup/teardown done by a PF (if_create, mac_add_config, link_status_query etc) is scattered; this patch refactors this code into be_vf_setup() and be_vf_clear(). The if_create/if_destroy/mac_addr_query cmds are now called after the MCCQ is created; so these cmds are now modified to use the MCCQ instead of MBOX. Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed