linux/drivers/net/ethernet/chelsio/cxgb/tp.c

// SPDX-License-Identifier: GPL-2.0
/* $Date: 2006/02/07 04:21:54 $ $RCSfile: tp.c,v $ $Revision: 1.73 $ */
#include "common.h"
#include "regs.h"
#include "tp.h"
#ifdef CONFIG_CHELSIO_T1_1G
#include "fpga_defs.h"
#endif

struct petp {};

/* Pause deadlock avoidance parameters */
#define DROP_MSEC
#define DROP_PKTS_CNT

static void tp_init(adapter_t * ap, const struct tp_params *p,
		    unsigned int tp_clk)
{}

void t1_tp_destroy(struct petp *tp)
{}

struct petp *t1_tp_create(adapter_t *adapter, struct tp_params *p)
{}

void t1_tp_intr_enable(struct petp *tp)
{}

void t1_tp_intr_disable(struct petp *tp)
{}

void t1_tp_intr_clear(struct petp *tp)
{}

int t1_tp_intr_handler(struct petp *tp)
{}

static void set_csum_offload(struct petp *tp, u32 csum_bit, int enable)
{}

void t1_tp_set_ip_checksum_offload(struct petp *tp, int enable)
{}

void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable)
{}

/*
 * Initialize TP state.  tp_params contains initial settings for some TP
 * parameters, particularly the one-time PM and CM settings.
 */
int t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk)
{}