mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ice: Add ice_get_ctrl_ptp() wrapper to simplify the code
[ Upstream commit97ed20a01f] Add ice_get_ctrl_ptp() wrapper to simplify the PTP support code in the functions that do not use ctrl_pf directly. Add the control PF pointer to struct ice_adapter Rearrange fields in struct ice_adapter Signed-off-by: Sergey Temerkhanov <sergey.temerkhanov@intel.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Stable-dep-of:258f5f9058("ice: Add correct PHY lane assignment") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
922af90ffb
commit
499db66f69
2 changed files with 16 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue