Page MenuHomeFreeBSD

Support for ENA NETMAP partial initialization
ClosedPublic

Authored by mk_semihalf.com on Oct 8 2019, 8:26 AM.

Details

Summary

In NETMAP mode not all queues need to be allocated to NETMAP. Some of
them could be left to the kernel. Configuration is managed by the flags
nr_mode and nr_pending_mode provided per each NETMAP kring.

ENA driver checks those flags and perform proper rings initialization.

Submitted by: Rafal Kozik <rk@semihalf.com>

Michal Krawczyk <mk@semihalf.com>

Obtained from: Semihalf
Sponsored by: Amazon, Inc.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mk_semihalf.com created this revision.Oct 8 2019, 8:26 AM
This revision was not accepted when it landed; it landed in state Needs Review.Thu, Oct 31, 4:02 PM
This revision was automatically updated to reflect the committed changes.