FreeBSD/sys/dev/bxe/ecore_sp.c
/**
 * __ecore_vlan_mac_h_exec_pending - execute step instead of a previous step
 * which wasn't able to run due to a taken lock on vlan mac head list.
 *
 * @sc:		device handle
 * @o:		vlan_mac object
 *
 * @details Should be called under execution queue lock; notice it might release
 *          and reclaim it during its run.
 */
execute step instead of a previous step
which wasn't able to run due to a taken lock on vlan mac head list.

@sc:         device handle
@o:          vlan_mac object

@details Should be called under execution queue lock; notice it might release
and reclaim it during its run.
execute step instead of a previous step which wasn ' t able to run due to a taken lock on vlan mac head list . @sc : device handle @o : vlan_mac object @details Should be called under execution queue lock ; notice it might release and reclaim it during its run .
static void __ecore_vlan_mac_h_exec_pending(struct bxe_softc *sc,
					    struct ecore_vlan_mac_obj *o)
{
	int rc;
	unsigned long ramrod_flags = o->saved_ramrod_flags;
	ECORE_MSG(sc, "vlan_mac_lock execute pending command with ramrod flags %lu\n",
		  ramrod_flags);
	o->head_exe_request = FALSE;
	o->saved_ramrod_flags = 0;
	rc = ecore_exe_queue_step(sc, &o->exe_queue, &ramrod_flags);
	if ((rc != ECORE_SUCCESS) && (rc != ECORE_PENDING)) {
		ECORE_ERR("execution of pending commands failed with rc %d\n",
			  rc);
#ifdef ECORE_STOP_ON_ERROR
		ecore_panic();
#endif
	}
}
static void __ecore_vlan_mac_h_exec_pending ( struct bxe_softc * sc , struct ecore_vlan_mac_obj * o ) { int rc ; unsigned long ramrod_flags = o -> saved_ramrod_flags ; ECORE_MSG ( sc , " \n " , ramrod_flags ) ; o -> head_exe_request = FALSE ; o -> saved_ramrod_flags = 0 ; rc = ecore_exe_queue_step ( sc , & o -> exe_queue , & ramrod_flags ) ; if ( ( rc != ECORE_SUCCESS ) && ( rc != ECORE_PENDING ) ) { ECORE_ERR ( " \n " , rc ) ; #ifdef ECORE_STOP_ON_ERROR ecore_panic ( ) ; #endif } }
__ecore_vlan_mac_h_exec_pending - execute step instead of a previous step
 which wasn't able to run due to a taken lock on vlan mac head list.
__ecore_vlan_mac_h_exec_pending - execute step instead of a previous step which wasn ' t able to run due to a taken lock on vlan mac head list .