HomeFreeBSD

netmap: introduce netmap_kring_on()

Description

netmap: introduce netmap_kring_on()

This function returns NULL if the ring identified by
queue id and direction is in netmap mode. Otherwise
return the corresponding kring.
Use this function to replace vtnet_netmap_queue_on().

MFC after: 1 week

Details

Provenance
vmaffioneAuthored on
Parents
rS362075: Correct comment (this should have been committed with r362065).
Branches
Unknown
Tags
Unknown