OSDN Git Service

ice: add AQC get link topology handle support
authorPaul Greenwalt <paul.greenwalt@intel.com>
Thu, 9 Jul 2020 16:16:12 +0000 (09:16 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 23 Jul 2020 22:33:26 +0000 (15:33 -0700)
commit8ea1da593b25b4b3251c43753e233efe5f06a3f0
treec10505a0b44a87200cf1d60db62c3b647990240f
parentbdeff9718a1b13032357165df7dd97bc18b41b9e
ice: add AQC get link topology handle support

Add AQC get link topology handle support. This is needed to determine
Direct Attach (DA) or backplane media type for PHY types that support
either. Get link topology handle cage node type request can be used to
determine if a cage is present or not. If a cage is present for PHY
types that supports both DA and backplane media type, then the media
type is DA, else the media type is backplane.

Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
drivers/net/ethernet/intel/ice/ice_common.c