Skip to content
Commit 81c1d306 authored by Michal Swiatkowski's avatar Michal Swiatkowski Committed by Greg Kroah-Hartman
Browse files

ice: use internal pf id instead of function number



[ Upstream commit 503ab6ee40fc103ea55cc9e50bb879e571d65aac ]

Use always the same pf id in devlink port number. When doing
pass-through the PF to VM bus info func number can be any value.

Fixes: 2ae0aa47 ("ice: Move devlink port to PF/VF struct")
Reviewed-by: default avatarWojciech Drewek <wojciech.drewek@intel.com>
Suggested-by: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 41ae0571
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment