From: Rasesh Mody Date: Wed, 29 Mar 2017 20:36:03 +0000 (-0700) Subject: net/qede/base: mask Rx buffer attention bits X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f061e24d8ddfdebeff9b5d7b00a8cca0a2695782;p=dpdk.git net/qede/base: mask Rx buffer attention bits Mask the BRB "RC0_EOP_OUT_SYNC_FIFO_PUSH_ERROR" attention. Signed-off-by: Rasesh Mody --- diff --git a/drivers/net/qede/base/ecore_dev.c b/drivers/net/qede/base/ecore_dev.c index 2d1e031131..eef24cd712 100644 --- a/drivers/net/qede/base/ecore_dev.c +++ b/drivers/net/qede/base/ecore_dev.c @@ -1051,6 +1051,12 @@ static enum _ecore_status_t ecore_hw_init_common(struct ecore_hwfn *p_hwfn, /* pretend to original PF */ ecore_fid_pretend(p_hwfn, p_ptt, p_hwfn->rel_pf_id); + /* @@@TMP: + * CQ89456 - Mask the BRB "RC0_EOP_OUT_SYNC_FIFO_PUSH_ERROR" attention. + */ + if (ECORE_IS_AH(p_dev)) + ecore_wr(p_hwfn, p_ptt, BRB_REG_INT_MASK_10, 0x4000000); + return rc; } diff --git a/drivers/net/qede/base/reg_addr.h b/drivers/net/qede/base/reg_addr.h index 3c369aa543..21cbdbdd3c 100644 --- a/drivers/net/qede/base/reg_addr.h +++ b/drivers/net/qede/base/reg_addr.h @@ -1141,3 +1141,6 @@ #define NIG_REG_LLH_TAGMAC_DEF_PF_VECTOR 0x50196cUL #define PRS_REG_MSG_INFO 0x1f0a1cUL #define BAR0_MAP_REG_XSDM_RAM 0x1e00000UL + +/* 8.18.7.0 FW */ +#define BRB_REG_INT_MASK_10 0x3401b8UL