Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/netmap/netmap.c
Context not available. | |||||
} | } | ||||
nifp = priv->np_nifp; | nifp = priv->np_nifp; | ||||
priv->np_td = td; /* for debugging purposes */ | |||||
/* return the offset of the netmap_if object */ | /* return the offset of the netmap_if object */ | ||||
req->nr_rx_rings = na->num_rx_rings; | req->nr_rx_rings = na->num_rx_rings; | ||||
Context not available. | |||||
* | * | ||||
* Can be called for one or more queues. | * Can be called for one or more queues. | ||||
* Return true the event mask corresponding to ready events. | * Return true the event mask corresponding to ready events. | ||||
* If there are no ready events, do a selrecord on either individual | * If there are no ready events (and 'sr' is not NULL), do a | ||||
* selinfo or on the global one. | * selrecord on either individual selinfo or on the global one. | ||||
* Device-dependent parts (locking and sync of tx/rx rings) | * Device-dependent parts (locking and sync of tx/rx rings) | ||||
* are done through callbacks. | * are done through callbacks. | ||||
* | * | ||||
Context not available. |