linux/drivers/net/ethernet/stmicro/stmmac/ring_mode.c

// SPDX-License-Identifier: GPL-2.0-only
/*******************************************************************************
  Specialised functions for managing Ring mode

  Copyright(C) 2011  STMicroelectronics Ltd

  It defines all the functions used to handle the normal/enhanced
  descriptors in case of the DMA is configured to work in chained or
  in ring mode.


  Author: Giuseppe Cavallaro <[email protected]>
*******************************************************************************/

#include "stmmac.h"

static int jumbo_frm(struct stmmac_tx_queue *tx_q, struct sk_buff *skb,
		     int csum)
{}

static unsigned int is_jumbo_frm(int len, int enh_desc)
{}

static void refill_desc3(struct stmmac_rx_queue *rx_q, struct dma_desc *p)
{}

/* In ring mode we need to fill the desc3 because it is used as buffer */
static void init_desc3(struct dma_desc *p)
{}

static void clean_desc3(struct stmmac_tx_queue *tx_q, struct dma_desc *p)
{}

static int set_16kib_bfsize(int mtu)
{}

const struct stmmac_mode_ops ring_mode_ops =;