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

	cmd = &desc.params.lldp_stop;

	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_stop);

	if (shutdown_lldp_agent)
		cmd->command |= ICE_AQ_LLDP_AGENT_SHUTDOWN;

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

	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
}
/**
 * ice_aq_stop_lldp
 * @hw: pointer to the HW struct
 * @shutdown_lldp_agent: True if LLDP Agent needs to be Shutdown
 *			 False if LLDP Agent needs to be Stopped
 * @persist: True if Stop/Shutdown of LLDP Agent needs to be persistent across
 *	     reboots
 * @cd: pointer to command details structure or NULL
 *
 * Stop or Shutdown the embedded LLDP Agent (0x0A05)
 */
ice_aq_stop_lldp
@hw: pointer to the HW struct
@shutdown_lldp_agent: True if LLDP Agent needs to be Shutdown
False if LLDP Agent needs to be Stopped
@persist: True if Stop/Shutdown of LLDP Agent needs to be persistent across
reboots
@cd: pointer to command details structure or NULL

Stop or Shutdown the embedded LLDP Agent (0x0A05)
ice_aq_stop_lldp @hw : pointer to the HW struct @shutdown_lldp_agent : True if LLDP Agent needs to be Shutdown False if LLDP Agent needs to be Stopped @persist : True if Stop / Shutdown of LLDP Agent needs to be persistent across reboots @cd : pointer to command details structure or NULL Stop or Shutdown the embedded LLDP Agent ( 0x0A05 )
enum ice_status
ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist,
		 struct ice_sq_cd *cd)
{
	struct ice_aqc_lldp_stop *cmd;
	struct ice_aq_desc desc;
	cmd = &desc.params.lldp_stop;
	ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_stop);
	if (shutdown_lldp_agent)
		cmd->command |= ICE_AQ_LLDP_AGENT_SHUTDOWN;
	if (persist)
		cmd->command |= ICE_AQ_LLDP_AGENT_PERSIST_DIS;
	return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
}
enum ice_status ice_aq_stop_lldp ( struct ice_hw * hw , bool shutdown_lldp_agent , bool persist , struct ice_sq_cd * cd ) { struct ice_aqc_lldp_stop * cmd ; struct ice_aq_desc desc ; cmd = & desc . params . lldp_stop ; ice_fill_dflt_direct_cmd_desc ( & desc , ice_aqc_opc_lldp_stop ) ; if ( shutdown_lldp_agent ) cmd -> command |= ICE_AQ_LLDP_AGENT_SHUTDOWN ; if ( persist ) cmd -> command |= ICE_AQ_LLDP_AGENT_PERSIST_DIS ; return ice_aq_send_cmd ( hw , & desc , NULL , 0 , cd ) ; }
ice_aq_stop_lldp
 @hw: pointer to the HW struct
 @shutdown_lldp_agent: True if LLDP Agent needs to be Shutdown
                       False if LLDP Agent needs to be Stopped
 @persist: True if Stop/Shutdown of LLDP Agent needs to be persistent across
           reboots
 @cd: pointer to command details structure or NULL
ice_aq_stop_lldp @hw : pointer to the HW struct @shutdown_lldp_agent : True if LLDP Agent needs to be Shutdown False if LLDP Agent needs to be Stopped @persist : True if Stop / Shutdown of LLDP Agent needs to be persistent across reboots @cd : pointer to command details structure or NULL