src/dpdk/drivers/net/qede/qede_debug.c
static u32 qed_dump_last_section(u32 *dump_buf, u32 offset, bool dump)
{
	u32 start_offset = offset;

	/* Dump CRC section header */
	offset += qed_dump_section_hdr(dump_buf + offset, dump, "last", 0);

	/* Calculate CRC32 and add it to the dword after the "last" section */
	if (dump)
		*(dump_buf + offset) = ~OSAL_CRC32(0xffffffff,
					      (u8 *)dump_buf,
					      DWORDS_TO_BYTES(offset));

	offset++;

	return offset - start_offset;
}
/* Writes the "last" section (including CRC) to the specified buffer at the
 * given offset. Returns the dumped size in dwords.
 */
Writes the "last" section (including CRC) to the specified buffer at the
given offset. Returns the dumped size in dwords.
Writes the " last " section ( including CRC ) to the specified buffer at the given offset . Returns the dumped size in dwords .
static u32 qed_dump_last_section(u32 *dump_buf, u32 offset, bool dump)
{
	u32 start_offset = offset;
	offset += qed_dump_section_hdr(dump_buf + offset, dump, "last", 0);
	if (dump)
		*(dump_buf + offset) = ~OSAL_CRC32(0xffffffff,
					      (u8 *)dump_buf,
					      DWORDS_TO_BYTES(offset));
	offset++;
	return offset - start_offset;
}
static u32 qed_dump_last_section ( u32 * dump_buf , u32 offset , bool dump ) { u32 start_offset = offset ; offset += qed_dump_section_hdr ( dump_buf + offset , dump , " " , 0 ) ; if ( dump ) * ( dump_buf + offset ) = ~ OSAL_CRC32 ( 0xffffffff , ( u8 * ) dump_buf , DWORDS_TO_BYTES ( offset ) ) ; offset ++ ; return offset - start_offset ; }
Writes the "last" section (including CRC) to the specified buffer at the
 given offset.
Writes the " last " section ( including CRC ) to the specified buffer at the given offset .
/* Dump CRC section header */ /* Calculate CRC32 and add it to the dword after the "last" section */