qcacmn: Change buffer replenishment model for SDX+Pine
For IPQ products, there is 1 refill ring which is of hardware type and host replenishes the buffers onto this ring so that hardware can use these buffers for Rx. In IPA offload mode, the buffer replenishment model is different from the one mentioned above. There are 3 refill rings, out of which, 2 are software refill rings (1 for host and 1 for IPA), and last ring is hardware ring given to FW. Ring given to IPA is to refill the buffers after processing the regular Rx packets and ring given to host is to refill the buffers after processing of exception packets. Since there are 2 entities to refill the buffers, the hardware ring given to FW multiplexes these 2 software rings and provides the buffers to hardware. Make changes to follow above replenishment model for SDX+Pine integration. Change-Id: I0d9e4ec811a3023a258e0a6b9ee22ccdffcebafa CRs-Fixed: 3049633
这个提交包含在:
@@ -369,7 +369,7 @@
|
||||
* Allocate as many RX descriptors as buffers in the SW2RXDMA
|
||||
* ring. This value may need to be tuned later.
|
||||
*/
|
||||
#if defined(QCA_HOST2FW_RXBUF_RING)
|
||||
#if defined(WLAN_MAX_PDEVS) && (WLAN_MAX_PDEVS == 1)
|
||||
#define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE 1
|
||||
#define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MIN 1
|
||||
#define WLAN_CFG_RX_SW_DESC_WEIGHT_SIZE_MAX 1
|
||||
@@ -402,7 +402,7 @@
|
||||
#define WLAN_CFG_RX_SW_DESC_NUM_SIZE 12288
|
||||
#define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MIN 4096
|
||||
#define WLAN_CFG_RX_SW_DESC_NUM_SIZE_MAX 12288
|
||||
#endif //QCA_HOST2FW_RXBUF_RING
|
||||
#endif
|
||||
|
||||
#define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE 16384
|
||||
#define WLAN_CFG_RX_FLOW_SEARCH_TABLE_SIZE_MIN 1
|
||||
|
在新工单中引用
屏蔽一个用户