linux/drivers/net/ethernet/sfc/ef100_rx.c

// SPDX-License-Identifier: GPL-2.0-only
/****************************************************************************
 * Driver for Solarflare network controllers and boards
 * Copyright 2005-2019 Solarflare Communications Inc.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 as published
 * by the Free Software Foundation, incorporated herein by reference.
 */

#include "net_driver.h"
#include "ef100_rx.h"
#include "rx_common.h"
#include "efx.h"
#include "nic_common.h"
#include "mcdi_functions.h"
#include "ef100_regs.h"
#include "ef100_nic.h"
#include "io.h"

/* Get the value of a field in the RX prefix */
#define PREFIX_OFFSET_W(_f)
#define PREFIX_OFFSET_B(_f)
#define PREFIX_WIDTH_MASK(_f)
#define PREFIX_WORD(_p, _f)
#define PREFIX_FIELD(_p, _f)

#define ESF_GZ_RX_PREFIX_NT_OR_INNER_L3_CLASS_LBN
#define ESF_GZ_RX_PREFIX_NT_OR_INNER_L3_CLASS_WIDTH

bool ef100_rx_buf_hash_valid(const u8 *prefix)
{}

static bool ef100_has_fcs_error(struct efx_channel *channel, u32 *prefix)
{}

void __ef100_rx_packet(struct efx_channel *channel)
{}

static void ef100_rx_packet(struct efx_rx_queue *rx_queue, unsigned int index)
{}

void efx_ef100_ev_rx(struct efx_channel *channel, const efx_qword_t *p_event)
{}

void ef100_rx_write(struct efx_rx_queue *rx_queue)
{}