qcacmn: Enable/Disable Round Robin core distribution

1. Add ini configuration for enabling round robin flows to
core distribution in FSE

2. Register FSE APIs to CDP FSE ops

Change-Id: Ic61c44eb9bc68a8c1a0116d4e6aa1d54cf489b62
CRs-Fixed: 3505287
This commit is contained in:
Parikshit Gune
2023-05-21 12:16:55 +05:30
committed by Rahul Choudhary
parent 9fb079e747
commit 3b770cc5bb
5 changed files with 51 additions and 2 deletions

View File

@@ -4866,6 +4866,27 @@ bool wlan_cfg_is_rx_hash_enabled(struct wlan_cfg_dp_soc_ctxt *cfg)
return cfg->rx_hash;
}
#ifdef WLAN_SUPPORT_RX_FLOW_TAG
void wlan_cfg_set_rx_rr(struct wlan_cfg_dp_soc_ctxt *cfg, bool val)
{
cfg->rx_rr = val;
}
bool wlan_cfg_is_rx_rr_enabled(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->rx_rr;
}
#else
void wlan_cfg_set_rx_rr(struct wlan_cfg_dp_soc_ctxt *cfg, bool val)
{
}
bool wlan_cfg_is_rx_rr_enabled(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return false;
}
#endif
int wlan_cfg_get_dp_pdev_nss_enabled(struct wlan_cfg_dp_pdev_ctxt *cfg)
{
return cfg->nss_enabled;