linux/drivers/net/ethernet/aquantia/atlantic/aq_cfg.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * aQuantia Corporation Network Driver
 * Copyright (C) 2014-2019 aQuantia Corporation. All rights reserved
 */

/* File aq_cfg.h: Definition of configuration parameters and constants. */

#ifndef AQ_CFG_H
#define AQ_CFG_H

#define AQ_CFG_VECS_DEF
#define AQ_CFG_TCS_DEF

#define AQ_CFG_TXDS_DEF
#define AQ_CFG_RXDS_DEF

#define AQ_CFG_IS_POLLING_DEF

#define AQ_CFG_FORCE_INTX

#define AQ_CFG_INTERRUPT_MODERATION_OFF
#define AQ_CFG_INTERRUPT_MODERATION_ON
#define AQ_CFG_INTERRUPT_MODERATION_AUTO

#define AQ_CFG_INTERRUPT_MODERATION_USEC_MAX

#define AQ_CFG_IRQ_MASK

#define AQ_CFG_VECS_MAX
#define AQ_CFG_TCS_MAX

#define AQ_CFG_TX_FRAME_MAX
#define AQ_CFG_RX_FRAME_MAX

#define AQ_CFG_TX_CLEAN_BUDGET

#define AQ_CFG_RX_REFILL_THRES

#define AQ_CFG_RX_HDR_SIZE

#define AQ_CFG_RX_PAGEORDER
#define AQ_CFG_XDP_PAGEORDER

/* LRO */
#define AQ_CFG_IS_LRO_DEF

/* RSS */
#define AQ_CFG_RSS_INDIRECTION_TABLE_MAX
#define AQ_CFG_RSS_HASHKEY_SIZE

#define AQ_CFG_IS_RSS_DEF
#define AQ_CFG_NUM_RSS_QUEUES_DEF
#define AQ_CFG_RSS_BASE_CPU_NUM_DEF

#define AQ_CFG_PCI_FUNC_MSIX_IRQS
#define AQ_CFG_PCI_FUNC_PORTS

#define AQ_CFG_SERVICE_TIMER_INTERVAL
#define AQ_CFG_POLLING_TIMER_INTERVAL

#define AQ_CFG_SKB_FRAGS_MAX

/* Number of descriptors available in one ring to resume this ring queue
 */
#define AQ_CFG_RESTART_DESC_THRES

/*#define AQ_CFG_MAC_ADDR_PERMANENT {0x30, 0x0E, 0xE3, 0x12, 0x34, 0x56}*/

#define AQ_CFG_FC_MODE

/* Default WOL modes used on initialization */
#define AQ_CFG_WOL_MODES

#define AQ_CFG_SPEED_MSK

#define AQ_CFG_IS_AUTONEG_DEF
#define AQ_CFG_MTU_DEF

#define AQ_CFG_LOCK_TRYS

#define AQ_CFG_DRV_AUTHOR
#define AQ_CFG_DRV_DESC
#define AQ_CFG_DRV_NAME

#endif /* AQ_CFG_H */