]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Add a new variable to track number of pf instances
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Wed, 20 Nov 2013 10:03:01 +0000 (10:03 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 Dec 2013 01:41:54 +0000 (17:41 -0800)
commit183f28815b0275de0d798feb7e7cdf1d5e717ab2
tree54bfd481adc6d05ef907625f3c14631011859e23
parentc274987b1e19aa745249e491f74d964454990586
i40e: Add a new variable to track number of pf instances

Track the number of physical functions (PFs) found, this is a global counter
on purpose so that each pf loaded has a unique ID.

Change-Id: I74d618520afbce4a774d0235449e3b5f97ff6d4a
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@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.h
drivers/net/ethernet/intel/i40e/i40e_main.c