diff options
| author | Michal Swiatkowski <[email protected]> | 2023-10-24 11:09:18 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2023-11-13 19:42:14 +0000 |
| commit | 7c37bf99a60c990682829e71fb86f75494d02504 (patch) | |
| tree | ff365fe64e340e5e60721255d2a238d68e0d2665 /drivers/net/ethernet/intel/ice/ice_repr.c | |
| parent | ice: remove unused control VSI parameter (diff) | |
| download | kernel-7c37bf99a60c990682829e71fb86f75494d02504.tar.gz kernel-7c37bf99a60c990682829e71fb86f75494d02504.zip | |
ice: track q_id in representor
Previously queue index of control plane VSI used by port representor was
always id of VF. If we want to allow adding port representors for
different devices we have to track queue index in the port representor
structure.
Reviewed-by: Wojciech Drewek <[email protected]>
Reviewed-by: Piotr Raczynski <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: Michal Swiatkowski <[email protected]>
Tested-by: Sujai Buvaneswaran <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_repr.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_repr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_repr.c b/drivers/net/ethernet/intel/ice/ice_repr.c index c686ac0935eb..a2dc216c964f 100644 --- a/drivers/net/ethernet/intel/ice/ice_repr.c +++ b/drivers/net/ethernet/intel/ice/ice_repr.c @@ -306,6 +306,7 @@ static int ice_repr_add(struct ice_vf *vf) repr->src_vsi = vsi; repr->vf = vf; + repr->q_id = vf->vf_id; vf->repr = repr; np = netdev_priv(repr->netdev); np->repr = repr; |
