Home
last modified time | relevance | path

Searched refs:cqp_timeout (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_utils.c490 struct i40iw_cqp_timeout cqp_timeout; in i40iw_wait_event() local
493 memset(&cqp_timeout, 0, sizeof(cqp_timeout)); in i40iw_wait_event()
494 cqp_timeout.compl_cqp_cmds = iwdev->sc_dev.cqp_cmd_stats[OP_COMPLETED_COMMANDS]; in i40iw_wait_event()
500 i40iw_check_cqp_progress(&cqp_timeout, &iwdev->sc_dev); in i40iw_wait_event()
502 if (cqp_timeout.count < CQP_TIMEOUT_THRESHOLD) in i40iw_wait_event()
Di40iw_p.h56 void i40iw_check_cqp_progress(struct i40iw_cqp_timeout *cqp_timeout, struct i40iw_sc_dev *dev);
Di40iw_ctrl.c57 void i40iw_check_cqp_progress(struct i40iw_cqp_timeout *cqp_timeout, struct i40iw_sc_dev *dev) in i40iw_check_cqp_progress() argument
59 if (cqp_timeout->compl_cqp_cmds != dev->cqp_cmd_stats[OP_COMPLETED_COMMANDS]) { in i40iw_check_cqp_progress()
60 cqp_timeout->compl_cqp_cmds = dev->cqp_cmd_stats[OP_COMPLETED_COMMANDS]; in i40iw_check_cqp_progress()
61 cqp_timeout->count = 0; in i40iw_check_cqp_progress()
63 if (dev->cqp_cmd_stats[OP_REQUESTED_COMMANDS] != cqp_timeout->compl_cqp_cmds) in i40iw_check_cqp_progress()
64 cqp_timeout->count++; in i40iw_check_cqp_progress()