]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
i40e: set pf_id based on device and function numbers
authorChristopher Pau <christopher.pau@intel.com>
Sat, 16 Nov 2013 10:00:33 +0000 (10:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Dec 2013 07:12:57 +0000 (23:12 -0800)
commit71bd4b8ec0bf5fbeea54270b390bebe8e108fbf8
treeff863e06d50af337606e732c55f261e961926d52
parentd70f2cf520cf8c86c6b467fc5dcea524ec51dc2f
i40e: set pf_id based on device and function numbers

pf_id needs to be encoded for cards with ARI enabled, which
allows for larger function numbers than 8.

Commit-Id: I23fa7df9dabf3878cc08c9b2151729c8539f5f17
Signed-off-by: Christopher Pau <christopher.pau@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_common.c