linux/drivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  Copyright (C) 2017 Chelsio Communications.  All rights reserved.
 */

#include "t4_regs.h"
#include "cxgb4.h"
#include "cxgb4_cudbg.h"
#include "cudbg_zlib.h"

static const struct cxgb4_collect_entity cxgb4_collect_mem_dump[] =;

static const struct cxgb4_collect_entity cxgb4_collect_hw_dump[] =;

static const struct cxgb4_collect_entity cxgb4_collect_flash_dump[] =;

u32 cxgb4_get_dump_length(struct adapter *adap, u32 flag)
{}

static void cxgb4_cudbg_collect_entity(struct cudbg_init *pdbg_init,
				       struct cudbg_buffer *dbg_buff,
				       const struct cxgb4_collect_entity *e_arr,
				       u32 arr_size, void *buf, u32 *tot_size)
{}

static int cudbg_alloc_compress_buff(struct cudbg_init *pdbg_init)
{}

static void cudbg_free_compress_buff(struct cudbg_init *pdbg_init)
{}

int cxgb4_cudbg_collect(struct adapter *adap, void *buf, u32 *buf_size,
			u32 flag)
{}

void cxgb4_init_ethtool_dump(struct adapter *adapter)
{}

static int cxgb4_cudbg_vmcoredd_collect(struct vmcoredd_data *data, void *buf)
{}

int cxgb4_cudbg_vmcore_add_dump(struct adapter *adap)
{}