Lines Matching refs:pending

46 #define ECORE_RET_PENDING(pending_bit, pending) \
47 (ECORE_TEST_BIT(pending_bit, pending) ? ECORE_PENDING : ECORE_SUCCESS)
412 * 'pending' list.
423 /* Run through the pending commands list and create a next
458 /* If zero is returned, means there are no outstanding pending
459 * completions and we may dismiss the pending list.
715 ECORE_MSG(pdev, "vlan_mac_lock execute pending command with ramrod flags %lu\n",
721 ECORE_ERR("execution of pending commands failed with rc %d\n",
745 ECORE_MSG(pdev, "Placing pending execution with ramrod flags %lu\n",
755 * @details Should be called under execution queue lock. Notice if a pending
762 /* It's possible a new pending execution was added since this writer
766 ECORE_MSG(pdev, "vlan_mac_lock - writer release encountered a pending request\n");
777 * @details Notice if a pending execution exists, it would perform it -
834 * @details Should be called under execution queue lock. Notice if a pending
852 /* It's possible a new pending execution was added, and that this reader
856 ECORE_MSG(pdev, "vlan_mac_lock - reader release encountered a pending request\n");
869 * @details Notice if a pending execution exists, it would be performed if this
1575 /* Check pending for execution commands */
1593 /* Check pending for execution commands */
1612 /* Check pending for execution commands */
1651 /* Check if there is a pending ADD command for this
1655 ECORE_MSG(pdev, "There is a pending ADD command already\n");
1659 /* TODO: Check the pending MOVE from other objects where this
1702 /* Check if there are pending DEL or MOVE commands for this
1710 ECORE_ERR("There is a pending MOVE command already\n");
1716 ECORE_MSG(pdev, "There is a pending DEL command already\n");
1762 /* Check if there is an already pending DEL or MOVE command for the
1771 ECORE_ERR("There is a pending DEL command on the source queue already\n");
1777 ECORE_MSG(pdev, "There is a pending MOVE command already\n");
1784 ECORE_ERR("There is a pending ADD command on the destination queue already\n");
1870 /* Wait until there are no pending commands */
1895 * and the case in which there is already a pending ramrod
1923 /* Clearing the pending list & raw state should be made
1928 /* Reset pending list */
1931 /* Clear pending */
1940 /* Run the next bulk of pending commands if requested */
2096 /* Set pending */
2227 /* Try to add a new command to the pending list */
2257 * return PENDING if there are pending commands
2263 ECORE_MSG(pdev, "RAMROD_DRV_CLR_ONLY requested: clearing a pending bit.\n");
2281 * one (for the current pending command).
2333 /* Clear pending commands first */
2848 /* Ramrod completion is pending */
2919 * practically used in 57712 handling only, where one pending
2951 /* If the command is empty ("handle pending commands only"), break */
2980 /* Push the MACs of the current command into the pending command
3007 /* Push the new pending command to the tail of the pending list: FIFO */
3410 * handle all pending commands.
3420 /* Increase the total number of MACs pending to be configured */
3500 /* If there are no more pending commands - clear SCHEDULED state */
3505 * data for all pending commands and for the current
3507 * to the pending commands and p->mcast_list_len would have been
3524 /* Update a registry size if there are no more pending operations.
3527 * pending operations because we want it to always be equal to the
3565 /* Ramrod completion is pending */
3642 * and clear a pending bit.
3998 /* Handle pending commands first */
4001 /* If there are no more pending commands - clear SCHEDULED state */
4005 /* The below may be TRUE iff there were no pending commands */
4054 /* Ramrod completion is pending */
4106 /* Enqueue the current command to the pending list if we can't complete
4123 /* Set 'pending' state */
4789 * to that is still pending (possible only if RAMROD_COMP_WAIT is
4798 unsigned long *pending = &o->pending;
4807 /* Set "pending" bit */
4808 ECORE_MSG(pdev, "pending bit was=%lx\n", o->pending);
4810 ECORE_MSG(pdev, "pending bit now=%lx\n", o->pending);
4820 ECORE_CLEAR_BIT(pending_bit, pending);
4834 return ECORE_RET_PENDING(pending_bit, pending);
4851 ECORE_SET_BIT(bit, &obj->pending);
4859 return ecore_state_wait(pdev, cmd, &o->pending);
4875 unsigned long cur_pending = o->pending;
4878 ECORE_ERR("Bad MC reply %d for queue %d in state %d pending 0x%lx, next_state %d\n",
4904 * updated before o->pending.
4908 ECORE_CLEAR_BIT(cmd, &o->pending);
5692 /* Forget all pending for completion commands if a driver only state
5696 o->pending = 0;
5703 if (o->pending) {
5704 ECORE_ERR("Blocking transition since pending was %lx\n",
5705 o->pending);
5973 if (o->pending)
5976 /* unsure the order of reading of o->pending and o->state
5977 * o->pending should be read first
5988 return ecore_state_wait(pdev, cmd, &o->pending);
6005 unsigned long cur_pending = o->pending;
6008 ECORE_ERR("Bad MC reply %d for func %d in state %d pending 0x%lx, next_state %d\n",
6022 * updated before o->pending.
6026 ECORE_CLEAR_BIT(cmd, &o->pending);
6074 /* Forget all pending for completion commands if a driver only state
6078 o->pending = 0;
6085 if (o->pending)
6106 * if not pending for function_stop ramrod completion
6110 (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending)))
6114 (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending)))
6121 (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending)))
6125 (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending)))
6134 (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending)))
6138 (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending)))
6730 * still pending (possible only if RAMROD_COMP_WAIT is
6740 unsigned long *pending = &o->pending;
6764 /* Set "pending" bit */
6765 ECORE_SET_BIT(cmd, pending);
6779 ECORE_CLEAR_BIT(cmd, pending);
6793 return ECORE_RET_PENDING(cmd, pending);