Lines Matching refs:reset

109 static int ibmvnic_reset_init(struct ibmvnic_adapter *, bool reset);
673 * want to try and reuse on next reset. So don't free ltb set.
791 * during reset (see init_rx_pools()), update LTB below
880 * driver, triggering a reset.
1576 /* Default/timeout error handling, reset and start fresh */
1597 * of reset and we do not want parallel resets occurring
1888 /* netdev_tx_reset_queue will reset dql stats. During NON_FATAL
1889 * resets, don't reset the stats because there could be batched
1890 * skb's waiting to be sent. If we reset dql stats, we risk
1932 /* If device failover is pending or we are about to reset, just set
1933 * device state and return. Device operation will be handled by reset
1937 * we hold the rtnl, either the reset has not actually started or
1967 /* If open failed and there is a pending failover or in-progress reset,
1969 * reset routine. See also comments above regarding rtnl.
2127 * Device operation will be handled by reset routine.
2405 /* If a reset is in progress, drop the packet since
2407 * rcu to ensure reset waits for us to complete.
2580 * driver, triggering a reset or some other action.
2735 * do_reset returns zero if we are able to keep processing reset events, or
2795 * a reset.
2807 * new "target" state, and resume the reset
2819 * when we dropped the rtnl, fail the reset
2868 /* If the adapter was in PROBE or DOWN state prior to the reset,
2942 /* restore the adapter state if reset failed */
2998 /* If the adapter was in PROBE or DOWN state prior to the reset,
3026 /* restore adapter state if reset failed */
3029 netdev_dbg(adapter->netdev, "[S:%s FOP:%d] Hard reset done, rc %d\n",
3142 * or if another reset is in progress, defer work for now. If probe
3147 * 2. Timed out on probe or another reset in progress - delay the work
3165 /* ibmvnic_probe() may have purged the reset queue after we were
3166 * scheduled to process a reset so there maybe no resets to process.
3168 * that there is infact a reset to process. Otherwise we may race
3177 * assume reset will open device)
3179 * find reset queue empty
3228 /* Since we are doing a hard reset now, clear the
3234 /* Transport event occurred during previous reset */
3259 "[S:%s] Hard reset failed %d times, waiting 60 secs\n",
3277 * If there are no resets queued and the previous reset failed,
3279 * previous reset as a hard reset.
3281 * Else, free the previous rwi and, if there is another reset
3282 * queued, process the new reset even if previous reset failed
3283 * (the previous reset could have failed because of a fail
3341 /* If failover is pending don't schedule any other reset.
3343 * a failover reset scheduled, we will detect and drop the
3344 * duplicate reset when walking the ->rwi_list below.
3350 netdev_dbg(netdev, "Adapter removing or pending failover, skipping reset\n");
3356 netdev_dbg(netdev, "Skipping matching reset, reason=%s\n",
3369 * flush reset queue and process this reset
3376 netdev_dbg(adapter->netdev, "Scheduling reset (reason %s)\n",
3397 "Adapter is resetting, skip timeout reset\n");
3400 /* No queuing up reset until at least 5 seconds (default watchdog val)
3401 * after last reset
3864 netdev_dbg(adapter->netdev, "Invalid scrq reset.\n");
3880 netdev_dbg(adapter->netdev, "Invalid scrq reset\n");
4675 dev_warn(dev, "Invalid request detected while CRQ is inactive, possible device state change during reset\n");
4689 /* do not reset, report the fail, wait for passive init from server */
5497 /* login response buffer will be released on reset */
5873 /* Discard any stale login responses from prev reset.
5885 * reset either because the adapter was still
5889 * EBUSY because it means either FAILOVER reset
5894 "Error %ld scheduling failover reset\n",
6186 /* maybe kexecing and resource is busy. try a reset */
6238 static int ibmvnic_reset_init(struct ibmvnic_adapter *adapter, bool reset)
6272 if (reset &&
6282 * when we processed the reset. Failure to do so
6391 * a reset after we purged but thats ok - we just may end
6392 * up with an extra reset (i.e similar to having two or more
6412 * ready, we will do the passive init reset.
6501 /* If ibmvnic_reset() is scheduling a reset, wait for it to
6503 * scheduling any more work and to have reset functions ignore