OSDN Git Service

ice: Refactor ice_aqc_link_topo_addr
authorMaciej Machnikowski <maciej.machnikowski@intel.com>
Mon, 30 Aug 2021 12:26:14 +0000 (14:26 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 14 Oct 2021 14:37:30 +0000 (07:37 -0700)
commite00ae1a2aaf2348025cc75007ebd932a1e64c544
treeedff125e498533d6bbe6f42a0230a12fad1030a3
parent9974cb5c879048f5144d0660c4932d98176213c4
ice: Refactor ice_aqc_link_topo_addr

Separate link topo parameters in struct ice_aqc_link_topo_addr into
new struct ice_aqc_link_topo_params.
This keeps input parameters for the get_link_topo command in a separate
structure and is required by future commands that operate only on link
topo params without the node handle.

Signed-off-by: Maciej Machnikowski <maciej.machnikowski@intel.com>
Tested-by: Sunitha Mekala <sunithax.d.mekala@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