qcacmn: Add cdp_hl_fc_register() to register FC for HL DP
Add function cdp_hl_fc_register() for registering flow control callback for HL netdev flow control. The flow control callback will be responsible for pausing/restarting OS network queues. Also the parameters of function pointer "cdp_lflowctl_ops: register_tx_flow_control" are changed. Change-Id: I6a1c82492fd67557eea7523134ff465726ac7a1e CRs-fixed: 2236466
このコミットが含まれているのは:
@@ -897,9 +897,14 @@ struct cdp_flowctl_ops {
|
||||
* @vdev_unpause:
|
||||
*/
|
||||
struct cdp_lflowctl_ops {
|
||||
#ifdef QCA_HL_NETDEV_FLOW_CONTROL
|
||||
int (*register_tx_flow_control)(struct cdp_soc_t *soc,
|
||||
tx_pause_callback flowcontrol);
|
||||
#else
|
||||
int (*register_tx_flow_control)(uint8_t vdev_id,
|
||||
ol_txrx_tx_flow_control_fp flowControl, void *osif_fc_ctx,
|
||||
ol_txrx_tx_flow_control_is_pause_fp flow_control_is_pause);
|
||||
#endif /* QCA_HL_NETDEV_FLOW_CONTROL */
|
||||
int (*deregister_tx_flow_control_cb)(uint8_t vdev_id);
|
||||
void (*flow_control_cb)(struct cdp_vdev *vdev, bool tx_resume);
|
||||
bool (*get_tx_resource)(uint8_t sta_id,
|
||||
|
新しいイシューから参照
ユーザーをブロックする