qcacmn: Rx path changes for multichip MLO
Rx patch changes for multichip MLO 1. Create ini for rx ring mask for each chip 2. Configure hash based routing for each chip based on lmac_peer_id_msb 3. Peer setup changes to configure lmac_peer_id_msb to enable hash based routing 4. Rx Replenish changes to provide buffers back to owner SOC of reo ring Change-Id: Ibbe6e81f9e62d88d9bb289a082dd14b4362252c4
这个提交包含在:

提交者
Madan Koyyalamudi

父节点
bbe062b4b7
当前提交
c42af1f62f
@@ -176,6 +176,7 @@ uint32_t dp_rx_process_be(struct dp_intr *int_ctx,
|
||||
uint8_t pkt_capture_offload = 0;
|
||||
struct dp_srng *rx_ring = &soc->reo_dest_ring[reo_ring_num];
|
||||
int max_reap_limit, ring_near_full;
|
||||
struct dp_soc *replenish_soc;
|
||||
|
||||
DP_HIST_INIT();
|
||||
|
||||
@@ -468,6 +469,7 @@ more_data:
|
||||
done:
|
||||
dp_rx_srng_access_end(int_ctx, soc, hal_ring_hdl);
|
||||
|
||||
replenish_soc = dp_rx_replensih_soc_get(soc, reo_ring_num);
|
||||
for (mac_id = 0; mac_id < MAX_PDEV_CNT; mac_id++) {
|
||||
/*
|
||||
* continue with next mac_id if no pkts were reaped
|
||||
@@ -476,11 +478,11 @@ done:
|
||||
if (!rx_bufs_reaped[mac_id])
|
||||
continue;
|
||||
|
||||
dp_rxdma_srng = &soc->rx_refill_buf_ring[mac_id];
|
||||
dp_rxdma_srng = &replenish_soc->rx_refill_buf_ring[mac_id];
|
||||
|
||||
rx_desc_pool = &soc->rx_desc_buf[mac_id];
|
||||
rx_desc_pool = &replenish_soc->rx_desc_buf[mac_id];
|
||||
|
||||
dp_rx_buffers_replenish(soc, mac_id, dp_rxdma_srng,
|
||||
dp_rx_buffers_replenish(replenish_soc, mac_id, dp_rxdma_srng,
|
||||
rx_desc_pool, rx_bufs_reaped[mac_id],
|
||||
&head[mac_id], &tail[mac_id]);
|
||||
}
|
||||
|
在新工单中引用
屏蔽一个用户