src/dpdk/drivers/common/iavf/iavf_adminq.c
void iavf_fill_default_direct_cmd_desc(struct iavf_aq_desc *desc,
				       u16 opcode)
{
	/* zero out the desc */
	iavf_memset((void *)desc, 0, sizeof(struct iavf_aq_desc),
		    IAVF_NONDMA_MEM);
	desc->opcode = CPU_TO_LE16(opcode);
	desc->flags = CPU_TO_LE16(IAVF_AQ_FLAG_SI);
}
/**
 *  iavf_fill_default_direct_cmd_desc - AQ descriptor helper function
 *  @desc:     pointer to the temp descriptor (non DMA mem)
 *  @opcode:   the opcode can be used to decide which flags to turn off or on
 *
 *  Fill the desc with default values
 **/
AQ descriptor helper function
@desc:     pointer to the temp descriptor (non DMA mem)
@opcode:   the opcode can be used to decide which flags to turn off or on

Fill the desc with default values
AQ descriptor helper function @desc : pointer to the temp descriptor ( non DMA mem ) @opcode : the opcode can be used to decide which flags to turn off or on Fill the desc with default values
void iavf_fill_default_direct_cmd_desc(struct iavf_aq_desc *desc,
				       u16 opcode)
{
	iavf_memset((void *)desc, 0, sizeof(struct iavf_aq_desc),
		    IAVF_NONDMA_MEM);
	desc->opcode = CPU_TO_LE16(opcode);
	desc->flags = CPU_TO_LE16(IAVF_AQ_FLAG_SI);
}
void iavf_fill_default_direct_cmd_desc ( struct iavf_aq_desc * desc , u16 opcode ) { iavf_memset ( ( void * ) desc , 0 , sizeof ( struct iavf_aq_desc ) , IAVF_NONDMA_MEM ) ; desc -> opcode = CPU_TO_LE16 ( opcode ) ; desc -> flags = CPU_TO_LE16 ( IAVF_AQ_FLAG_SI ) ; }
iavf_fill_default_direct_cmd_desc - AQ descriptor helper function
  @desc:     pointer to the temp descriptor (non DMA mem)
  @opcode:   the opcode can be used to decide which flags to turn off or on
iavf_fill_default_direct_cmd_desc - AQ descriptor helper function @desc : pointer to the temp descriptor ( non DMA mem ) @opcode : the opcode can be used to decide which flags to turn off or on
/* zero out the desc */