i40e: prep vsi_open logic for non-netdev cases
authorShannon Nelson <shannon.nelson@intel.com>
Fri, 14 Mar 2014 07:32:25 +0000 (07:32 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Apr 2014 10:18:14 +0000 (03:18 -0700)
commitc22e3c6c791221fc00b56e8a8250fa50f3724d3f
tree57c2c31f4e54d8a9865f98ad2d3e56072d18897e
parentbefc229c0e1aef9fd14948c12ca9dbad47958d9d
i40e: prep vsi_open logic for non-netdev cases

Rearrange the "if netdev" logic slightly to get ready for handling
non-netdev VSIs.

Change-ID: Ia0bfe13d4c994a2351a3c31fe725b75caeb397ee
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c