src/dpdk/drivers/net/ixgbe/base/ixgbe_x550.c
s32 ixgbe_update_flash_X550(struct ixgbe_hw *hw)
{
	s32 status = IXGBE_SUCCESS;
	union ixgbe_hic_hdr2 buffer;

	DEBUGFUNC("ixgbe_update_flash_X550");

	buffer.req.cmd = FW_SHADOW_RAM_DUMP_CMD;
	buffer.req.buf_lenh = 0;
	buffer.req.buf_lenl = FW_SHADOW_RAM_DUMP_LEN;
	buffer.req.checksum = FW_DEFAULT_CHECKSUM;

	status = ixgbe_host_interface_command(hw, (u32 *)&buffer,
					      sizeof(buffer),
					      IXGBE_HI_COMMAND_TIMEOUT, false);

	return status;
}
/**
 * ixgbe_update_flash_X550 - Instruct HW to copy EEPROM to Flash device
 * @hw: pointer to hardware structure
 *
 * Issue a shadow RAM dump to FW to copy EEPROM from shadow RAM to the flash.
 **/
Instruct HW to copy EEPROM to Flash device
@hw: pointer to hardware structure

Issue a shadow RAM dump to FW to copy EEPROM from shadow RAM to the flash.
Instruct HW to copy EEPROM to Flash device @hw : pointer to hardware structure Issue a shadow RAM dump to FW to copy EEPROM from shadow RAM to the flash .
s32 ixgbe_update_flash_X550(struct ixgbe_hw *hw)
{
	s32 status = IXGBE_SUCCESS;
	union ixgbe_hic_hdr2 buffer;
	DEBUGFUNC("ixgbe_update_flash_X550");
	buffer.req.cmd = FW_SHADOW_RAM_DUMP_CMD;
	buffer.req.buf_lenh = 0;
	buffer.req.buf_lenl = FW_SHADOW_RAM_DUMP_LEN;
	buffer.req.checksum = FW_DEFAULT_CHECKSUM;
	status = ixgbe_host_interface_command(hw, (u32 *)&buffer,
					      sizeof(buffer),
					      IXGBE_HI_COMMAND_TIMEOUT, false);
	return status;
}
s32 ixgbe_update_flash_X550 ( struct ixgbe_hw * hw ) { s32 status = IXGBE_SUCCESS ; union ixgbe_hic_hdr2 buffer ; DEBUGFUNC ( " " ) ; buffer . req . cmd = FW_SHADOW_RAM_DUMP_CMD ; buffer . req . buf_lenh = 0 ; buffer . req . buf_lenl = FW_SHADOW_RAM_DUMP_LEN ; buffer . req . checksum = FW_DEFAULT_CHECKSUM ; status = ixgbe_host_interface_command ( hw , ( u32 * ) & buffer , sizeof ( buffer ) , IXGBE_HI_COMMAND_TIMEOUT , false ) ; return status ; }
ixgbe_update_flash_X550 - Instruct HW to copy EEPROM to Flash device
 @hw: pointer to hardware structure
ixgbe_update_flash_X550 - Instruct HW to copy EEPROM to Flash device @hw : pointer to hardware structure