src/dpdk/drivers/net/ice/base/ice_dcb.c
enum ice_status
ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd)
{
	struct ice_aqc_lldp_start *cmd;
	struct ice_aq_desc desc;

	cmd = &desc.params.lldp_start;

	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_start);

	cmd->command = ICE_AQ_LLDP_AGENT_START;

	if (persist)
		cmd->command |= ICE_AQ_LLDP_AGENT_PERSIST_ENA;

	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
}
/**
 * ice_aq_start_lldp
 * @hw: pointer to the HW struct
 * @persist: True if Start of LLDP Agent needs to be persistent across reboots
 * @cd: pointer to command details structure or NULL
 *
 * Start the embedded LLDP Agent on all ports. (0x0A06)
 */
ice_aq_start_lldp
@hw: pointer to the HW struct
@persist: True if Start of LLDP Agent needs to be persistent across reboots
@cd: pointer to command details structure or NULL

Start the embedded LLDP Agent on all ports.
ice_aq_start_lldp @hw : pointer to the HW struct @persist : True if Start of LLDP Agent needs to be persistent across reboots @cd : pointer to command details structure or NULL Start the embedded LLDP Agent on all ports .
enum ice_status
ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd)
{
	struct ice_aqc_lldp_start *cmd;
	struct ice_aq_desc desc;
	cmd = &desc.params.lldp_start;
	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_start);
	cmd->command = ICE_AQ_LLDP_AGENT_START;
	if (persist)
		cmd->command |= ICE_AQ_LLDP_AGENT_PERSIST_ENA;
	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
}
enum ice_status ice_aq_start_lldp ( struct ice_hw * hw , bool persist , struct ice_sq_cd * cd ) { struct ice_aqc_lldp_start * cmd ; struct ice_aq_desc desc ; cmd = & desc . params . lldp_start ; ice_fill_dflt_direct_cmd_desc ( & desc , ice_aqc_opc_lldp_start ) ; cmd -> command = ICE_AQ_LLDP_AGENT_START ; if ( persist ) cmd -> command |= ICE_AQ_LLDP_AGENT_PERSIST_ENA ; return ice_aq_send_cmd ( hw , & desc , NULL , 0 , cd ) ; }
ice_aq_start_lldp
 @hw: pointer to the HW struct
 @persist: True if Start of LLDP Agent needs to be persistent across reboots
 @cd: pointer to command details structure or NULL
ice_aq_start_lldp @hw : pointer to the HW struct @persist : True if Start of LLDP Agent needs to be persistent across reboots @cd : pointer to command details structure or NULL