qcacmn: revert FISA LRU deletion change
Revert FISA LRU deletion change. Change-Id: Ie24df0df8f3833c0a982036b71479f1eb8f485f8 CRs-Fixed: 3083882
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
f9b5d6b536
當前提交
480aac399f
@@ -1533,6 +1533,7 @@ hal_rx_flow_setup_fse_6490(uint8_t *rx_fst, uint32_t table_offset,
|
||||
struct hal_rx_fst *fst = (struct hal_rx_fst *)rx_fst;
|
||||
struct hal_rx_flow *flow = (struct hal_rx_flow *)rx_flow;
|
||||
uint8_t *fse;
|
||||
bool fse_valid;
|
||||
|
||||
if (table_offset >= fst->max_entries) {
|
||||
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
|
||||
@@ -1544,8 +1545,14 @@ hal_rx_flow_setup_fse_6490(uint8_t *rx_fst, uint32_t table_offset,
|
||||
fse = (uint8_t *)fst->base_vaddr +
|
||||
(table_offset * HAL_RX_FST_ENTRY_SIZE);
|
||||
|
||||
/* clear the valid bit before starting the deletion*/
|
||||
HAL_CLR_FLD(fse, RX_FLOW_SEARCH_ENTRY_9, VALID);
|
||||
fse_valid = HAL_GET_FLD(fse, RX_FLOW_SEARCH_ENTRY_9, VALID);
|
||||
|
||||
if (fse_valid) {
|
||||
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_DEBUG,
|
||||
"HAL FSE %pK already valid", fse);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
HAL_SET_FLD(fse, RX_FLOW_SEARCH_ENTRY_0, SRC_IP_127_96) =
|
||||
HAL_SET_FLD_SM(RX_FLOW_SEARCH_ENTRY_0, SRC_IP_127_96,
|
||||
(flow->tuple_info.src_ip_127_96));
|
||||
|
Reference in New Issue
Block a user