linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_internal.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* Atlantic Network Driver
 * Copyright (C) 2020 Marvell International Ltd.
 */

#ifndef HW_ATL2_INTERNAL_H
#define HW_ATL2_INTERNAL_H

#include "hw_atl2_utils.h"

#define HW_ATL2_MTU_JUMBO
#define HW_ATL2_MTU

#define HW_ATL2_TX_RINGS
#define HW_ATL2_RX_RINGS

#define HW_ATL2_RINGS_MAX
#define HW_ATL2_TXD_SIZE
#define HW_ATL2_RXD_SIZE

#define HW_ATL2_MAC_UC
#define HW_ATL2_MAC_MIN
#define HW_ATL2_MAC_MAX

/* interrupts */
#define HW_ATL2_ERR_INT
#define HW_ATL2_INT_MASK

#define HW_ATL2_TXBUF_MAX
#define HW_ATL2_RXBUF_MAX

#define HW_ATL2_RSS_REDIRECTION_MAX

#define HW_ATL2_TC_MAX
#define HW_ATL2_RSS_MAX

#define HW_ATL2_INTR_MODER_MAX
#define HW_ATL2_INTR_MODER_MIN

#define HW_ATL2_MIN_RXD
#define HW_ATL2_MIN_TXD

#define HW_ATL2_MAX_RXD
#define HW_ATL2_MAX_TXD

#define HW_ATL2_FW_SM_ACT_RSLVR

#define HW_ATL2_RPF_TAG_UC_OFFSET
#define HW_ATL2_RPF_TAG_ALLMC_OFFSET
#define HW_ATL2_RPF_TAG_ET_OFFSET
#define HW_ATL2_RPF_TAG_VLAN_OFFSET
#define HW_ATL2_RPF_TAG_UNTAG_OFFSET
#define HW_ATL2_RPF_TAG_L3_V4_OFFSET
#define HW_ATL2_RPF_TAG_L3_V6_OFFSET
#define HW_ATL2_RPF_TAG_L4_OFFSET
#define HW_ATL2_RPF_TAG_L4_FLEX_OFFSET
#define HW_ATL2_RPF_TAG_FLEX_OFFSET
#define HW_ATL2_RPF_TAG_PCP_OFFSET

#define HW_ATL2_RPF_TAG_UC_MASK
#define HW_ATL2_RPF_TAG_ALLMC_MASK
#define HW_ATL2_RPF_TAG_UNTAG_MASK
#define HW_ATL2_RPF_TAG_VLAN_MASK
#define HW_ATL2_RPF_TAG_ET_MASK
#define HW_ATL2_RPF_TAG_L3_V4_MASK
#define HW_ATL2_RPF_TAG_L3_V6_MASK
#define HW_ATL2_RPF_TAG_L4_MASK
#define HW_ATL2_RPF_TAG_PCP_MASK

#define HW_ATL2_RPF_TAG_BASE_UC
#define HW_ATL2_RPF_TAG_BASE_ALLMC
#define HW_ATL2_RPF_TAG_BASE_UNTAG
#define HW_ATL2_RPF_TAG_BASE_VLAN

enum HW_ATL2_RPF_ART_INDEX {};

#define HW_ATL2_ACTION(ACTION, RSS, INDEX, VALID)

#define HW_ATL2_ACTION_DROP
#define HW_ATL2_ACTION_DISABLE
#define HW_ATL2_ACTION_ASSIGN_QUEUE(QUEUE)
#define HW_ATL2_ACTION_ASSIGN_TC(TC)

enum HW_ATL2_RPF_RSS_HASH_TYPE {};

#define HW_ATL_MCAST_FLT_ANY_TO_HOST

struct hw_atl2_priv {};

#endif /* HW_ATL2_INTERNAL_H */