net/qede/base: upgrade the FW to 8.20.0.0
This patch adds changes to upgrade to 8.20.0.0 FW. Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
This commit is contained in:
parent
4c4bdadfa9
commit
2e2f392b24
@ -421,6 +421,9 @@ void qede_get_mcp_proto_stats(struct ecore_dev *, enum ecore_mcp_protocol_type,
|
||||
qede_get_mcp_proto_stats(dev, type, stats)
|
||||
|
||||
#define OSAL_SLOWPATH_IRQ_REQ(p_hwfn) (0)
|
||||
#define OSAL_CRC32(crc, buf, length) 0
|
||||
#define OSAL_CRC8_POPULATE(table, polynomial) nothing
|
||||
#define OSAL_CRC8(table, pdata, nbytes, crc) 0
|
||||
#define OSAL_MFW_TLV_REQ(p_hwfn) (0)
|
||||
#define OSAL_MFW_FILL_TLV_DATA(type, buf, data) (0)
|
||||
#define OSAL_PF_VALIDATE_MODIFY_TUNN_CONFIG(p_hwfn, mask, b_update, tunn) 0
|
||||
|
@ -97,8 +97,8 @@
|
||||
|
||||
|
||||
#define FW_MAJOR_VERSION 8
|
||||
#define FW_MINOR_VERSION 18
|
||||
#define FW_REVISION_VERSION 9
|
||||
#define FW_MINOR_VERSION 20
|
||||
#define FW_REVISION_VERSION 0
|
||||
#define FW_ENGINEERING_VERSION 0
|
||||
|
||||
/***********************/
|
||||
@ -913,24 +913,25 @@ struct db_l2_dpm_data {
|
||||
__le16 bd_prod /* bd producer value to update */;
|
||||
__le32 params;
|
||||
/* Size in QWORD-s of the DPM burst */
|
||||
#define DB_L2_DPM_DATA_SIZE_MASK 0x3F
|
||||
#define DB_L2_DPM_DATA_SIZE_SHIFT 0
|
||||
#define DB_L2_DPM_DATA_SIZE_MASK 0x3F
|
||||
#define DB_L2_DPM_DATA_SIZE_SHIFT 0
|
||||
/* Type of DPM transaction (DPM_L2_INLINE or DPM_L2_BD) (use enum db_dpm_type)
|
||||
*/
|
||||
#define DB_L2_DPM_DATA_DPM_TYPE_MASK 0x3
|
||||
#define DB_L2_DPM_DATA_DPM_TYPE_SHIFT 6
|
||||
#define DB_L2_DPM_DATA_NUM_BDS_MASK 0xFF /* number of BD-s */
|
||||
#define DB_L2_DPM_DATA_NUM_BDS_SHIFT 8
|
||||
#define DB_L2_DPM_DATA_DPM_TYPE_MASK 0x3
|
||||
#define DB_L2_DPM_DATA_DPM_TYPE_SHIFT 6
|
||||
#define DB_L2_DPM_DATA_NUM_BDS_MASK 0xFF /* number of BD-s */
|
||||
#define DB_L2_DPM_DATA_NUM_BDS_SHIFT 8
|
||||
/* size of the packet to be transmitted in bytes */
|
||||
#define DB_L2_DPM_DATA_PKT_SIZE_MASK 0x7FF
|
||||
#define DB_L2_DPM_DATA_PKT_SIZE_SHIFT 16
|
||||
#define DB_L2_DPM_DATA_RESERVED0_MASK 0x1
|
||||
#define DB_L2_DPM_DATA_RESERVED0_SHIFT 27
|
||||
#define DB_L2_DPM_DATA_PKT_SIZE_MASK 0x7FF
|
||||
#define DB_L2_DPM_DATA_PKT_SIZE_SHIFT 16
|
||||
#define DB_L2_DPM_DATA_RESERVED0_MASK 0x1
|
||||
#define DB_L2_DPM_DATA_RESERVED0_SHIFT 27
|
||||
/* In DPM_L2_BD mode: the number of SGE-s */
|
||||
#define DB_L2_DPM_DATA_SGE_NUM_MASK 0x7
|
||||
#define DB_L2_DPM_DATA_SGE_NUM_SHIFT 28
|
||||
#define DB_L2_DPM_DATA_RESERVED1_MASK 0x1
|
||||
#define DB_L2_DPM_DATA_RESERVED1_SHIFT 31
|
||||
#define DB_L2_DPM_DATA_SGE_NUM_MASK 0x7
|
||||
#define DB_L2_DPM_DATA_SGE_NUM_SHIFT 28
|
||||
/* Flag indicating whether to enable GFS search */
|
||||
#define DB_L2_DPM_DATA_RESERVED1_MASK 0x1
|
||||
#define DB_L2_DPM_DATA_RESERVED1_SHIFT 31
|
||||
};
|
||||
|
||||
/*
|
||||
@ -989,26 +990,29 @@ struct db_pwm_addr {
|
||||
struct db_rdma_dpm_params {
|
||||
__le32 params;
|
||||
/* Size in QWORD-s of the DPM burst */
|
||||
#define DB_RDMA_DPM_PARAMS_SIZE_MASK 0x3F
|
||||
#define DB_RDMA_DPM_PARAMS_SIZE_SHIFT 0
|
||||
#define DB_RDMA_DPM_PARAMS_SIZE_MASK 0x3F
|
||||
#define DB_RDMA_DPM_PARAMS_SIZE_SHIFT 0
|
||||
/* Type of DPM transacation (DPM_RDMA) (use enum db_dpm_type) */
|
||||
#define DB_RDMA_DPM_PARAMS_DPM_TYPE_MASK 0x3
|
||||
#define DB_RDMA_DPM_PARAMS_DPM_TYPE_SHIFT 6
|
||||
#define DB_RDMA_DPM_PARAMS_DPM_TYPE_MASK 0x3
|
||||
#define DB_RDMA_DPM_PARAMS_DPM_TYPE_SHIFT 6
|
||||
/* opcode for RDMA operation */
|
||||
#define DB_RDMA_DPM_PARAMS_OPCODE_MASK 0xFF
|
||||
#define DB_RDMA_DPM_PARAMS_OPCODE_SHIFT 8
|
||||
#define DB_RDMA_DPM_PARAMS_OPCODE_MASK 0xFF
|
||||
#define DB_RDMA_DPM_PARAMS_OPCODE_SHIFT 8
|
||||
/* the size of the WQE payload in bytes */
|
||||
#define DB_RDMA_DPM_PARAMS_WQE_SIZE_MASK 0x7FF
|
||||
#define DB_RDMA_DPM_PARAMS_WQE_SIZE_SHIFT 16
|
||||
#define DB_RDMA_DPM_PARAMS_RESERVED0_MASK 0x1
|
||||
#define DB_RDMA_DPM_PARAMS_RESERVED0_SHIFT 27
|
||||
#define DB_RDMA_DPM_PARAMS_WQE_SIZE_MASK 0x7FF
|
||||
#define DB_RDMA_DPM_PARAMS_WQE_SIZE_SHIFT 16
|
||||
#define DB_RDMA_DPM_PARAMS_RESERVED0_MASK 0x1
|
||||
#define DB_RDMA_DPM_PARAMS_RESERVED0_SHIFT 27
|
||||
/* RoCE completion flag */
|
||||
#define DB_RDMA_DPM_PARAMS_COMPLETION_FLG_MASK 0x1
|
||||
#define DB_RDMA_DPM_PARAMS_COMPLETION_FLG_SHIFT 28
|
||||
#define DB_RDMA_DPM_PARAMS_S_FLG_MASK 0x1 /* RoCE S flag */
|
||||
#define DB_RDMA_DPM_PARAMS_S_FLG_SHIFT 29
|
||||
#define DB_RDMA_DPM_PARAMS_RESERVED1_MASK 0x3
|
||||
#define DB_RDMA_DPM_PARAMS_RESERVED1_SHIFT 30
|
||||
#define DB_RDMA_DPM_PARAMS_COMPLETION_FLG_MASK 0x1
|
||||
#define DB_RDMA_DPM_PARAMS_COMPLETION_FLG_SHIFT 28
|
||||
#define DB_RDMA_DPM_PARAMS_S_FLG_MASK 0x1 /* RoCE S flag */
|
||||
#define DB_RDMA_DPM_PARAMS_S_FLG_SHIFT 29
|
||||
#define DB_RDMA_DPM_PARAMS_RESERVED1_MASK 0x3
|
||||
#define DB_RDMA_DPM_PARAMS_RESERVED1_SHIFT 30
|
||||
/* Connection type is iWARP */
|
||||
#define DB_RDMA_DPM_PARAMS_CONN_TYPE_IS_IWARP_MASK 0x1
|
||||
#define DB_RDMA_DPM_PARAMS_CONN_TYPE_IS_IWARP_SHIFT 31
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -31,7 +31,7 @@
|
||||
#define ECORE_MAJOR_VERSION 8
|
||||
#define ECORE_MINOR_VERSION 18
|
||||
#define ECORE_REVISION_VERSION 7
|
||||
#define ECORE_ENGINEERING_VERSION 0
|
||||
#define ECORE_ENGINEERING_VERSION 1
|
||||
|
||||
#define ECORE_VERSION \
|
||||
((ECORE_MAJOR_VERSION << 24) | (ECORE_MINOR_VERSION << 16) | \
|
||||
|
@ -3718,7 +3718,7 @@ static void ecore_chain_free_pbl(struct ecore_dev *p_dev,
|
||||
if (!p_chain->b_external_pbl)
|
||||
OSAL_DMA_FREE_COHERENT(p_dev, p_chain->pbl_sp.p_virt_table,
|
||||
p_chain->pbl_sp.p_phys_table, pbl_size);
|
||||
out:
|
||||
out:
|
||||
OSAL_VFREE(p_dev, p_chain->pbl.pp_virt_addr_tbl);
|
||||
}
|
||||
|
||||
@ -3994,92 +3994,182 @@ enum _ecore_status_t ecore_fw_rss_eng(struct ecore_hwfn *p_hwfn,
|
||||
return ECORE_SUCCESS;
|
||||
}
|
||||
|
||||
enum _ecore_status_t ecore_llh_add_mac_filter(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt,
|
||||
u8 *p_filter)
|
||||
static enum _ecore_status_t
|
||||
ecore_llh_add_mac_filter_bb_ah(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt, u32 high, u32 low,
|
||||
u32 *p_entry_num)
|
||||
{
|
||||
u32 high, low, en;
|
||||
u32 en;
|
||||
int i;
|
||||
|
||||
/* Find a free entry and utilize it */
|
||||
for (i = 0; i < NIG_REG_LLH_FUNC_FILTER_EN_SIZE; i++) {
|
||||
en = ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN_BB_K2 +
|
||||
i * sizeof(u32));
|
||||
if (en)
|
||||
continue;
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
2 * i * sizeof(u32), low);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
(2 * i + 1) * sizeof(u32), high);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_MODE_BB_K2 +
|
||||
i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_BB_K2 +
|
||||
i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN_BB_K2 +
|
||||
i * sizeof(u32), 1);
|
||||
break;
|
||||
}
|
||||
|
||||
if (i >= NIG_REG_LLH_FUNC_FILTER_EN_SIZE)
|
||||
return ECORE_NORESOURCES;
|
||||
|
||||
*p_entry_num = i;
|
||||
|
||||
return ECORE_SUCCESS;
|
||||
}
|
||||
|
||||
enum _ecore_status_t ecore_llh_add_mac_filter(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt, u8 *p_filter)
|
||||
{
|
||||
u32 high, low, entry_num;
|
||||
enum _ecore_status_t rc;
|
||||
|
||||
if (!(IS_MF_SI(p_hwfn) || IS_MF_DEFAULT(p_hwfn)))
|
||||
return ECORE_SUCCESS;
|
||||
|
||||
high = p_filter[1] | (p_filter[0] << 8);
|
||||
low = p_filter[5] | (p_filter[4] << 8) |
|
||||
(p_filter[3] << 16) | (p_filter[2] << 24);
|
||||
(p_filter[3] << 16) | (p_filter[2] << 24);
|
||||
|
||||
/* Find a free entry and utilize it */
|
||||
for (i = 0; i < NIG_REG_LLH_FUNC_FILTER_EN_SIZE; i++) {
|
||||
en = ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN + i * sizeof(u32));
|
||||
if (en)
|
||||
continue;
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
2 * i * sizeof(u32), low);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
(2 * i + 1) * sizeof(u32), high);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_MODE + i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE +
|
||||
i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN + i * sizeof(u32), 1);
|
||||
break;
|
||||
}
|
||||
if (i >= NIG_REG_LLH_FUNC_FILTER_EN_SIZE) {
|
||||
if (ECORE_IS_BB(p_hwfn->p_dev) || ECORE_IS_AH(p_hwfn->p_dev))
|
||||
rc = ecore_llh_add_mac_filter_bb_ah(p_hwfn, p_ptt, high, low,
|
||||
&entry_num);
|
||||
if (rc != ECORE_SUCCESS) {
|
||||
DP_NOTICE(p_hwfn, false,
|
||||
"Failed to find an empty LLH filter to utilize\n");
|
||||
return ECORE_INVAL;
|
||||
return rc;
|
||||
}
|
||||
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"MAC: %x:%x:%x:%x:%x:%x is added at %d\n",
|
||||
p_filter[0], p_filter[1], p_filter[2],
|
||||
p_filter[3], p_filter[4], p_filter[5], i);
|
||||
"MAC: %02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx is added at %d\n",
|
||||
p_filter[0], p_filter[1], p_filter[2], p_filter[3],
|
||||
p_filter[4], p_filter[5], entry_num);
|
||||
|
||||
return ECORE_SUCCESS;
|
||||
}
|
||||
|
||||
static enum _ecore_status_t
|
||||
ecore_llh_remove_mac_filter_bb_ah(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt, u32 high, u32 low,
|
||||
u32 *p_entry_num)
|
||||
{
|
||||
int i;
|
||||
|
||||
/* Find the entry and clean it */
|
||||
for (i = 0; i < NIG_REG_LLH_FUNC_FILTER_EN_SIZE; i++) {
|
||||
if (ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
2 * i * sizeof(u32)) != low)
|
||||
continue;
|
||||
if (ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
(2 * i + 1) * sizeof(u32)) != high)
|
||||
continue;
|
||||
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN_BB_K2 + i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
2 * i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
(2 * i + 1) * sizeof(u32), 0);
|
||||
break;
|
||||
}
|
||||
|
||||
if (i >= NIG_REG_LLH_FUNC_FILTER_EN_SIZE)
|
||||
return ECORE_INVAL;
|
||||
|
||||
*p_entry_num = i;
|
||||
|
||||
return ECORE_SUCCESS;
|
||||
}
|
||||
|
||||
void ecore_llh_remove_mac_filter(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt, u8 *p_filter)
|
||||
struct ecore_ptt *p_ptt, u8 *p_filter)
|
||||
{
|
||||
u32 high, low;
|
||||
int i;
|
||||
u32 high, low, entry_num;
|
||||
enum _ecore_status_t rc;
|
||||
|
||||
if (!(IS_MF_SI(p_hwfn) || IS_MF_DEFAULT(p_hwfn)))
|
||||
return;
|
||||
|
||||
high = p_filter[1] | (p_filter[0] << 8);
|
||||
low = p_filter[5] | (p_filter[4] << 8) |
|
||||
(p_filter[3] << 16) | (p_filter[2] << 24);
|
||||
(p_filter[3] << 16) | (p_filter[2] << 24);
|
||||
|
||||
/* Find the entry and clean it */
|
||||
for (i = 0; i < NIG_REG_LLH_FUNC_FILTER_EN_SIZE; i++) {
|
||||
if (ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
2 * i * sizeof(u32)) != low)
|
||||
continue;
|
||||
if (ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
(2 * i + 1) * sizeof(u32)) != high)
|
||||
continue;
|
||||
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN + i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
2 * i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
(2 * i + 1) * sizeof(u32), 0);
|
||||
break;
|
||||
}
|
||||
if (i >= NIG_REG_LLH_FUNC_FILTER_EN_SIZE)
|
||||
if (ECORE_IS_BB(p_hwfn->p_dev) || ECORE_IS_AH(p_hwfn->p_dev))
|
||||
rc = ecore_llh_remove_mac_filter_bb_ah(p_hwfn, p_ptt, high,
|
||||
low, &entry_num);
|
||||
if (rc != ECORE_SUCCESS) {
|
||||
DP_NOTICE(p_hwfn, false,
|
||||
"Tried to remove a non-configured filter\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"MAC: %02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx was removed from %d\n",
|
||||
p_filter[0], p_filter[1], p_filter[2], p_filter[3],
|
||||
p_filter[4], p_filter[5], entry_num);
|
||||
}
|
||||
|
||||
static enum _ecore_status_t
|
||||
ecore_llh_add_protocol_filter_bb_ah(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt,
|
||||
enum ecore_llh_port_filter_type_t type,
|
||||
u32 high, u32 low, u32 *p_entry_num)
|
||||
{
|
||||
u32 en;
|
||||
int i;
|
||||
|
||||
/* Find a free entry and utilize it */
|
||||
for (i = 0; i < NIG_REG_LLH_FUNC_FILTER_EN_SIZE; i++) {
|
||||
en = ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN_BB_K2 +
|
||||
i * sizeof(u32));
|
||||
if (en)
|
||||
continue;
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
2 * i * sizeof(u32), low);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
(2 * i + 1) * sizeof(u32), high);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_MODE_BB_K2 +
|
||||
i * sizeof(u32), 1);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_BB_K2 +
|
||||
i * sizeof(u32), 1 << type);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN_BB_K2 + i * sizeof(u32), 1);
|
||||
break;
|
||||
}
|
||||
|
||||
if (i >= NIG_REG_LLH_FUNC_FILTER_EN_SIZE)
|
||||
return ECORE_NORESOURCES;
|
||||
|
||||
*p_entry_num = i;
|
||||
|
||||
return ECORE_SUCCESS;
|
||||
}
|
||||
|
||||
enum _ecore_status_t
|
||||
@ -4089,14 +4179,15 @@ ecore_llh_add_protocol_filter(struct ecore_hwfn *p_hwfn,
|
||||
u16 dest_port,
|
||||
enum ecore_llh_port_filter_type_t type)
|
||||
{
|
||||
u32 high, low, en;
|
||||
int i;
|
||||
u32 high, low, entry_num;
|
||||
enum _ecore_status_t rc;
|
||||
|
||||
if (!(IS_MF_SI(p_hwfn) || IS_MF_DEFAULT(p_hwfn)))
|
||||
return ECORE_SUCCESS;
|
||||
|
||||
high = 0;
|
||||
low = 0;
|
||||
|
||||
switch (type) {
|
||||
case ECORE_LLH_FILTER_ETHERTYPE:
|
||||
high = source_port_or_eth_type;
|
||||
@ -4118,67 +4209,109 @@ ecore_llh_add_protocol_filter(struct ecore_hwfn *p_hwfn,
|
||||
"Non valid LLH protocol filter type %d\n", type);
|
||||
return ECORE_INVAL;
|
||||
}
|
||||
/* Find a free entry and utilize it */
|
||||
for (i = 0; i < NIG_REG_LLH_FUNC_FILTER_EN_SIZE; i++) {
|
||||
en = ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN + i * sizeof(u32));
|
||||
if (en)
|
||||
continue;
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
2 * i * sizeof(u32), low);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
(2 * i + 1) * sizeof(u32), high);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_MODE + i * sizeof(u32), 1);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE +
|
||||
i * sizeof(u32), 1 << type);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN + i * sizeof(u32), 1);
|
||||
break;
|
||||
}
|
||||
if (i >= NIG_REG_LLH_FUNC_FILTER_EN_SIZE) {
|
||||
|
||||
if (ECORE_IS_BB(p_hwfn->p_dev) || ECORE_IS_AH(p_hwfn->p_dev))
|
||||
rc = ecore_llh_add_protocol_filter_bb_ah(p_hwfn, p_ptt, type,
|
||||
high, low, &entry_num);
|
||||
if (rc != ECORE_SUCCESS) {
|
||||
DP_NOTICE(p_hwfn, false,
|
||||
"Failed to find an empty LLH filter to utilize\n");
|
||||
return ECORE_NORESOURCES;
|
||||
return rc;
|
||||
}
|
||||
switch (type) {
|
||||
case ECORE_LLH_FILTER_ETHERTYPE:
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"ETH type %x is added at %d\n",
|
||||
source_port_or_eth_type, i);
|
||||
source_port_or_eth_type, entry_num);
|
||||
break;
|
||||
case ECORE_LLH_FILTER_TCP_SRC_PORT:
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"TCP src port %x is added at %d\n",
|
||||
source_port_or_eth_type, i);
|
||||
source_port_or_eth_type, entry_num);
|
||||
break;
|
||||
case ECORE_LLH_FILTER_UDP_SRC_PORT:
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"UDP src port %x is added at %d\n",
|
||||
source_port_or_eth_type, i);
|
||||
source_port_or_eth_type, entry_num);
|
||||
break;
|
||||
case ECORE_LLH_FILTER_TCP_DEST_PORT:
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"TCP dst port %x is added at %d\n", dest_port, i);
|
||||
"TCP dst port %x is added at %d\n", dest_port,
|
||||
entry_num);
|
||||
break;
|
||||
case ECORE_LLH_FILTER_UDP_DEST_PORT:
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"UDP dst port %x is added at %d\n", dest_port, i);
|
||||
"UDP dst port %x is added at %d\n", dest_port,
|
||||
entry_num);
|
||||
break;
|
||||
case ECORE_LLH_FILTER_TCP_SRC_AND_DEST_PORT:
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"TCP src/dst ports %x/%x are added at %d\n",
|
||||
source_port_or_eth_type, dest_port, i);
|
||||
source_port_or_eth_type, dest_port, entry_num);
|
||||
break;
|
||||
case ECORE_LLH_FILTER_UDP_SRC_AND_DEST_PORT:
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"UDP src/dst ports %x/%x are added at %d\n",
|
||||
source_port_or_eth_type, dest_port, i);
|
||||
source_port_or_eth_type, dest_port, entry_num);
|
||||
break;
|
||||
}
|
||||
|
||||
return ECORE_SUCCESS;
|
||||
}
|
||||
|
||||
static enum _ecore_status_t
|
||||
ecore_llh_remove_protocol_filter_bb_ah(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt,
|
||||
enum ecore_llh_port_filter_type_t type,
|
||||
u32 high, u32 low, u32 *p_entry_num)
|
||||
{
|
||||
int i;
|
||||
|
||||
/* Find the entry and clean it */
|
||||
for (i = 0; i < NIG_REG_LLH_FUNC_FILTER_EN_SIZE; i++) {
|
||||
if (!ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN_BB_K2 +
|
||||
i * sizeof(u32)))
|
||||
continue;
|
||||
if (!ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_MODE_BB_K2 +
|
||||
i * sizeof(u32)))
|
||||
continue;
|
||||
if (!(ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_BB_K2 +
|
||||
i * sizeof(u32)) & (1 << type)))
|
||||
continue;
|
||||
if (ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
2 * i * sizeof(u32)) != low)
|
||||
continue;
|
||||
if (ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
(2 * i + 1) * sizeof(u32)) != high)
|
||||
continue;
|
||||
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN_BB_K2 + i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_MODE_BB_K2 +
|
||||
i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_BB_K2 +
|
||||
i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
2 * i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
(2 * i + 1) * sizeof(u32), 0);
|
||||
break;
|
||||
}
|
||||
|
||||
if (i >= NIG_REG_LLH_FUNC_FILTER_EN_SIZE)
|
||||
return ECORE_INVAL;
|
||||
|
||||
*p_entry_num = i;
|
||||
|
||||
return ECORE_SUCCESS;
|
||||
}
|
||||
|
||||
@ -4189,14 +4322,15 @@ ecore_llh_remove_protocol_filter(struct ecore_hwfn *p_hwfn,
|
||||
u16 dest_port,
|
||||
enum ecore_llh_port_filter_type_t type)
|
||||
{
|
||||
u32 high, low;
|
||||
int i;
|
||||
u32 high, low, entry_num;
|
||||
enum _ecore_status_t rc;
|
||||
|
||||
if (!(IS_MF_SI(p_hwfn) || IS_MF_DEFAULT(p_hwfn)))
|
||||
return;
|
||||
|
||||
high = 0;
|
||||
low = 0;
|
||||
|
||||
switch (type) {
|
||||
case ECORE_LLH_FILTER_ETHERTYPE:
|
||||
high = source_port_or_eth_type;
|
||||
@ -4219,49 +4353,24 @@ ecore_llh_remove_protocol_filter(struct ecore_hwfn *p_hwfn,
|
||||
return;
|
||||
}
|
||||
|
||||
for (i = 0; i < NIG_REG_LLH_FUNC_FILTER_EN_SIZE; i++) {
|
||||
if (!ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN + i * sizeof(u32)))
|
||||
continue;
|
||||
if (!ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_MODE + i * sizeof(u32)))
|
||||
continue;
|
||||
if (!(ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE +
|
||||
i * sizeof(u32)) & (1 << type)))
|
||||
continue;
|
||||
if (ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
2 * i * sizeof(u32)) != low)
|
||||
continue;
|
||||
if (ecore_rd(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
(2 * i + 1) * sizeof(u32)) != high)
|
||||
continue;
|
||||
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN + i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_MODE + i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE +
|
||||
i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
2 * i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
(2 * i + 1) * sizeof(u32), 0);
|
||||
break;
|
||||
if (ECORE_IS_BB(p_hwfn->p_dev) || ECORE_IS_AH(p_hwfn->p_dev))
|
||||
rc = ecore_llh_remove_protocol_filter_bb_ah(p_hwfn, p_ptt, type,
|
||||
high, low,
|
||||
&entry_num);
|
||||
if (rc != ECORE_SUCCESS) {
|
||||
DP_NOTICE(p_hwfn, false,
|
||||
"Tried to remove a non-configured filter [type %d, source_port_or_eth_type 0x%x, dest_port 0x%x]\n",
|
||||
type, source_port_or_eth_type, dest_port);
|
||||
return;
|
||||
}
|
||||
|
||||
if (i >= NIG_REG_LLH_FUNC_FILTER_EN_SIZE)
|
||||
DP_NOTICE(p_hwfn, false,
|
||||
"Tried to remove a non-configured filter\n");
|
||||
DP_VERBOSE(p_hwfn, ECORE_MSG_HW,
|
||||
"Protocol filter [type %d, source_port_or_eth_type 0x%x, dest_port 0x%x] was removed from %d\n",
|
||||
type, source_port_or_eth_type, dest_port, entry_num);
|
||||
}
|
||||
|
||||
void ecore_llh_clear_all_filters(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt)
|
||||
static void ecore_llh_clear_all_filters_bb_ah(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt)
|
||||
{
|
||||
int i;
|
||||
|
||||
@ -4270,16 +4379,27 @@ void ecore_llh_clear_all_filters(struct ecore_hwfn *p_hwfn,
|
||||
|
||||
for (i = 0; i < NIG_REG_LLH_FUNC_FILTER_EN_SIZE; i++) {
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_EN + i * sizeof(u32), 0);
|
||||
NIG_REG_LLH_FUNC_FILTER_EN_BB_K2 +
|
||||
i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
2 * i * sizeof(u32), 0);
|
||||
ecore_wr(p_hwfn, p_ptt,
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE +
|
||||
NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 +
|
||||
(2 * i + 1) * sizeof(u32), 0);
|
||||
}
|
||||
}
|
||||
|
||||
void ecore_llh_clear_all_filters(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt)
|
||||
{
|
||||
if (!(IS_MF_SI(p_hwfn) || IS_MF_DEFAULT(p_hwfn)))
|
||||
return;
|
||||
|
||||
if (ECORE_IS_BB(p_hwfn->p_dev) || ECORE_IS_AH(p_hwfn->p_dev))
|
||||
ecore_llh_clear_all_filters_bb_ah(p_hwfn, p_ptt);
|
||||
}
|
||||
|
||||
enum _ecore_status_t
|
||||
ecore_llh_set_function_as_default(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt)
|
||||
@ -4396,7 +4516,7 @@ enum _ecore_status_t ecore_set_rxq_coalesce(struct ecore_hwfn *p_hwfn,
|
||||
if (rc != ECORE_SUCCESS)
|
||||
goto out;
|
||||
|
||||
out:
|
||||
out:
|
||||
return rc;
|
||||
}
|
||||
|
||||
@ -4434,7 +4554,7 @@ enum _ecore_status_t ecore_set_txq_coalesce(struct ecore_hwfn *p_hwfn,
|
||||
|
||||
rc = ecore_set_coalesce(p_hwfn, p_ptt, address, ð_qzone,
|
||||
sizeof(struct xstorm_eth_queue_zone), timeset);
|
||||
out:
|
||||
out:
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
@ -856,7 +856,8 @@ struct core_rx_gsi_offload_cqe {
|
||||
__le16 vlan /* 802.1q VLAN tag */;
|
||||
__le32 src_mac_addrhi /* hi 4 bytes source mac address */;
|
||||
__le16 src_mac_addrlo /* lo 2 bytes of source mac address */;
|
||||
u8 reserved1[2];
|
||||
/* These are the lower 16 bit of QP id in RoCE BTH header */
|
||||
__le16 qp_id;
|
||||
__le32 gid_dst[4] /* Gid destination address */;
|
||||
};
|
||||
|
||||
@ -998,11 +999,9 @@ struct core_tx_bd {
|
||||
*/
|
||||
#define CORE_TX_BD_L4_HDR_OFFSET_W_MASK 0x3FFF
|
||||
#define CORE_TX_BD_L4_HDR_OFFSET_W_SHIFT 0
|
||||
/* Packet destination - Network, LB (use enum core_tx_dest) */
|
||||
#define CORE_TX_BD_TX_DST_MASK 0x1
|
||||
/* Packet destination - Network, Loopback or Drop (use enum core_tx_dest) */
|
||||
#define CORE_TX_BD_TX_DST_MASK 0x3
|
||||
#define CORE_TX_BD_TX_DST_SHIFT 14
|
||||
#define CORE_TX_BD_RESERVED_MASK 0x1
|
||||
#define CORE_TX_BD_RESERVED_SHIFT 15
|
||||
};
|
||||
|
||||
|
||||
@ -1011,8 +1010,10 @@ struct core_tx_bd {
|
||||
* Light L2 TX Destination
|
||||
*/
|
||||
enum core_tx_dest {
|
||||
CORE_TX_DEST_NW /* Light L2 TX Destination to the Network */,
|
||||
CORE_TX_DEST_LB /* Light L2 TX Destination to the Loopback */,
|
||||
CORE_TX_DEST_NW /* TX Destination to the Network */,
|
||||
CORE_TX_DEST_LB /* TX Destination to the Loopback */,
|
||||
CORE_TX_DEST_RESERVED,
|
||||
CORE_TX_DEST_DROP /* TX Drop */,
|
||||
MAX_CORE_TX_DEST
|
||||
};
|
||||
|
||||
@ -1337,20 +1338,14 @@ struct pf_start_tunnel_config {
|
||||
* FW will use a default port
|
||||
*/
|
||||
u8 set_geneve_udp_port_flg;
|
||||
u8 tx_enable_vxlan /* If set, enable VXLAN tunnel in TX path. */;
|
||||
/* If set, enable l2 GENEVE tunnel in TX path. */
|
||||
u8 tx_enable_l2geneve;
|
||||
/* If set, enable IP GENEVE tunnel in TX path. */
|
||||
u8 tx_enable_ipgeneve;
|
||||
u8 tx_enable_l2gre /* If set, enable l2 GRE tunnel in TX path. */;
|
||||
u8 tx_enable_ipgre /* If set, enable IP GRE tunnel in TX path. */;
|
||||
u8 tunnel_clss_vxlan /* Classification scheme for VXLAN tunnel. */;
|
||||
/* Classification scheme for l2 GENEVE tunnel. */
|
||||
u8 tunnel_clss_vxlan /* Rx classification scheme for VXLAN tunnel. */;
|
||||
/* Rx classification scheme for l2 GENEVE tunnel. */
|
||||
u8 tunnel_clss_l2geneve;
|
||||
/* Classification scheme for ip GENEVE tunnel. */
|
||||
/* Rx classification scheme for ip GENEVE tunnel. */
|
||||
u8 tunnel_clss_ipgeneve;
|
||||
u8 tunnel_clss_l2gre /* Classification scheme for l2 GRE tunnel. */;
|
||||
u8 tunnel_clss_ipgre /* Classification scheme for ip GRE tunnel. */;
|
||||
u8 tunnel_clss_l2gre /* Rx classification scheme for l2 GRE tunnel. */;
|
||||
u8 tunnel_clss_ipgre /* Rx classification scheme for ip GRE tunnel. */;
|
||||
u8 reserved;
|
||||
/* VXLAN tunnel UDP destination port. Valid if set_vxlan_udp_port_flg=1 */
|
||||
__le16 vxlan_udp_port;
|
||||
/* GENEVE tunnel UDP destination port. Valid if set_geneve_udp_port_flg=1 */
|
||||
@ -1366,6 +1361,7 @@ struct pf_start_ramrod_data {
|
||||
struct regpair consolid_q_pbl_addr;
|
||||
/* tunnel configuration. */
|
||||
struct pf_start_tunnel_config tunnel_config;
|
||||
__le32 reserved;
|
||||
__le16 event_ring_sb_id /* Status block ID */;
|
||||
/* All VfIds owned by Pf will be from baseVfId till baseVfId+numVfs */
|
||||
u8 base_vf_id;
|
||||
@ -1425,19 +1421,10 @@ struct pf_update_tunnel_config {
|
||||
* unicast outer MAC in NPAR mode.
|
||||
*/
|
||||
u8 update_rx_def_non_ucast_clss;
|
||||
/* Update TX per PF tunnel classification scheme. used by pf update. */
|
||||
u8 update_tx_pf_clss;
|
||||
/* Update VXLAN tunnel UDP destination port. */
|
||||
u8 set_vxlan_udp_port_flg;
|
||||
/* Update GENEVE tunnel UDP destination port. */
|
||||
u8 set_geneve_udp_port_flg;
|
||||
u8 tx_enable_vxlan /* If set, enable VXLAN tunnel in TX path. */;
|
||||
/* If set, enable l2 GENEVE tunnel in TX path. */
|
||||
u8 tx_enable_l2geneve;
|
||||
/* If set, enable IP GENEVE tunnel in TX path. */
|
||||
u8 tx_enable_ipgeneve;
|
||||
u8 tx_enable_l2gre /* If set, enable l2 GRE tunnel in TX path. */;
|
||||
u8 tx_enable_ipgre /* If set, enable IP GRE tunnel in TX path. */;
|
||||
u8 tunnel_clss_vxlan /* Classification scheme for VXLAN tunnel. */;
|
||||
/* Classification scheme for l2 GENEVE tunnel. */
|
||||
u8 tunnel_clss_l2geneve;
|
||||
@ -1447,7 +1434,7 @@ struct pf_update_tunnel_config {
|
||||
u8 tunnel_clss_ipgre /* Classification scheme for ip GRE tunnel. */;
|
||||
__le16 vxlan_udp_port /* VXLAN tunnel UDP destination port. */;
|
||||
__le16 geneve_udp_port /* GENEVE tunnel UDP destination port. */;
|
||||
__le16 reserved[2];
|
||||
__le16 reserved;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -67,6 +67,8 @@ enum block_addr {
|
||||
GRCBASE_MULD = 0x4e0000,
|
||||
GRCBASE_YULD = 0x4c8000,
|
||||
GRCBASE_XYLD = 0x4c0000,
|
||||
GRCBASE_PTLD = 0x590000,
|
||||
GRCBASE_YPLD = 0x5b0000,
|
||||
GRCBASE_PRM = 0x230000,
|
||||
GRCBASE_PBF_PB1 = 0xda0000,
|
||||
GRCBASE_PBF_PB2 = 0xda4000,
|
||||
@ -80,6 +82,10 @@ enum block_addr {
|
||||
GRCBASE_TCFC = 0x2d0000,
|
||||
GRCBASE_IGU = 0x180000,
|
||||
GRCBASE_CAU = 0x1c0000,
|
||||
GRCBASE_RGFS = 0xf00000,
|
||||
GRCBASE_RGSRC = 0x320000,
|
||||
GRCBASE_TGFS = 0xd00000,
|
||||
GRCBASE_TGSRC = 0x322000,
|
||||
GRCBASE_UMAC = 0x51000,
|
||||
GRCBASE_XMAC = 0x210000,
|
||||
GRCBASE_DBG = 0x10000,
|
||||
@ -93,12 +99,6 @@ enum block_addr {
|
||||
GRCBASE_PHY_PCIE = 0x620000,
|
||||
GRCBASE_LED = 0x6b8000,
|
||||
GRCBASE_AVS_WRAP = 0x6b0000,
|
||||
GRCBASE_RGFS = 0x1fa0000,
|
||||
GRCBASE_RGSRC = 0x1fa8000,
|
||||
GRCBASE_TGFS = 0x1fb0000,
|
||||
GRCBASE_TGSRC = 0x1fb8000,
|
||||
GRCBASE_PTLD = 0x1fc0000,
|
||||
GRCBASE_YPLD = 0x1fe0000,
|
||||
GRCBASE_MISC_AEU = 0x8000,
|
||||
GRCBASE_BAR0_MAP = 0x1c00000,
|
||||
MAX_BLOCK_ADDR
|
||||
@ -159,6 +159,8 @@ enum block_id {
|
||||
BLOCK_MULD,
|
||||
BLOCK_YULD,
|
||||
BLOCK_XYLD,
|
||||
BLOCK_PTLD,
|
||||
BLOCK_YPLD,
|
||||
BLOCK_PRM,
|
||||
BLOCK_PBF_PB1,
|
||||
BLOCK_PBF_PB2,
|
||||
@ -172,6 +174,10 @@ enum block_id {
|
||||
BLOCK_TCFC,
|
||||
BLOCK_IGU,
|
||||
BLOCK_CAU,
|
||||
BLOCK_RGFS,
|
||||
BLOCK_RGSRC,
|
||||
BLOCK_TGFS,
|
||||
BLOCK_TGSRC,
|
||||
BLOCK_UMAC,
|
||||
BLOCK_XMAC,
|
||||
BLOCK_DBG,
|
||||
@ -185,12 +191,6 @@ enum block_id {
|
||||
BLOCK_PHY_PCIE,
|
||||
BLOCK_LED,
|
||||
BLOCK_AVS_WRAP,
|
||||
BLOCK_RGFS,
|
||||
BLOCK_RGSRC,
|
||||
BLOCK_TGFS,
|
||||
BLOCK_TGSRC,
|
||||
BLOCK_PTLD,
|
||||
BLOCK_YPLD,
|
||||
BLOCK_MISC_AEU,
|
||||
BLOCK_BAR0_MAP,
|
||||
MAX_BLOCK_ID
|
||||
|
@ -15,6 +15,10 @@
|
||||
/* Number of VLAN priorities */
|
||||
#define NUM_OF_VLAN_PRIORITIES 8
|
||||
|
||||
/* Size of CRC8 lookup table */
|
||||
#ifndef LINUX_REMOVE
|
||||
#define CRC8_TABLE_SIZE 256
|
||||
#endif
|
||||
|
||||
/*
|
||||
* BRB RAM init requirements
|
||||
|
@ -1590,7 +1590,8 @@ void ecore_set_rfs_mode_enable(struct ecore_hwfn *p_hwfn,
|
||||
|
||||
/* Filters are per PF!! */
|
||||
SET_FIELD(camLine.cam_line_mapped.camline,
|
||||
GFT_CAM_LINE_MAPPED_PF_ID_MASK, 1);
|
||||
GFT_CAM_LINE_MAPPED_PF_ID_MASK,
|
||||
GFT_CAM_LINE_MAPPED_PF_ID_MASK_MASK);
|
||||
SET_FIELD(camLine.cam_line_mapped.camline,
|
||||
GFT_CAM_LINE_MAPPED_PF_ID, pf_id);
|
||||
|
||||
@ -1644,8 +1645,9 @@ void ecore_set_rfs_mode_enable(struct ecore_hwfn *p_hwfn,
|
||||
i * REG_SIZE, *(ramLinePointer + i));
|
||||
|
||||
/* Set default profile so that no filter match will happen */
|
||||
ramLine.lo = 0xffff;
|
||||
ramLine.hi = 0xffff;
|
||||
ramLine.lo = 0xffffffff;
|
||||
ramLine.hi = 0x3ff;
|
||||
|
||||
for (i = 0; i < RAM_LINE_SIZE / REG_SIZE; i++)
|
||||
ecore_wr(p_hwfn, p_ptt, PRS_REG_GFT_PROFILE_MASK_RAM +
|
||||
RAM_LINE_SIZE * PRS_GFT_CAM_LINES_NO_MATCH +
|
||||
@ -1722,40 +1724,30 @@ u32 ecore_get_mstorm_eth_vf_prods_offset(struct ecore_hwfn *p_hwfn,
|
||||
return offset;
|
||||
}
|
||||
|
||||
/* Calculate CRC8 of first 4 bytes in buf */
|
||||
static u8 ecore_calc_crc8(const u8 *buf)
|
||||
{
|
||||
u32 i, j, crc = 0xff << 8;
|
||||
#ifndef LINUX_REMOVE
|
||||
#define CRC8_INIT_VALUE 0xFF
|
||||
#define CRC8_TABLE_SIZE 256
|
||||
#endif
|
||||
static u8 cdu_crc8_table[CRC8_TABLE_SIZE];
|
||||
|
||||
/* CRC-8 polynomial */
|
||||
#define POLY 0x1070
|
||||
|
||||
for (j = 0; j < 4; j++, buf++) {
|
||||
crc ^= (*buf << 8);
|
||||
for (i = 0; i < 8; i++) {
|
||||
if (crc & 0x8000)
|
||||
crc ^= (POLY << 3);
|
||||
|
||||
crc <<= 1;
|
||||
}
|
||||
}
|
||||
|
||||
return (u8)(crc >> 8);
|
||||
}
|
||||
|
||||
/* Calculate and return CDU validation byte per conneciton type / region /
|
||||
/* Calculate and return CDU validation byte per connection type / region /
|
||||
* cid
|
||||
*/
|
||||
static u8 ecore_calc_cdu_validation_byte(u8 conn_type, u8 region,
|
||||
u32 cid)
|
||||
static u8 ecore_calc_cdu_validation_byte(struct ecore_hwfn *p_hwfn,
|
||||
u8 conn_type,
|
||||
u8 region, u32 cid)
|
||||
{
|
||||
const u8 validation_cfg = CDU_VALIDATION_DEFAULT_CFG;
|
||||
|
||||
static u8 crc8_table_valid; /*automatically initialized to 0*/
|
||||
u8 crc, validation_byte = 0;
|
||||
u32 validation_string = 0;
|
||||
const u8 *data_to_crc_rev;
|
||||
u8 data_to_crc[4];
|
||||
u32 data_to_crc;
|
||||
|
||||
data_to_crc_rev = (const u8 *)&validation_string;
|
||||
if (crc8_table_valid == 0) {
|
||||
OSAL_CRC8_POPULATE(cdu_crc8_table, 0x07);
|
||||
crc8_table_valid = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* The CRC is calculated on the String-to-compress:
|
||||
@ -1772,13 +1764,22 @@ static u8 ecore_calc_cdu_validation_byte(u8 conn_type, u8 region,
|
||||
if ((validation_cfg >> CDU_CONTEXT_VALIDATION_CFG_USE_TYPE) & 1)
|
||||
validation_string |= (conn_type & 0xF);
|
||||
|
||||
/* Convert to big-endian (ntoh())*/
|
||||
data_to_crc[0] = data_to_crc_rev[3];
|
||||
data_to_crc[1] = data_to_crc_rev[2];
|
||||
data_to_crc[2] = data_to_crc_rev[1];
|
||||
data_to_crc[3] = data_to_crc_rev[0];
|
||||
/* Convert to big-endian and calculate CRC8*/
|
||||
data_to_crc = OSAL_BE32_TO_CPU(validation_string);
|
||||
|
||||
crc = ecore_calc_crc8(data_to_crc);
|
||||
crc = OSAL_CRC8(cdu_crc8_table, (u8 *)&data_to_crc, sizeof(data_to_crc),
|
||||
CRC8_INIT_VALUE);
|
||||
|
||||
/* The validation byte [7:0] is composed:
|
||||
* for type A validation
|
||||
* [7] = active configuration bit
|
||||
* [6:0] = crc[6:0]
|
||||
*
|
||||
* for type B validation
|
||||
* [7] = active configuration bit
|
||||
* [6:3] = connection_type[3:0]
|
||||
* [2:0] = crc[2:0]
|
||||
*/
|
||||
|
||||
validation_byte |= ((validation_cfg >>
|
||||
CDU_CONTEXT_VALIDATION_CFG_USE_ACTIVE) & 1) << 7;
|
||||
@ -1793,8 +1794,9 @@ static u8 ecore_calc_cdu_validation_byte(u8 conn_type, u8 region,
|
||||
}
|
||||
|
||||
/* Calcualte and set validation bytes for session context */
|
||||
void ecore_calc_session_ctx_validation(void *p_ctx_mem, u16 ctx_size,
|
||||
u8 ctx_type, u32 cid)
|
||||
void ecore_calc_session_ctx_validation(struct ecore_hwfn *p_hwfn,
|
||||
void *p_ctx_mem,
|
||||
u16 ctx_size, u8 ctx_type, u32 cid)
|
||||
{
|
||||
u8 *x_val_ptr, *t_val_ptr, *u_val_ptr, *p_ctx;
|
||||
|
||||
@ -1805,14 +1807,14 @@ void ecore_calc_session_ctx_validation(void *p_ctx_mem, u16 ctx_size,
|
||||
|
||||
OSAL_MEMSET(p_ctx, 0, ctx_size);
|
||||
|
||||
*x_val_ptr = ecore_calc_cdu_validation_byte(ctx_type, 3, cid);
|
||||
*t_val_ptr = ecore_calc_cdu_validation_byte(ctx_type, 4, cid);
|
||||
*u_val_ptr = ecore_calc_cdu_validation_byte(ctx_type, 5, cid);
|
||||
*x_val_ptr = ecore_calc_cdu_validation_byte(p_hwfn, ctx_type, 3, cid);
|
||||
*t_val_ptr = ecore_calc_cdu_validation_byte(p_hwfn, ctx_type, 4, cid);
|
||||
*u_val_ptr = ecore_calc_cdu_validation_byte(p_hwfn, ctx_type, 5, cid);
|
||||
}
|
||||
|
||||
/* Calcualte and set validation bytes for task context */
|
||||
void ecore_calc_task_ctx_validation(void *p_ctx_mem, u16 ctx_size,
|
||||
u8 ctx_type, u32 tid)
|
||||
void ecore_calc_task_ctx_validation(struct ecore_hwfn *p_hwfn, void *p_ctx_mem,
|
||||
u16 ctx_size, u8 ctx_type, u32 tid)
|
||||
{
|
||||
u8 *p_ctx, *region1_val_ptr;
|
||||
|
||||
@ -1821,7 +1823,8 @@ void ecore_calc_task_ctx_validation(void *p_ctx_mem, u16 ctx_size,
|
||||
|
||||
OSAL_MEMSET(p_ctx, 0, ctx_size);
|
||||
|
||||
*region1_val_ptr = ecore_calc_cdu_validation_byte(ctx_type, 1, tid);
|
||||
*region1_val_ptr = ecore_calc_cdu_validation_byte(p_hwfn, ctx_type,
|
||||
1, tid);
|
||||
}
|
||||
|
||||
/* Memset session context to 0 while preserving validation bytes */
|
||||
@ -1847,8 +1850,7 @@ void ecore_memset_session_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type)
|
||||
}
|
||||
|
||||
/* Memset task context to 0 while preserving validation bytes */
|
||||
void ecore_memset_task_ctx(void *p_ctx_mem, const u32 ctx_size,
|
||||
const u8 ctx_type)
|
||||
void ecore_memset_task_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type)
|
||||
{
|
||||
u8 *p_ctx, *region1_val_ptr;
|
||||
u8 region1_val;
|
||||
|
@ -424,48 +424,54 @@ void ecore_enable_context_validation(struct ecore_hwfn *p_hwfn,
|
||||
struct ecore_ptt *p_ptt);
|
||||
/**
|
||||
* @brief ecore_calc_session_ctx_validation - Calcualte validation byte for
|
||||
* session context.
|
||||
* session context.
|
||||
*
|
||||
*
|
||||
* @param p_ctx_mem - pointer to context memory.
|
||||
* @param ctx_size - context size.
|
||||
* @param ctx_type - context type.
|
||||
* @param cid - context cid.
|
||||
* @param p_ctx_mem - pointer to context memory.
|
||||
* @param ctx_size - context size.
|
||||
* @param ctx_type - context type.
|
||||
* @param cid - context cid.
|
||||
*/
|
||||
void ecore_calc_session_ctx_validation(void *p_ctx_mem, u16 ctx_size,
|
||||
u8 ctx_type, u32 cid);
|
||||
void ecore_calc_session_ctx_validation(struct ecore_hwfn *p_hwfn,
|
||||
void *p_ctx_mem,
|
||||
u16 ctx_size,
|
||||
u8 ctx_type,
|
||||
u32 cid);
|
||||
/**
|
||||
* @brief ecore_calc_task_ctx_validation - Calcualte validation byte for task
|
||||
* context.
|
||||
* context.
|
||||
*
|
||||
*
|
||||
* @param p_ctx_mem - pointer to context memory.
|
||||
* @param ctx_size - context size.
|
||||
* @param ctx_type - context type.
|
||||
* @param tid - context tid.
|
||||
* @param p_hwfn - HW device data
|
||||
* @param p_ctx_mem - pointer to context memory.
|
||||
* @param ctx_size - context size.
|
||||
* @param ctx_type - context type.
|
||||
* @param tid - context tid.
|
||||
*/
|
||||
void ecore_calc_task_ctx_validation(void *p_ctx_mem, u16 ctx_size,
|
||||
u8 ctx_type, u32 tid);
|
||||
void ecore_calc_task_ctx_validation(struct ecore_hwfn *p_hwfn,
|
||||
void *p_ctx_mem,
|
||||
u16 ctx_size,
|
||||
u8 ctx_type,
|
||||
u32 tid);
|
||||
/**
|
||||
* @brief ecore_memset_session_ctx - Memset session context to 0 while
|
||||
* preserving validation bytes.
|
||||
* preserving validation bytes.
|
||||
*
|
||||
*
|
||||
* @param p_ctx_mem - pointer to context memory.
|
||||
* @param ctx_size - size to initialzie.
|
||||
* @param ctx_type - context type.
|
||||
* @param p_hwfn - HW device data
|
||||
* @param p_ctx_mem - pointer to context memory.
|
||||
* @param ctx_size - size to initialzie.
|
||||
* @param ctx_type - context type.
|
||||
*/
|
||||
void ecore_memset_session_ctx(void *p_ctx_mem, u32 ctx_size,
|
||||
void ecore_memset_session_ctx(void *p_ctx_mem,
|
||||
u32 ctx_size,
|
||||
u8 ctx_type);
|
||||
/**
|
||||
* @brief ecore_memset_task_ctx - Memset session context to 0 while preserving
|
||||
* validation bytes.
|
||||
* @brief ecore_memset_task_ctx - Memset task context to 0 while preserving
|
||||
* validation bytes.
|
||||
*
|
||||
*
|
||||
* @param p_ctx_mem - pointer to context memory.
|
||||
* @param ctx_size - size to initialzie.
|
||||
* @param ctx_type - context type.
|
||||
* @param p_ctx_mem - pointer to context memory.
|
||||
* @param ctx_size - size to initialzie.
|
||||
* @param ctx_type - context type.
|
||||
*/
|
||||
void ecore_memset_task_ctx(void *p_ctx_mem, u32 ctx_size,
|
||||
void ecore_memset_task_ctx(void *p_ctx_mem,
|
||||
u32 ctx_size,
|
||||
u8 ctx_type);
|
||||
#endif
|
||||
|
@ -27,7 +27,7 @@ static const struct iro iro_arr[49] = {
|
||||
/* USTORM_COMMON_QUEUE_CONS_OFFSET(queue_zone_id) */
|
||||
{ 0x84, 0x8, 0x0, 0x0, 0x2},
|
||||
/* XSTORM_INTEG_TEST_DATA_OFFSET */
|
||||
{ 0x4bc0, 0x0, 0x0, 0x0, 0x78},
|
||||
{ 0x4c40, 0x0, 0x0, 0x0, 0x78},
|
||||
/* YSTORM_INTEG_TEST_DATA_OFFSET */
|
||||
{ 0x3df0, 0x0, 0x0, 0x0, 0x78},
|
||||
/* PSTORM_INTEG_TEST_DATA_OFFSET */
|
||||
@ -37,13 +37,13 @@ static const struct iro iro_arr[49] = {
|
||||
/* MSTORM_INTEG_TEST_DATA_OFFSET */
|
||||
{ 0x4990, 0x0, 0x0, 0x0, 0x78},
|
||||
/* USTORM_INTEG_TEST_DATA_OFFSET */
|
||||
{ 0x7e48, 0x0, 0x0, 0x0, 0x78},
|
||||
{ 0x7f48, 0x0, 0x0, 0x0, 0x78},
|
||||
/* TSTORM_LL2_RX_PRODS_OFFSET(core_rx_queue_id) */
|
||||
{ 0xa28, 0x8, 0x0, 0x0, 0x8},
|
||||
/* CORE_LL2_TSTORM_PER_QUEUE_STAT_OFFSET(core_rx_queue_id) */
|
||||
{ 0x61f8, 0x10, 0x0, 0x0, 0x10},
|
||||
/* CORE_LL2_USTORM_PER_QUEUE_STAT_OFFSET(core_rx_queue_id) */
|
||||
{ 0xb820, 0x30, 0x0, 0x0, 0x30},
|
||||
{ 0xbd20, 0x30, 0x0, 0x0, 0x30},
|
||||
/* CORE_LL2_PSTORM_PER_QUEUE_STAT_OFFSET(core_tx_stats_id) */
|
||||
{ 0x95b8, 0x30, 0x0, 0x0, 0x30},
|
||||
/* MSTORM_QUEUE_STAT_OFFSET(stat_counter_id) */
|
||||
@ -57,9 +57,9 @@ static const struct iro iro_arr[49] = {
|
||||
/* MSTORM_ETH_PF_STAT_OFFSET(pf_id) */
|
||||
{ 0x4ba0, 0x80, 0x0, 0x0, 0x20},
|
||||
/* USTORM_QUEUE_STAT_OFFSET(stat_counter_id) */
|
||||
{ 0x8050, 0x40, 0x0, 0x0, 0x30},
|
||||
{ 0x8150, 0x40, 0x0, 0x0, 0x30},
|
||||
/* USTORM_ETH_PF_STAT_OFFSET(pf_id) */
|
||||
{ 0xe770, 0x60, 0x0, 0x0, 0x60},
|
||||
{ 0xec70, 0x60, 0x0, 0x0, 0x60},
|
||||
/* PSTORM_QUEUE_STAT_OFFSET(stat_counter_id) */
|
||||
{ 0x2b48, 0x80, 0x0, 0x0, 0x38},
|
||||
/* PSTORM_ETH_PF_STAT_OFFSET(pf_id) */
|
||||
@ -89,7 +89,7 @@ static const struct iro iro_arr[49] = {
|
||||
/* MSTORM_ISCSI_RX_STATS_OFFSET(pf_id) */
|
||||
{ 0x12988, 0x10, 0x0, 0x0, 0x8},
|
||||
/* USTORM_ISCSI_RX_STATS_OFFSET(pf_id) */
|
||||
{ 0x11aa0, 0x38, 0x0, 0x0, 0x18},
|
||||
{ 0x11fa0, 0x38, 0x0, 0x0, 0x18},
|
||||
/* XSTORM_ISCSI_TX_STATS_OFFSET(pf_id) */
|
||||
{ 0xa8c0, 0x38, 0x0, 0x0, 0x10},
|
||||
/* YSTORM_ISCSI_TX_STATS_OFFSET(pf_id) */
|
||||
|
@ -94,359 +94,358 @@
|
||||
#define PSWRQ2_REG_CDUC_BLOCKS_FACTOR_RT_OFFSET 6697
|
||||
#define PSWRQ2_REG_VF_BASE_RT_OFFSET 6698
|
||||
#define PSWRQ2_REG_VF_LAST_ILT_RT_OFFSET 6699
|
||||
#define PSWRQ2_REG_WR_MBS0_RT_OFFSET 6700
|
||||
#define PSWRQ2_REG_RD_MBS0_RT_OFFSET 6701
|
||||
#define PSWRQ2_REG_DRAM_ALIGN_WR_RT_OFFSET 6702
|
||||
#define PSWRQ2_REG_DRAM_ALIGN_RD_RT_OFFSET 6703
|
||||
#define PSWRQ2_REG_ILT_MEMORY_RT_OFFSET 6704
|
||||
#define PSWRQ2_REG_DRAM_ALIGN_WR_RT_OFFSET 6700
|
||||
#define PSWRQ2_REG_DRAM_ALIGN_RD_RT_OFFSET 6701
|
||||
#define PSWRQ2_REG_ILT_MEMORY_RT_OFFSET 6702
|
||||
#define PSWRQ2_REG_ILT_MEMORY_RT_SIZE 22000
|
||||
#define PGLUE_REG_B_VF_BASE_RT_OFFSET 28704
|
||||
#define PGLUE_REG_B_MSDM_OFFSET_MASK_B_RT_OFFSET 28705
|
||||
#define PGLUE_REG_B_MSDM_VF_SHIFT_B_RT_OFFSET 28706
|
||||
#define PGLUE_REG_B_CACHE_LINE_SIZE_RT_OFFSET 28707
|
||||
#define PGLUE_REG_B_PF_BAR0_SIZE_RT_OFFSET 28708
|
||||
#define PGLUE_REG_B_PF_BAR1_SIZE_RT_OFFSET 28709
|
||||
#define PGLUE_REG_B_VF_BAR1_SIZE_RT_OFFSET 28710
|
||||
#define TM_REG_VF_ENABLE_CONN_RT_OFFSET 28711
|
||||
#define TM_REG_PF_ENABLE_CONN_RT_OFFSET 28712
|
||||
#define TM_REG_PF_ENABLE_TASK_RT_OFFSET 28713
|
||||
#define TM_REG_GROUP_SIZE_RESOLUTION_CONN_RT_OFFSET 28714
|
||||
#define TM_REG_GROUP_SIZE_RESOLUTION_TASK_RT_OFFSET 28715
|
||||
#define TM_REG_CONFIG_CONN_MEM_RT_OFFSET 28716
|
||||
#define PGLUE_REG_B_VF_BASE_RT_OFFSET 28702
|
||||
#define PGLUE_REG_B_MSDM_OFFSET_MASK_B_RT_OFFSET 28703
|
||||
#define PGLUE_REG_B_MSDM_VF_SHIFT_B_RT_OFFSET 28704
|
||||
#define PGLUE_REG_B_CACHE_LINE_SIZE_RT_OFFSET 28705
|
||||
#define PGLUE_REG_B_PF_BAR0_SIZE_RT_OFFSET 28706
|
||||
#define PGLUE_REG_B_PF_BAR1_SIZE_RT_OFFSET 28707
|
||||
#define PGLUE_REG_B_VF_BAR1_SIZE_RT_OFFSET 28708
|
||||
#define TM_REG_VF_ENABLE_CONN_RT_OFFSET 28709
|
||||
#define TM_REG_PF_ENABLE_CONN_RT_OFFSET 28710
|
||||
#define TM_REG_PF_ENABLE_TASK_RT_OFFSET 28711
|
||||
#define TM_REG_GROUP_SIZE_RESOLUTION_CONN_RT_OFFSET 28712
|
||||
#define TM_REG_GROUP_SIZE_RESOLUTION_TASK_RT_OFFSET 28713
|
||||
#define TM_REG_CONFIG_CONN_MEM_RT_OFFSET 28714
|
||||
#define TM_REG_CONFIG_CONN_MEM_RT_SIZE 416
|
||||
#define TM_REG_CONFIG_TASK_MEM_RT_OFFSET 29132
|
||||
#define TM_REG_CONFIG_TASK_MEM_RT_OFFSET 29130
|
||||
#define TM_REG_CONFIG_TASK_MEM_RT_SIZE 608
|
||||
#define QM_REG_MAXPQSIZE_0_RT_OFFSET 29740
|
||||
#define QM_REG_MAXPQSIZE_1_RT_OFFSET 29741
|
||||
#define QM_REG_MAXPQSIZE_2_RT_OFFSET 29742
|
||||
#define QM_REG_MAXPQSIZETXSEL_0_RT_OFFSET 29743
|
||||
#define QM_REG_MAXPQSIZETXSEL_1_RT_OFFSET 29744
|
||||
#define QM_REG_MAXPQSIZETXSEL_2_RT_OFFSET 29745
|
||||
#define QM_REG_MAXPQSIZETXSEL_3_RT_OFFSET 29746
|
||||
#define QM_REG_MAXPQSIZETXSEL_4_RT_OFFSET 29747
|
||||
#define QM_REG_MAXPQSIZETXSEL_5_RT_OFFSET 29748
|
||||
#define QM_REG_MAXPQSIZETXSEL_6_RT_OFFSET 29749
|
||||
#define QM_REG_MAXPQSIZETXSEL_7_RT_OFFSET 29750
|
||||
#define QM_REG_MAXPQSIZETXSEL_8_RT_OFFSET 29751
|
||||
#define QM_REG_MAXPQSIZETXSEL_9_RT_OFFSET 29752
|
||||
#define QM_REG_MAXPQSIZETXSEL_10_RT_OFFSET 29753
|
||||
#define QM_REG_MAXPQSIZETXSEL_11_RT_OFFSET 29754
|
||||
#define QM_REG_MAXPQSIZETXSEL_12_RT_OFFSET 29755
|
||||
#define QM_REG_MAXPQSIZETXSEL_13_RT_OFFSET 29756
|
||||
#define QM_REG_MAXPQSIZETXSEL_14_RT_OFFSET 29757
|
||||
#define QM_REG_MAXPQSIZETXSEL_15_RT_OFFSET 29758
|
||||
#define QM_REG_MAXPQSIZETXSEL_16_RT_OFFSET 29759
|
||||
#define QM_REG_MAXPQSIZETXSEL_17_RT_OFFSET 29760
|
||||
#define QM_REG_MAXPQSIZETXSEL_18_RT_OFFSET 29761
|
||||
#define QM_REG_MAXPQSIZETXSEL_19_RT_OFFSET 29762
|
||||
#define QM_REG_MAXPQSIZETXSEL_20_RT_OFFSET 29763
|
||||
#define QM_REG_MAXPQSIZETXSEL_21_RT_OFFSET 29764
|
||||
#define QM_REG_MAXPQSIZETXSEL_22_RT_OFFSET 29765
|
||||
#define QM_REG_MAXPQSIZETXSEL_23_RT_OFFSET 29766
|
||||
#define QM_REG_MAXPQSIZETXSEL_24_RT_OFFSET 29767
|
||||
#define QM_REG_MAXPQSIZETXSEL_25_RT_OFFSET 29768
|
||||
#define QM_REG_MAXPQSIZETXSEL_26_RT_OFFSET 29769
|
||||
#define QM_REG_MAXPQSIZETXSEL_27_RT_OFFSET 29770
|
||||
#define QM_REG_MAXPQSIZETXSEL_28_RT_OFFSET 29771
|
||||
#define QM_REG_MAXPQSIZETXSEL_29_RT_OFFSET 29772
|
||||
#define QM_REG_MAXPQSIZETXSEL_30_RT_OFFSET 29773
|
||||
#define QM_REG_MAXPQSIZETXSEL_31_RT_OFFSET 29774
|
||||
#define QM_REG_MAXPQSIZETXSEL_32_RT_OFFSET 29775
|
||||
#define QM_REG_MAXPQSIZETXSEL_33_RT_OFFSET 29776
|
||||
#define QM_REG_MAXPQSIZETXSEL_34_RT_OFFSET 29777
|
||||
#define QM_REG_MAXPQSIZETXSEL_35_RT_OFFSET 29778
|
||||
#define QM_REG_MAXPQSIZETXSEL_36_RT_OFFSET 29779
|
||||
#define QM_REG_MAXPQSIZETXSEL_37_RT_OFFSET 29780
|
||||
#define QM_REG_MAXPQSIZETXSEL_38_RT_OFFSET 29781
|
||||
#define QM_REG_MAXPQSIZETXSEL_39_RT_OFFSET 29782
|
||||
#define QM_REG_MAXPQSIZETXSEL_40_RT_OFFSET 29783
|
||||
#define QM_REG_MAXPQSIZETXSEL_41_RT_OFFSET 29784
|
||||
#define QM_REG_MAXPQSIZETXSEL_42_RT_OFFSET 29785
|
||||
#define QM_REG_MAXPQSIZETXSEL_43_RT_OFFSET 29786
|
||||
#define QM_REG_MAXPQSIZETXSEL_44_RT_OFFSET 29787
|
||||
#define QM_REG_MAXPQSIZETXSEL_45_RT_OFFSET 29788
|
||||
#define QM_REG_MAXPQSIZETXSEL_46_RT_OFFSET 29789
|
||||
#define QM_REG_MAXPQSIZETXSEL_47_RT_OFFSET 29790
|
||||
#define QM_REG_MAXPQSIZETXSEL_48_RT_OFFSET 29791
|
||||
#define QM_REG_MAXPQSIZETXSEL_49_RT_OFFSET 29792
|
||||
#define QM_REG_MAXPQSIZETXSEL_50_RT_OFFSET 29793
|
||||
#define QM_REG_MAXPQSIZETXSEL_51_RT_OFFSET 29794
|
||||
#define QM_REG_MAXPQSIZETXSEL_52_RT_OFFSET 29795
|
||||
#define QM_REG_MAXPQSIZETXSEL_53_RT_OFFSET 29796
|
||||
#define QM_REG_MAXPQSIZETXSEL_54_RT_OFFSET 29797
|
||||
#define QM_REG_MAXPQSIZETXSEL_55_RT_OFFSET 29798
|
||||
#define QM_REG_MAXPQSIZETXSEL_56_RT_OFFSET 29799
|
||||
#define QM_REG_MAXPQSIZETXSEL_57_RT_OFFSET 29800
|
||||
#define QM_REG_MAXPQSIZETXSEL_58_RT_OFFSET 29801
|
||||
#define QM_REG_MAXPQSIZETXSEL_59_RT_OFFSET 29802
|
||||
#define QM_REG_MAXPQSIZETXSEL_60_RT_OFFSET 29803
|
||||
#define QM_REG_MAXPQSIZETXSEL_61_RT_OFFSET 29804
|
||||
#define QM_REG_MAXPQSIZETXSEL_62_RT_OFFSET 29805
|
||||
#define QM_REG_MAXPQSIZETXSEL_63_RT_OFFSET 29806
|
||||
#define QM_REG_BASEADDROTHERPQ_RT_OFFSET 29807
|
||||
#define QM_REG_AFULLQMBYPTHRPFWFQ_RT_OFFSET 29935
|
||||
#define QM_REG_AFULLQMBYPTHRVPWFQ_RT_OFFSET 29936
|
||||
#define QM_REG_AFULLQMBYPTHRPFRL_RT_OFFSET 29937
|
||||
#define QM_REG_AFULLQMBYPTHRGLBLRL_RT_OFFSET 29938
|
||||
#define QM_REG_AFULLOPRTNSTCCRDMASK_RT_OFFSET 29939
|
||||
#define QM_REG_WRROTHERPQGRP_0_RT_OFFSET 29940
|
||||
#define QM_REG_WRROTHERPQGRP_1_RT_OFFSET 29941
|
||||
#define QM_REG_WRROTHERPQGRP_2_RT_OFFSET 29942
|
||||
#define QM_REG_WRROTHERPQGRP_3_RT_OFFSET 29943
|
||||
#define QM_REG_WRROTHERPQGRP_4_RT_OFFSET 29944
|
||||
#define QM_REG_WRROTHERPQGRP_5_RT_OFFSET 29945
|
||||
#define QM_REG_WRROTHERPQGRP_6_RT_OFFSET 29946
|
||||
#define QM_REG_WRROTHERPQGRP_7_RT_OFFSET 29947
|
||||
#define QM_REG_WRROTHERPQGRP_8_RT_OFFSET 29948
|
||||
#define QM_REG_WRROTHERPQGRP_9_RT_OFFSET 29949
|
||||
#define QM_REG_WRROTHERPQGRP_10_RT_OFFSET 29950
|
||||
#define QM_REG_WRROTHERPQGRP_11_RT_OFFSET 29951
|
||||
#define QM_REG_WRROTHERPQGRP_12_RT_OFFSET 29952
|
||||
#define QM_REG_WRROTHERPQGRP_13_RT_OFFSET 29953
|
||||
#define QM_REG_WRROTHERPQGRP_14_RT_OFFSET 29954
|
||||
#define QM_REG_WRROTHERPQGRP_15_RT_OFFSET 29955
|
||||
#define QM_REG_WRROTHERGRPWEIGHT_0_RT_OFFSET 29956
|
||||
#define QM_REG_WRROTHERGRPWEIGHT_1_RT_OFFSET 29957
|
||||
#define QM_REG_WRROTHERGRPWEIGHT_2_RT_OFFSET 29958
|
||||
#define QM_REG_WRROTHERGRPWEIGHT_3_RT_OFFSET 29959
|
||||
#define QM_REG_WRRTXGRPWEIGHT_0_RT_OFFSET 29960
|
||||
#define QM_REG_WRRTXGRPWEIGHT_1_RT_OFFSET 29961
|
||||
#define QM_REG_PQTX2PF_0_RT_OFFSET 29962
|
||||
#define QM_REG_PQTX2PF_1_RT_OFFSET 29963
|
||||
#define QM_REG_PQTX2PF_2_RT_OFFSET 29964
|
||||
#define QM_REG_PQTX2PF_3_RT_OFFSET 29965
|
||||
#define QM_REG_PQTX2PF_4_RT_OFFSET 29966
|
||||
#define QM_REG_PQTX2PF_5_RT_OFFSET 29967
|
||||
#define QM_REG_PQTX2PF_6_RT_OFFSET 29968
|
||||
#define QM_REG_PQTX2PF_7_RT_OFFSET 29969
|
||||
#define QM_REG_PQTX2PF_8_RT_OFFSET 29970
|
||||
#define QM_REG_PQTX2PF_9_RT_OFFSET 29971
|
||||
#define QM_REG_PQTX2PF_10_RT_OFFSET 29972
|
||||
#define QM_REG_PQTX2PF_11_RT_OFFSET 29973
|
||||
#define QM_REG_PQTX2PF_12_RT_OFFSET 29974
|
||||
#define QM_REG_PQTX2PF_13_RT_OFFSET 29975
|
||||
#define QM_REG_PQTX2PF_14_RT_OFFSET 29976
|
||||
#define QM_REG_PQTX2PF_15_RT_OFFSET 29977
|
||||
#define QM_REG_PQTX2PF_16_RT_OFFSET 29978
|
||||
#define QM_REG_PQTX2PF_17_RT_OFFSET 29979
|
||||
#define QM_REG_PQTX2PF_18_RT_OFFSET 29980
|
||||
#define QM_REG_PQTX2PF_19_RT_OFFSET 29981
|
||||
#define QM_REG_PQTX2PF_20_RT_OFFSET 29982
|
||||
#define QM_REG_PQTX2PF_21_RT_OFFSET 29983
|
||||
#define QM_REG_PQTX2PF_22_RT_OFFSET 29984
|
||||
#define QM_REG_PQTX2PF_23_RT_OFFSET 29985
|
||||
#define QM_REG_PQTX2PF_24_RT_OFFSET 29986
|
||||
#define QM_REG_PQTX2PF_25_RT_OFFSET 29987
|
||||
#define QM_REG_PQTX2PF_26_RT_OFFSET 29988
|
||||
#define QM_REG_PQTX2PF_27_RT_OFFSET 29989
|
||||
#define QM_REG_PQTX2PF_28_RT_OFFSET 29990
|
||||
#define QM_REG_PQTX2PF_29_RT_OFFSET 29991
|
||||
#define QM_REG_PQTX2PF_30_RT_OFFSET 29992
|
||||
#define QM_REG_PQTX2PF_31_RT_OFFSET 29993
|
||||
#define QM_REG_PQTX2PF_32_RT_OFFSET 29994
|
||||
#define QM_REG_PQTX2PF_33_RT_OFFSET 29995
|
||||
#define QM_REG_PQTX2PF_34_RT_OFFSET 29996
|
||||
#define QM_REG_PQTX2PF_35_RT_OFFSET 29997
|
||||
#define QM_REG_PQTX2PF_36_RT_OFFSET 29998
|
||||
#define QM_REG_PQTX2PF_37_RT_OFFSET 29999
|
||||
#define QM_REG_PQTX2PF_38_RT_OFFSET 30000
|
||||
#define QM_REG_PQTX2PF_39_RT_OFFSET 30001
|
||||
#define QM_REG_PQTX2PF_40_RT_OFFSET 30002
|
||||
#define QM_REG_PQTX2PF_41_RT_OFFSET 30003
|
||||
#define QM_REG_PQTX2PF_42_RT_OFFSET 30004
|
||||
#define QM_REG_PQTX2PF_43_RT_OFFSET 30005
|
||||
#define QM_REG_PQTX2PF_44_RT_OFFSET 30006
|
||||
#define QM_REG_PQTX2PF_45_RT_OFFSET 30007
|
||||
#define QM_REG_PQTX2PF_46_RT_OFFSET 30008
|
||||
#define QM_REG_PQTX2PF_47_RT_OFFSET 30009
|
||||
#define QM_REG_PQTX2PF_48_RT_OFFSET 30010
|
||||
#define QM_REG_PQTX2PF_49_RT_OFFSET 30011
|
||||
#define QM_REG_PQTX2PF_50_RT_OFFSET 30012
|
||||
#define QM_REG_PQTX2PF_51_RT_OFFSET 30013
|
||||
#define QM_REG_PQTX2PF_52_RT_OFFSET 30014
|
||||
#define QM_REG_PQTX2PF_53_RT_OFFSET 30015
|
||||
#define QM_REG_PQTX2PF_54_RT_OFFSET 30016
|
||||
#define QM_REG_PQTX2PF_55_RT_OFFSET 30017
|
||||
#define QM_REG_PQTX2PF_56_RT_OFFSET 30018
|
||||
#define QM_REG_PQTX2PF_57_RT_OFFSET 30019
|
||||
#define QM_REG_PQTX2PF_58_RT_OFFSET 30020
|
||||
#define QM_REG_PQTX2PF_59_RT_OFFSET 30021
|
||||
#define QM_REG_PQTX2PF_60_RT_OFFSET 30022
|
||||
#define QM_REG_PQTX2PF_61_RT_OFFSET 30023
|
||||
#define QM_REG_PQTX2PF_62_RT_OFFSET 30024
|
||||
#define QM_REG_PQTX2PF_63_RT_OFFSET 30025
|
||||
#define QM_REG_PQOTHER2PF_0_RT_OFFSET 30026
|
||||
#define QM_REG_PQOTHER2PF_1_RT_OFFSET 30027
|
||||
#define QM_REG_PQOTHER2PF_2_RT_OFFSET 30028
|
||||
#define QM_REG_PQOTHER2PF_3_RT_OFFSET 30029
|
||||
#define QM_REG_PQOTHER2PF_4_RT_OFFSET 30030
|
||||
#define QM_REG_PQOTHER2PF_5_RT_OFFSET 30031
|
||||
#define QM_REG_PQOTHER2PF_6_RT_OFFSET 30032
|
||||
#define QM_REG_PQOTHER2PF_7_RT_OFFSET 30033
|
||||
#define QM_REG_PQOTHER2PF_8_RT_OFFSET 30034
|
||||
#define QM_REG_PQOTHER2PF_9_RT_OFFSET 30035
|
||||
#define QM_REG_PQOTHER2PF_10_RT_OFFSET 30036
|
||||
#define QM_REG_PQOTHER2PF_11_RT_OFFSET 30037
|
||||
#define QM_REG_PQOTHER2PF_12_RT_OFFSET 30038
|
||||
#define QM_REG_PQOTHER2PF_13_RT_OFFSET 30039
|
||||
#define QM_REG_PQOTHER2PF_14_RT_OFFSET 30040
|
||||
#define QM_REG_PQOTHER2PF_15_RT_OFFSET 30041
|
||||
#define QM_REG_RLGLBLPERIOD_0_RT_OFFSET 30042
|
||||
#define QM_REG_RLGLBLPERIOD_1_RT_OFFSET 30043
|
||||
#define QM_REG_RLGLBLPERIODTIMER_0_RT_OFFSET 30044
|
||||
#define QM_REG_RLGLBLPERIODTIMER_1_RT_OFFSET 30045
|
||||
#define QM_REG_RLGLBLPERIODSEL_0_RT_OFFSET 30046
|
||||
#define QM_REG_RLGLBLPERIODSEL_1_RT_OFFSET 30047
|
||||
#define QM_REG_RLGLBLPERIODSEL_2_RT_OFFSET 30048
|
||||
#define QM_REG_RLGLBLPERIODSEL_3_RT_OFFSET 30049
|
||||
#define QM_REG_RLGLBLPERIODSEL_4_RT_OFFSET 30050
|
||||
#define QM_REG_RLGLBLPERIODSEL_5_RT_OFFSET 30051
|
||||
#define QM_REG_RLGLBLPERIODSEL_6_RT_OFFSET 30052
|
||||
#define QM_REG_RLGLBLPERIODSEL_7_RT_OFFSET 30053
|
||||
#define QM_REG_RLGLBLINCVAL_RT_OFFSET 30054
|
||||
#define QM_REG_MAXPQSIZE_0_RT_OFFSET 29738
|
||||
#define QM_REG_MAXPQSIZE_1_RT_OFFSET 29739
|
||||
#define QM_REG_MAXPQSIZE_2_RT_OFFSET 29740
|
||||
#define QM_REG_MAXPQSIZETXSEL_0_RT_OFFSET 29741
|
||||
#define QM_REG_MAXPQSIZETXSEL_1_RT_OFFSET 29742
|
||||
#define QM_REG_MAXPQSIZETXSEL_2_RT_OFFSET 29743
|
||||
#define QM_REG_MAXPQSIZETXSEL_3_RT_OFFSET 29744
|
||||
#define QM_REG_MAXPQSIZETXSEL_4_RT_OFFSET 29745
|
||||
#define QM_REG_MAXPQSIZETXSEL_5_RT_OFFSET 29746
|
||||
#define QM_REG_MAXPQSIZETXSEL_6_RT_OFFSET 29747
|
||||
#define QM_REG_MAXPQSIZETXSEL_7_RT_OFFSET 29748
|
||||
#define QM_REG_MAXPQSIZETXSEL_8_RT_OFFSET 29749
|
||||
#define QM_REG_MAXPQSIZETXSEL_9_RT_OFFSET 29750
|
||||
#define QM_REG_MAXPQSIZETXSEL_10_RT_OFFSET 29751
|
||||
#define QM_REG_MAXPQSIZETXSEL_11_RT_OFFSET 29752
|
||||
#define QM_REG_MAXPQSIZETXSEL_12_RT_OFFSET 29753
|
||||
#define QM_REG_MAXPQSIZETXSEL_13_RT_OFFSET 29754
|
||||
#define QM_REG_MAXPQSIZETXSEL_14_RT_OFFSET 29755
|
||||
#define QM_REG_MAXPQSIZETXSEL_15_RT_OFFSET 29756
|
||||
#define QM_REG_MAXPQSIZETXSEL_16_RT_OFFSET 29757
|
||||
#define QM_REG_MAXPQSIZETXSEL_17_RT_OFFSET 29758
|
||||
#define QM_REG_MAXPQSIZETXSEL_18_RT_OFFSET 29759
|
||||
#define QM_REG_MAXPQSIZETXSEL_19_RT_OFFSET 29760
|
||||
#define QM_REG_MAXPQSIZETXSEL_20_RT_OFFSET 29761
|
||||
#define QM_REG_MAXPQSIZETXSEL_21_RT_OFFSET 29762
|
||||
#define QM_REG_MAXPQSIZETXSEL_22_RT_OFFSET 29763
|
||||
#define QM_REG_MAXPQSIZETXSEL_23_RT_OFFSET 29764
|
||||
#define QM_REG_MAXPQSIZETXSEL_24_RT_OFFSET 29765
|
||||
#define QM_REG_MAXPQSIZETXSEL_25_RT_OFFSET 29766
|
||||
#define QM_REG_MAXPQSIZETXSEL_26_RT_OFFSET 29767
|
||||
#define QM_REG_MAXPQSIZETXSEL_27_RT_OFFSET 29768
|
||||
#define QM_REG_MAXPQSIZETXSEL_28_RT_OFFSET 29769
|
||||
#define QM_REG_MAXPQSIZETXSEL_29_RT_OFFSET 29770
|
||||
#define QM_REG_MAXPQSIZETXSEL_30_RT_OFFSET 29771
|
||||
#define QM_REG_MAXPQSIZETXSEL_31_RT_OFFSET 29772
|
||||
#define QM_REG_MAXPQSIZETXSEL_32_RT_OFFSET 29773
|
||||
#define QM_REG_MAXPQSIZETXSEL_33_RT_OFFSET 29774
|
||||
#define QM_REG_MAXPQSIZETXSEL_34_RT_OFFSET 29775
|
||||
#define QM_REG_MAXPQSIZETXSEL_35_RT_OFFSET 29776
|
||||
#define QM_REG_MAXPQSIZETXSEL_36_RT_OFFSET 29777
|
||||
#define QM_REG_MAXPQSIZETXSEL_37_RT_OFFSET 29778
|
||||
#define QM_REG_MAXPQSIZETXSEL_38_RT_OFFSET 29779
|
||||
#define QM_REG_MAXPQSIZETXSEL_39_RT_OFFSET 29780
|
||||
#define QM_REG_MAXPQSIZETXSEL_40_RT_OFFSET 29781
|
||||
#define QM_REG_MAXPQSIZETXSEL_41_RT_OFFSET 29782
|
||||
#define QM_REG_MAXPQSIZETXSEL_42_RT_OFFSET 29783
|
||||
#define QM_REG_MAXPQSIZETXSEL_43_RT_OFFSET 29784
|
||||
#define QM_REG_MAXPQSIZETXSEL_44_RT_OFFSET 29785
|
||||
#define QM_REG_MAXPQSIZETXSEL_45_RT_OFFSET 29786
|
||||
#define QM_REG_MAXPQSIZETXSEL_46_RT_OFFSET 29787
|
||||
#define QM_REG_MAXPQSIZETXSEL_47_RT_OFFSET 29788
|
||||
#define QM_REG_MAXPQSIZETXSEL_48_RT_OFFSET 29789
|
||||
#define QM_REG_MAXPQSIZETXSEL_49_RT_OFFSET 29790
|
||||
#define QM_REG_MAXPQSIZETXSEL_50_RT_OFFSET 29791
|
||||
#define QM_REG_MAXPQSIZETXSEL_51_RT_OFFSET 29792
|
||||
#define QM_REG_MAXPQSIZETXSEL_52_RT_OFFSET 29793
|
||||
#define QM_REG_MAXPQSIZETXSEL_53_RT_OFFSET 29794
|
||||
#define QM_REG_MAXPQSIZETXSEL_54_RT_OFFSET 29795
|
||||
#define QM_REG_MAXPQSIZETXSEL_55_RT_OFFSET 29796
|
||||
#define QM_REG_MAXPQSIZETXSEL_56_RT_OFFSET 29797
|
||||
#define QM_REG_MAXPQSIZETXSEL_57_RT_OFFSET 29798
|
||||
#define QM_REG_MAXPQSIZETXSEL_58_RT_OFFSET 29799
|
||||
#define QM_REG_MAXPQSIZETXSEL_59_RT_OFFSET 29800
|
||||
#define QM_REG_MAXPQSIZETXSEL_60_RT_OFFSET 29801
|
||||
#define QM_REG_MAXPQSIZETXSEL_61_RT_OFFSET 29802
|
||||
#define QM_REG_MAXPQSIZETXSEL_62_RT_OFFSET 29803
|
||||
#define QM_REG_MAXPQSIZETXSEL_63_RT_OFFSET 29804
|
||||
#define QM_REG_BASEADDROTHERPQ_RT_OFFSET 29805
|
||||
#define QM_REG_BASEADDROTHERPQ_RT_SIZE 128
|
||||
#define QM_REG_AFULLQMBYPTHRPFWFQ_RT_OFFSET 29933
|
||||
#define QM_REG_AFULLQMBYPTHRVPWFQ_RT_OFFSET 29934
|
||||
#define QM_REG_AFULLQMBYPTHRPFRL_RT_OFFSET 29935
|
||||
#define QM_REG_AFULLQMBYPTHRGLBLRL_RT_OFFSET 29936
|
||||
#define QM_REG_AFULLOPRTNSTCCRDMASK_RT_OFFSET 29937
|
||||
#define QM_REG_WRROTHERPQGRP_0_RT_OFFSET 29938
|
||||
#define QM_REG_WRROTHERPQGRP_1_RT_OFFSET 29939
|
||||
#define QM_REG_WRROTHERPQGRP_2_RT_OFFSET 29940
|
||||
#define QM_REG_WRROTHERPQGRP_3_RT_OFFSET 29941
|
||||
#define QM_REG_WRROTHERPQGRP_4_RT_OFFSET 29942
|
||||
#define QM_REG_WRROTHERPQGRP_5_RT_OFFSET 29943
|
||||
#define QM_REG_WRROTHERPQGRP_6_RT_OFFSET 29944
|
||||
#define QM_REG_WRROTHERPQGRP_7_RT_OFFSET 29945
|
||||
#define QM_REG_WRROTHERPQGRP_8_RT_OFFSET 29946
|
||||
#define QM_REG_WRROTHERPQGRP_9_RT_OFFSET 29947
|
||||
#define QM_REG_WRROTHERPQGRP_10_RT_OFFSET 29948
|
||||
#define QM_REG_WRROTHERPQGRP_11_RT_OFFSET 29949
|
||||
#define QM_REG_WRROTHERPQGRP_12_RT_OFFSET 29950
|
||||
#define QM_REG_WRROTHERPQGRP_13_RT_OFFSET 29951
|
||||
#define QM_REG_WRROTHERPQGRP_14_RT_OFFSET 29952
|
||||
#define QM_REG_WRROTHERPQGRP_15_RT_OFFSET 29953
|
||||
#define QM_REG_WRROTHERGRPWEIGHT_0_RT_OFFSET 29954
|
||||
#define QM_REG_WRROTHERGRPWEIGHT_1_RT_OFFSET 29955
|
||||
#define QM_REG_WRROTHERGRPWEIGHT_2_RT_OFFSET 29956
|
||||
#define QM_REG_WRROTHERGRPWEIGHT_3_RT_OFFSET 29957
|
||||
#define QM_REG_WRRTXGRPWEIGHT_0_RT_OFFSET 29958
|
||||
#define QM_REG_WRRTXGRPWEIGHT_1_RT_OFFSET 29959
|
||||
#define QM_REG_PQTX2PF_0_RT_OFFSET 29960
|
||||
#define QM_REG_PQTX2PF_1_RT_OFFSET 29961
|
||||
#define QM_REG_PQTX2PF_2_RT_OFFSET 29962
|
||||
#define QM_REG_PQTX2PF_3_RT_OFFSET 29963
|
||||
#define QM_REG_PQTX2PF_4_RT_OFFSET 29964
|
||||
#define QM_REG_PQTX2PF_5_RT_OFFSET 29965
|
||||
#define QM_REG_PQTX2PF_6_RT_OFFSET 29966
|
||||
#define QM_REG_PQTX2PF_7_RT_OFFSET 29967
|
||||
#define QM_REG_PQTX2PF_8_RT_OFFSET 29968
|
||||
#define QM_REG_PQTX2PF_9_RT_OFFSET 29969
|
||||
#define QM_REG_PQTX2PF_10_RT_OFFSET 29970
|
||||
#define QM_REG_PQTX2PF_11_RT_OFFSET 29971
|
||||
#define QM_REG_PQTX2PF_12_RT_OFFSET 29972
|
||||
#define QM_REG_PQTX2PF_13_RT_OFFSET 29973
|
||||
#define QM_REG_PQTX2PF_14_RT_OFFSET 29974
|
||||
#define QM_REG_PQTX2PF_15_RT_OFFSET 29975
|
||||
#define QM_REG_PQTX2PF_16_RT_OFFSET 29976
|
||||
#define QM_REG_PQTX2PF_17_RT_OFFSET 29977
|
||||
#define QM_REG_PQTX2PF_18_RT_OFFSET 29978
|
||||
#define QM_REG_PQTX2PF_19_RT_OFFSET 29979
|
||||
#define QM_REG_PQTX2PF_20_RT_OFFSET 29980
|
||||
#define QM_REG_PQTX2PF_21_RT_OFFSET 29981
|
||||
#define QM_REG_PQTX2PF_22_RT_OFFSET 29982
|
||||
#define QM_REG_PQTX2PF_23_RT_OFFSET 29983
|
||||
#define QM_REG_PQTX2PF_24_RT_OFFSET 29984
|
||||
#define QM_REG_PQTX2PF_25_RT_OFFSET 29985
|
||||
#define QM_REG_PQTX2PF_26_RT_OFFSET 29986
|
||||
#define QM_REG_PQTX2PF_27_RT_OFFSET 29987
|
||||
#define QM_REG_PQTX2PF_28_RT_OFFSET 29988
|
||||
#define QM_REG_PQTX2PF_29_RT_OFFSET 29989
|
||||
#define QM_REG_PQTX2PF_30_RT_OFFSET 29990
|
||||
#define QM_REG_PQTX2PF_31_RT_OFFSET 29991
|
||||
#define QM_REG_PQTX2PF_32_RT_OFFSET 29992
|
||||
#define QM_REG_PQTX2PF_33_RT_OFFSET 29993
|
||||
#define QM_REG_PQTX2PF_34_RT_OFFSET 29994
|
||||
#define QM_REG_PQTX2PF_35_RT_OFFSET 29995
|
||||
#define QM_REG_PQTX2PF_36_RT_OFFSET 29996
|
||||
#define QM_REG_PQTX2PF_37_RT_OFFSET 29997
|
||||
#define QM_REG_PQTX2PF_38_RT_OFFSET 29998
|
||||
#define QM_REG_PQTX2PF_39_RT_OFFSET 29999
|
||||
#define QM_REG_PQTX2PF_40_RT_OFFSET 30000
|
||||
#define QM_REG_PQTX2PF_41_RT_OFFSET 30001
|
||||
#define QM_REG_PQTX2PF_42_RT_OFFSET 30002
|
||||
#define QM_REG_PQTX2PF_43_RT_OFFSET 30003
|
||||
#define QM_REG_PQTX2PF_44_RT_OFFSET 30004
|
||||
#define QM_REG_PQTX2PF_45_RT_OFFSET 30005
|
||||
#define QM_REG_PQTX2PF_46_RT_OFFSET 30006
|
||||
#define QM_REG_PQTX2PF_47_RT_OFFSET 30007
|
||||
#define QM_REG_PQTX2PF_48_RT_OFFSET 30008
|
||||
#define QM_REG_PQTX2PF_49_RT_OFFSET 30009
|
||||
#define QM_REG_PQTX2PF_50_RT_OFFSET 30010
|
||||
#define QM_REG_PQTX2PF_51_RT_OFFSET 30011
|
||||
#define QM_REG_PQTX2PF_52_RT_OFFSET 30012
|
||||
#define QM_REG_PQTX2PF_53_RT_OFFSET 30013
|
||||
#define QM_REG_PQTX2PF_54_RT_OFFSET 30014
|
||||
#define QM_REG_PQTX2PF_55_RT_OFFSET 30015
|
||||
#define QM_REG_PQTX2PF_56_RT_OFFSET 30016
|
||||
#define QM_REG_PQTX2PF_57_RT_OFFSET 30017
|
||||
#define QM_REG_PQTX2PF_58_RT_OFFSET 30018
|
||||
#define QM_REG_PQTX2PF_59_RT_OFFSET 30019
|
||||
#define QM_REG_PQTX2PF_60_RT_OFFSET 30020
|
||||
#define QM_REG_PQTX2PF_61_RT_OFFSET 30021
|
||||
#define QM_REG_PQTX2PF_62_RT_OFFSET 30022
|
||||
#define QM_REG_PQTX2PF_63_RT_OFFSET 30023
|
||||
#define QM_REG_PQOTHER2PF_0_RT_OFFSET 30024
|
||||
#define QM_REG_PQOTHER2PF_1_RT_OFFSET 30025
|
||||
#define QM_REG_PQOTHER2PF_2_RT_OFFSET 30026
|
||||
#define QM_REG_PQOTHER2PF_3_RT_OFFSET 30027
|
||||
#define QM_REG_PQOTHER2PF_4_RT_OFFSET 30028
|
||||
#define QM_REG_PQOTHER2PF_5_RT_OFFSET 30029
|
||||
#define QM_REG_PQOTHER2PF_6_RT_OFFSET 30030
|
||||
#define QM_REG_PQOTHER2PF_7_RT_OFFSET 30031
|
||||
#define QM_REG_PQOTHER2PF_8_RT_OFFSET 30032
|
||||
#define QM_REG_PQOTHER2PF_9_RT_OFFSET 30033
|
||||
#define QM_REG_PQOTHER2PF_10_RT_OFFSET 30034
|
||||
#define QM_REG_PQOTHER2PF_11_RT_OFFSET 30035
|
||||
#define QM_REG_PQOTHER2PF_12_RT_OFFSET 30036
|
||||
#define QM_REG_PQOTHER2PF_13_RT_OFFSET 30037
|
||||
#define QM_REG_PQOTHER2PF_14_RT_OFFSET 30038
|
||||
#define QM_REG_PQOTHER2PF_15_RT_OFFSET 30039
|
||||
#define QM_REG_RLGLBLPERIOD_0_RT_OFFSET 30040
|
||||
#define QM_REG_RLGLBLPERIOD_1_RT_OFFSET 30041
|
||||
#define QM_REG_RLGLBLPERIODTIMER_0_RT_OFFSET 30042
|
||||
#define QM_REG_RLGLBLPERIODTIMER_1_RT_OFFSET 30043
|
||||
#define QM_REG_RLGLBLPERIODSEL_0_RT_OFFSET 30044
|
||||
#define QM_REG_RLGLBLPERIODSEL_1_RT_OFFSET 30045
|
||||
#define QM_REG_RLGLBLPERIODSEL_2_RT_OFFSET 30046
|
||||
#define QM_REG_RLGLBLPERIODSEL_3_RT_OFFSET 30047
|
||||
#define QM_REG_RLGLBLPERIODSEL_4_RT_OFFSET 30048
|
||||
#define QM_REG_RLGLBLPERIODSEL_5_RT_OFFSET 30049
|
||||
#define QM_REG_RLGLBLPERIODSEL_6_RT_OFFSET 30050
|
||||
#define QM_REG_RLGLBLPERIODSEL_7_RT_OFFSET 30051
|
||||
#define QM_REG_RLGLBLINCVAL_RT_OFFSET 30052
|
||||
#define QM_REG_RLGLBLINCVAL_RT_SIZE 256
|
||||
#define QM_REG_RLGLBLUPPERBOUND_RT_OFFSET 30310
|
||||
#define QM_REG_RLGLBLUPPERBOUND_RT_OFFSET 30308
|
||||
#define QM_REG_RLGLBLUPPERBOUND_RT_SIZE 256
|
||||
#define QM_REG_RLGLBLCRD_RT_OFFSET 30566
|
||||
#define QM_REG_RLGLBLCRD_RT_OFFSET 30564
|
||||
#define QM_REG_RLGLBLCRD_RT_SIZE 256
|
||||
#define QM_REG_RLGLBLENABLE_RT_OFFSET 30822
|
||||
#define QM_REG_RLPFPERIOD_RT_OFFSET 30823
|
||||
#define QM_REG_RLPFPERIODTIMER_RT_OFFSET 30824
|
||||
#define QM_REG_RLPFINCVAL_RT_OFFSET 30825
|
||||
#define QM_REG_RLGLBLENABLE_RT_OFFSET 30820
|
||||
#define QM_REG_RLPFPERIOD_RT_OFFSET 30821
|
||||
#define QM_REG_RLPFPERIODTIMER_RT_OFFSET 30822
|
||||
#define QM_REG_RLPFINCVAL_RT_OFFSET 30823
|
||||
#define QM_REG_RLPFINCVAL_RT_SIZE 16
|
||||
#define QM_REG_RLPFUPPERBOUND_RT_OFFSET 30841
|
||||
#define QM_REG_RLPFUPPERBOUND_RT_OFFSET 30839
|
||||
#define QM_REG_RLPFUPPERBOUND_RT_SIZE 16
|
||||
#define QM_REG_RLPFCRD_RT_OFFSET 30857
|
||||
#define QM_REG_RLPFCRD_RT_OFFSET 30855
|
||||
#define QM_REG_RLPFCRD_RT_SIZE 16
|
||||
#define QM_REG_RLPFENABLE_RT_OFFSET 30873
|
||||
#define QM_REG_RLPFVOQENABLE_RT_OFFSET 30874
|
||||
#define QM_REG_WFQPFWEIGHT_RT_OFFSET 30875
|
||||
#define QM_REG_RLPFENABLE_RT_OFFSET 30871
|
||||
#define QM_REG_RLPFVOQENABLE_RT_OFFSET 30872
|
||||
#define QM_REG_WFQPFWEIGHT_RT_OFFSET 30873
|
||||
#define QM_REG_WFQPFWEIGHT_RT_SIZE 16
|
||||
#define QM_REG_WFQPFUPPERBOUND_RT_OFFSET 30891
|
||||
#define QM_REG_WFQPFUPPERBOUND_RT_OFFSET 30889
|
||||
#define QM_REG_WFQPFUPPERBOUND_RT_SIZE 16
|
||||
#define QM_REG_WFQPFCRD_RT_OFFSET 30907
|
||||
#define QM_REG_WFQPFCRD_RT_OFFSET 30905
|
||||
#define QM_REG_WFQPFCRD_RT_SIZE 256
|
||||
#define QM_REG_WFQPFENABLE_RT_OFFSET 31163
|
||||
#define QM_REG_WFQVPENABLE_RT_OFFSET 31164
|
||||
#define QM_REG_BASEADDRTXPQ_RT_OFFSET 31165
|
||||
#define QM_REG_WFQPFENABLE_RT_OFFSET 31161
|
||||
#define QM_REG_WFQVPENABLE_RT_OFFSET 31162
|
||||
#define QM_REG_BASEADDRTXPQ_RT_OFFSET 31163
|
||||
#define QM_REG_BASEADDRTXPQ_RT_SIZE 512
|
||||
#define QM_REG_TXPQMAP_RT_OFFSET 31677
|
||||
#define QM_REG_TXPQMAP_RT_OFFSET 31675
|
||||
#define QM_REG_TXPQMAP_RT_SIZE 512
|
||||
#define QM_REG_WFQVPWEIGHT_RT_OFFSET 32189
|
||||
#define QM_REG_WFQVPWEIGHT_RT_OFFSET 32187
|
||||
#define QM_REG_WFQVPWEIGHT_RT_SIZE 512
|
||||
#define QM_REG_WFQVPCRD_RT_OFFSET 32701
|
||||
#define QM_REG_WFQVPCRD_RT_OFFSET 32699
|
||||
#define QM_REG_WFQVPCRD_RT_SIZE 512
|
||||
#define QM_REG_WFQVPMAP_RT_OFFSET 33213
|
||||
#define QM_REG_WFQVPMAP_RT_OFFSET 33211
|
||||
#define QM_REG_WFQVPMAP_RT_SIZE 512
|
||||
#define QM_REG_WFQPFCRD_MSB_RT_OFFSET 33725
|
||||
#define QM_REG_WFQPFCRD_MSB_RT_OFFSET 33723
|
||||
#define QM_REG_WFQPFCRD_MSB_RT_SIZE 320
|
||||
#define QM_REG_VOQCRDLINE_RT_OFFSET 34045
|
||||
#define QM_REG_VOQCRDLINE_RT_OFFSET 34043
|
||||
#define QM_REG_VOQCRDLINE_RT_SIZE 36
|
||||
#define QM_REG_VOQINITCRDLINE_RT_OFFSET 34081
|
||||
#define QM_REG_VOQINITCRDLINE_RT_OFFSET 34079
|
||||
#define QM_REG_VOQINITCRDLINE_RT_SIZE 36
|
||||
#define NIG_REG_TAG_ETHERTYPE_0_RT_OFFSET 34117
|
||||
#define NIG_REG_OUTER_TAG_VALUE_LIST0_RT_OFFSET 34118
|
||||
#define NIG_REG_OUTER_TAG_VALUE_LIST1_RT_OFFSET 34119
|
||||
#define NIG_REG_OUTER_TAG_VALUE_LIST2_RT_OFFSET 34120
|
||||
#define NIG_REG_OUTER_TAG_VALUE_LIST3_RT_OFFSET 34121
|
||||
#define NIG_REG_OUTER_TAG_VALUE_MASK_RT_OFFSET 34122
|
||||
#define NIG_REG_LLH_FUNC_TAGMAC_CLS_TYPE_RT_OFFSET 34123
|
||||
#define NIG_REG_LLH_FUNC_TAG_EN_RT_OFFSET 34124
|
||||
#define NIG_REG_TAG_ETHERTYPE_0_RT_OFFSET 34115
|
||||
#define NIG_REG_OUTER_TAG_VALUE_LIST0_RT_OFFSET 34116
|
||||
#define NIG_REG_OUTER_TAG_VALUE_LIST1_RT_OFFSET 34117
|
||||
#define NIG_REG_OUTER_TAG_VALUE_LIST2_RT_OFFSET 34118
|
||||
#define NIG_REG_OUTER_TAG_VALUE_LIST3_RT_OFFSET 34119
|
||||
#define NIG_REG_OUTER_TAG_VALUE_MASK_RT_OFFSET 34120
|
||||
#define NIG_REG_LLH_FUNC_TAGMAC_CLS_TYPE_RT_OFFSET 34121
|
||||
#define NIG_REG_LLH_FUNC_TAG_EN_RT_OFFSET 34122
|
||||
#define NIG_REG_LLH_FUNC_TAG_EN_RT_SIZE 4
|
||||
#define NIG_REG_LLH_FUNC_TAG_HDR_SEL_RT_OFFSET 34128
|
||||
#define NIG_REG_LLH_FUNC_TAG_HDR_SEL_RT_OFFSET 34126
|
||||
#define NIG_REG_LLH_FUNC_TAG_HDR_SEL_RT_SIZE 4
|
||||
#define NIG_REG_LLH_FUNC_TAG_VALUE_RT_OFFSET 34132
|
||||
#define NIG_REG_LLH_FUNC_TAG_VALUE_RT_OFFSET 34130
|
||||
#define NIG_REG_LLH_FUNC_TAG_VALUE_RT_SIZE 4
|
||||
#define NIG_REG_LLH_FUNC_NO_TAG_RT_OFFSET 34136
|
||||
#define NIG_REG_LLH_FUNC_FILTER_VALUE_RT_OFFSET 34137
|
||||
#define NIG_REG_LLH_FUNC_NO_TAG_RT_OFFSET 34134
|
||||
#define NIG_REG_LLH_FUNC_FILTER_VALUE_RT_OFFSET 34135
|
||||
#define NIG_REG_LLH_FUNC_FILTER_VALUE_RT_SIZE 32
|
||||
#define NIG_REG_LLH_FUNC_FILTER_EN_RT_OFFSET 34169
|
||||
#define NIG_REG_LLH_FUNC_FILTER_EN_RT_OFFSET 34167
|
||||
#define NIG_REG_LLH_FUNC_FILTER_EN_RT_SIZE 16
|
||||
#define NIG_REG_LLH_FUNC_FILTER_MODE_RT_OFFSET 34185
|
||||
#define NIG_REG_LLH_FUNC_FILTER_MODE_RT_OFFSET 34183
|
||||
#define NIG_REG_LLH_FUNC_FILTER_MODE_RT_SIZE 16
|
||||
#define NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_RT_OFFSET 34201
|
||||
#define NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_RT_OFFSET 34199
|
||||
#define NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_RT_SIZE 16
|
||||
#define NIG_REG_LLH_FUNC_FILTER_HDR_SEL_RT_OFFSET 34217
|
||||
#define NIG_REG_LLH_FUNC_FILTER_HDR_SEL_RT_OFFSET 34215
|
||||
#define NIG_REG_LLH_FUNC_FILTER_HDR_SEL_RT_SIZE 16
|
||||
#define NIG_REG_TX_EDPM_CTRL_RT_OFFSET 34233
|
||||
#define NIG_REG_ROCE_DUPLICATE_TO_HOST_RT_OFFSET 34234
|
||||
#define CDU_REG_CID_ADDR_PARAMS_RT_OFFSET 34235
|
||||
#define CDU_REG_SEGMENT0_PARAMS_RT_OFFSET 34236
|
||||
#define CDU_REG_SEGMENT1_PARAMS_RT_OFFSET 34237
|
||||
#define CDU_REG_PF_SEG0_TYPE_OFFSET_RT_OFFSET 34238
|
||||
#define CDU_REG_PF_SEG1_TYPE_OFFSET_RT_OFFSET 34239
|
||||
#define CDU_REG_PF_SEG2_TYPE_OFFSET_RT_OFFSET 34240
|
||||
#define CDU_REG_PF_SEG3_TYPE_OFFSET_RT_OFFSET 34241
|
||||
#define CDU_REG_PF_FL_SEG0_TYPE_OFFSET_RT_OFFSET 34242
|
||||
#define CDU_REG_PF_FL_SEG1_TYPE_OFFSET_RT_OFFSET 34243
|
||||
#define CDU_REG_PF_FL_SEG2_TYPE_OFFSET_RT_OFFSET 34244
|
||||
#define CDU_REG_PF_FL_SEG3_TYPE_OFFSET_RT_OFFSET 34245
|
||||
#define CDU_REG_VF_SEG_TYPE_OFFSET_RT_OFFSET 34246
|
||||
#define CDU_REG_VF_FL_SEG_TYPE_OFFSET_RT_OFFSET 34247
|
||||
#define PBF_REG_TAG_ETHERTYPE_0_RT_OFFSET 34248
|
||||
#define PBF_REG_BTB_SHARED_AREA_SIZE_RT_OFFSET 34249
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ0_RT_OFFSET 34250
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ0_RT_OFFSET 34251
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ0_RT_OFFSET 34252
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ1_RT_OFFSET 34253
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ1_RT_OFFSET 34254
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ1_RT_OFFSET 34255
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ2_RT_OFFSET 34256
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ2_RT_OFFSET 34257
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ2_RT_OFFSET 34258
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ3_RT_OFFSET 34259
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ3_RT_OFFSET 34260
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ3_RT_OFFSET 34261
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ4_RT_OFFSET 34262
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ4_RT_OFFSET 34263
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ4_RT_OFFSET 34264
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ5_RT_OFFSET 34265
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ5_RT_OFFSET 34266
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ5_RT_OFFSET 34267
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ6_RT_OFFSET 34268
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ6_RT_OFFSET 34269
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ6_RT_OFFSET 34270
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ7_RT_OFFSET 34271
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ7_RT_OFFSET 34272
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ7_RT_OFFSET 34273
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ8_RT_OFFSET 34274
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ8_RT_OFFSET 34275
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ8_RT_OFFSET 34276
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ9_RT_OFFSET 34277
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ9_RT_OFFSET 34278
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ9_RT_OFFSET 34279
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ10_RT_OFFSET 34280
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ10_RT_OFFSET 34281
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ10_RT_OFFSET 34282
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ11_RT_OFFSET 34283
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ11_RT_OFFSET 34284
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ11_RT_OFFSET 34285
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ12_RT_OFFSET 34286
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ12_RT_OFFSET 34287
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ12_RT_OFFSET 34288
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ13_RT_OFFSET 34289
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ13_RT_OFFSET 34290
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ13_RT_OFFSET 34291
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ14_RT_OFFSET 34292
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ14_RT_OFFSET 34293
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ14_RT_OFFSET 34294
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ15_RT_OFFSET 34295
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ15_RT_OFFSET 34296
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ15_RT_OFFSET 34297
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ16_RT_OFFSET 34298
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ16_RT_OFFSET 34299
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ16_RT_OFFSET 34300
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ17_RT_OFFSET 34301
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ17_RT_OFFSET 34302
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ17_RT_OFFSET 34303
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ18_RT_OFFSET 34304
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ18_RT_OFFSET 34305
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ18_RT_OFFSET 34306
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ19_RT_OFFSET 34307
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ19_RT_OFFSET 34308
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ19_RT_OFFSET 34309
|
||||
#define XCM_REG_CON_PHY_Q3_RT_OFFSET 34310
|
||||
#define NIG_REG_TX_EDPM_CTRL_RT_OFFSET 34231
|
||||
#define NIG_REG_ROCE_DUPLICATE_TO_HOST_RT_OFFSET 34232
|
||||
#define CDU_REG_CID_ADDR_PARAMS_RT_OFFSET 34233
|
||||
#define CDU_REG_SEGMENT0_PARAMS_RT_OFFSET 34234
|
||||
#define CDU_REG_SEGMENT1_PARAMS_RT_OFFSET 34235
|
||||
#define CDU_REG_PF_SEG0_TYPE_OFFSET_RT_OFFSET 34236
|
||||
#define CDU_REG_PF_SEG1_TYPE_OFFSET_RT_OFFSET 34237
|
||||
#define CDU_REG_PF_SEG2_TYPE_OFFSET_RT_OFFSET 34238
|
||||
#define CDU_REG_PF_SEG3_TYPE_OFFSET_RT_OFFSET 34239
|
||||
#define CDU_REG_PF_FL_SEG0_TYPE_OFFSET_RT_OFFSET 34240
|
||||
#define CDU_REG_PF_FL_SEG1_TYPE_OFFSET_RT_OFFSET 34241
|
||||
#define CDU_REG_PF_FL_SEG2_TYPE_OFFSET_RT_OFFSET 34242
|
||||
#define CDU_REG_PF_FL_SEG3_TYPE_OFFSET_RT_OFFSET 34243
|
||||
#define CDU_REG_VF_SEG_TYPE_OFFSET_RT_OFFSET 34244
|
||||
#define CDU_REG_VF_FL_SEG_TYPE_OFFSET_RT_OFFSET 34245
|
||||
#define PBF_REG_TAG_ETHERTYPE_0_RT_OFFSET 34246
|
||||
#define PBF_REG_BTB_SHARED_AREA_SIZE_RT_OFFSET 34247
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ0_RT_OFFSET 34248
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ0_RT_OFFSET 34249
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ0_RT_OFFSET 34250
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ1_RT_OFFSET 34251
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ1_RT_OFFSET 34252
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ1_RT_OFFSET 34253
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ2_RT_OFFSET 34254
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ2_RT_OFFSET 34255
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ2_RT_OFFSET 34256
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ3_RT_OFFSET 34257
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ3_RT_OFFSET 34258
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ3_RT_OFFSET 34259
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ4_RT_OFFSET 34260
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ4_RT_OFFSET 34261
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ4_RT_OFFSET 34262
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ5_RT_OFFSET 34263
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ5_RT_OFFSET 34264
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ5_RT_OFFSET 34265
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ6_RT_OFFSET 34266
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ6_RT_OFFSET 34267
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ6_RT_OFFSET 34268
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ7_RT_OFFSET 34269
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ7_RT_OFFSET 34270
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ7_RT_OFFSET 34271
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ8_RT_OFFSET 34272
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ8_RT_OFFSET 34273
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ8_RT_OFFSET 34274
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ9_RT_OFFSET 34275
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ9_RT_OFFSET 34276
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ9_RT_OFFSET 34277
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ10_RT_OFFSET 34278
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ10_RT_OFFSET 34279
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ10_RT_OFFSET 34280
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ11_RT_OFFSET 34281
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ11_RT_OFFSET 34282
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ11_RT_OFFSET 34283
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ12_RT_OFFSET 34284
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ12_RT_OFFSET 34285
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ12_RT_OFFSET 34286
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ13_RT_OFFSET 34287
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ13_RT_OFFSET 34288
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ13_RT_OFFSET 34289
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ14_RT_OFFSET 34290
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ14_RT_OFFSET 34291
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ14_RT_OFFSET 34292
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ15_RT_OFFSET 34293
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ15_RT_OFFSET 34294
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ15_RT_OFFSET 34295
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ16_RT_OFFSET 34296
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ16_RT_OFFSET 34297
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ16_RT_OFFSET 34298
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ17_RT_OFFSET 34299
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ17_RT_OFFSET 34300
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ17_RT_OFFSET 34301
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ18_RT_OFFSET 34302
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ18_RT_OFFSET 34303
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ18_RT_OFFSET 34304
|
||||
#define PBF_REG_YCMD_QS_NUM_LINES_VOQ19_RT_OFFSET 34305
|
||||
#define PBF_REG_BTB_GUARANTEED_VOQ19_RT_OFFSET 34306
|
||||
#define PBF_REG_BTB_SHARED_AREA_SETUP_VOQ19_RT_OFFSET 34307
|
||||
#define XCM_REG_CON_PHY_Q3_RT_OFFSET 34308
|
||||
|
||||
#define RUNTIME_ARRAY_SIZE 34311
|
||||
#define RUNTIME_ARRAY_SIZE 34309
|
||||
|
||||
#endif /* __RT_DEFS_H__ */
|
||||
|
@ -165,23 +165,19 @@ static void ecore_set_tunn_ports(struct ecore_tunnel_info *p_tun,
|
||||
}
|
||||
|
||||
static void
|
||||
__ecore_set_ramrod_tunnel_param(u8 *p_tunn_cls, u8 *p_enable_tx_clas,
|
||||
__ecore_set_ramrod_tunnel_param(u8 *p_tunn_cls,
|
||||
struct ecore_tunn_update_type *tun_type)
|
||||
{
|
||||
*p_tunn_cls = tun_type->tun_cls;
|
||||
|
||||
if (tun_type->b_mode_enabled)
|
||||
*p_enable_tx_clas = 1;
|
||||
}
|
||||
|
||||
static void
|
||||
ecore_set_ramrod_tunnel_param(u8 *p_tunn_cls, u8 *p_enable_tx_clas,
|
||||
ecore_set_ramrod_tunnel_param(u8 *p_tunn_cls,
|
||||
struct ecore_tunn_update_type *tun_type,
|
||||
u8 *p_update_port, __le16 *p_port,
|
||||
struct ecore_tunn_update_udp_port *p_udp_port)
|
||||
{
|
||||
__ecore_set_ramrod_tunnel_param(p_tunn_cls, p_enable_tx_clas,
|
||||
tun_type);
|
||||
__ecore_set_ramrod_tunnel_param(p_tunn_cls, tun_type);
|
||||
if (p_udp_port->b_update_port) {
|
||||
*p_update_port = 1;
|
||||
*p_port = OSAL_CPU_TO_LE16(p_udp_port->port);
|
||||
@ -200,33 +196,27 @@ ecore_tunn_set_pf_update_params(struct ecore_hwfn *p_hwfn,
|
||||
ecore_set_tunn_ports(p_tun, p_src);
|
||||
|
||||
ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_vxlan,
|
||||
&p_tunn_cfg->tx_enable_vxlan,
|
||||
&p_tun->vxlan,
|
||||
&p_tunn_cfg->set_vxlan_udp_port_flg,
|
||||
&p_tunn_cfg->vxlan_udp_port,
|
||||
&p_tun->vxlan_port);
|
||||
|
||||
ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_l2geneve,
|
||||
&p_tunn_cfg->tx_enable_l2geneve,
|
||||
&p_tun->l2_geneve,
|
||||
&p_tunn_cfg->set_geneve_udp_port_flg,
|
||||
&p_tunn_cfg->geneve_udp_port,
|
||||
&p_tun->geneve_port);
|
||||
|
||||
__ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_ipgeneve,
|
||||
&p_tunn_cfg->tx_enable_ipgeneve,
|
||||
&p_tun->ip_geneve);
|
||||
|
||||
__ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_l2gre,
|
||||
&p_tunn_cfg->tx_enable_l2gre,
|
||||
&p_tun->l2_gre);
|
||||
|
||||
__ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_ipgre,
|
||||
&p_tunn_cfg->tx_enable_ipgre,
|
||||
&p_tun->ip_gre);
|
||||
|
||||
p_tunn_cfg->update_rx_pf_clss = p_tun->b_update_rx_cls;
|
||||
p_tunn_cfg->update_tx_pf_clss = p_tun->b_update_tx_cls;
|
||||
}
|
||||
|
||||
static void ecore_set_hw_tunn_mode(struct ecore_hwfn *p_hwfn,
|
||||
@ -282,29 +272,24 @@ ecore_tunn_set_pf_start_params(struct ecore_hwfn *p_hwfn,
|
||||
ecore_set_tunn_ports(p_tun, p_src);
|
||||
|
||||
ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_vxlan,
|
||||
&p_tunn_cfg->tx_enable_vxlan,
|
||||
&p_tun->vxlan,
|
||||
&p_tunn_cfg->set_vxlan_udp_port_flg,
|
||||
&p_tunn_cfg->vxlan_udp_port,
|
||||
&p_tun->vxlan_port);
|
||||
|
||||
ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_l2geneve,
|
||||
&p_tunn_cfg->tx_enable_l2geneve,
|
||||
&p_tun->l2_geneve,
|
||||
&p_tunn_cfg->set_geneve_udp_port_flg,
|
||||
&p_tunn_cfg->geneve_udp_port,
|
||||
&p_tun->geneve_port);
|
||||
|
||||
__ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_ipgeneve,
|
||||
&p_tunn_cfg->tx_enable_ipgeneve,
|
||||
&p_tun->ip_geneve);
|
||||
|
||||
__ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_l2gre,
|
||||
&p_tunn_cfg->tx_enable_l2gre,
|
||||
&p_tun->l2_gre);
|
||||
|
||||
__ecore_set_ramrod_tunnel_param(&p_tunn_cfg->tunnel_clss_ipgre,
|
||||
&p_tunn_cfg->tx_enable_ipgre,
|
||||
&p_tun->ip_gre);
|
||||
}
|
||||
|
||||
@ -345,7 +330,7 @@ enum _ecore_status_t ecore_sp_pf_start(struct ecore_hwfn *p_hwfn,
|
||||
|
||||
/* For easier debugging */
|
||||
p_ramrod->dont_log_ramrods = 0;
|
||||
p_ramrod->log_type_mask = OSAL_CPU_TO_LE16(0xf);
|
||||
p_ramrod->log_type_mask = OSAL_CPU_TO_LE16(0x8f);
|
||||
|
||||
switch (mode) {
|
||||
case ECORE_MF_DEFAULT:
|
||||
|
@ -79,6 +79,10 @@
|
||||
|
||||
/* Maximum number of buffers, used for RX packet placement */
|
||||
#define ETH_RX_MAX_BUFF_PER_PKT 5
|
||||
/* Minimum number of free BDs in RX ring, that guarantee receiving of at least
|
||||
* one RX packet.
|
||||
*/
|
||||
#define ETH_RX_BD_THRESHOLD 12
|
||||
|
||||
/* num of MAC/VLAN filters */
|
||||
#define ETH_NUM_MAC_FILTERS 512
|
||||
|
@ -1200,3 +1200,8 @@
|
||||
#define PGLUE_B_REG_VF_BAR0_SIZE_K2_E5 0x2aaeb4UL
|
||||
|
||||
#define PRS_REG_OUTPUT_FORMAT_4_0_BB_K2 0x1f099cUL
|
||||
|
||||
#define NIG_REG_LLH_FUNC_FILTER_VALUE_BB_K2 0x501a00UL
|
||||
#define NIG_REG_LLH_FUNC_FILTER_EN_BB_K2 0x501a80UL
|
||||
#define NIG_REG_LLH_FUNC_FILTER_MODE_BB_K2 0x501ac0UL
|
||||
#define NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_BB_K2 0x501b00UL
|
||||
|
@ -49,7 +49,7 @@
|
||||
/* Driver versions */
|
||||
#define QEDE_PMD_VER_PREFIX "QEDE PMD"
|
||||
#define QEDE_PMD_VERSION_MAJOR 2
|
||||
#define QEDE_PMD_VERSION_MINOR 4
|
||||
#define QEDE_PMD_VERSION_MINOR 5
|
||||
#define QEDE_PMD_VERSION_REVISION 0
|
||||
#define QEDE_PMD_VERSION_PATCH 1
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
char fw_file[PATH_MAX];
|
||||
|
||||
const char *QEDE_DEFAULT_FIRMWARE =
|
||||
"/lib/firmware/qed/qed_init_values-8.18.9.0.bin";
|
||||
"/lib/firmware/qed/qed_init_values-8.20.0.0.bin";
|
||||
|
||||
static void
|
||||
qed_update_pf_params(struct ecore_dev *edev, struct ecore_pf_params *params)
|
||||
|
Loading…
Reference in New Issue
Block a user