HomeFreeBSD

netmap: align if_ptnet guest driver to the upstream code (commit 0e15788)

Description

netmap: align if_ptnet guest driver to the upstream code (commit 0e15788)

The change upgrades the driver to use the split Communication Status
Block (CSB) format. In this way the variables written by the guest
and read by the host are allocated in a different cacheline than
the variables written by the host and read by the guest; this is
needed to avoid cache thrashing.

Approved by: hrs (mentor)

Details

Provenance
vmaffioneAuthored on
Parents
rS332046: Add a missing MODULE_DEPEND().
Branches
Unknown
Tags
Unknown