Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Sponsored by: Defenso
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 67070 Build 63953: arc lint + arc unit
Event Timeline
Comment Actions
The bhyve.8 man page needs to be updated to mention the new backend.
| usr.sbin/bhyve/net_backends.c | ||
|---|---|---|
| 123 | The && should be on the previous line. | |
| usr.sbin/bhyve/net_backends.c | ||
|---|---|---|
| 123 | Done, thank you. | |
Comment Actions
tap_init() will open the device and add it to the mevent loop, which uses kevent() under the hood. But, ng_device doesn't implement d_kqfilter, i.e., ngd_cdevsw doesn't have a d_kqfilter implementation, in contrast with tap devices. How does bhyve know when to read packets from the device?
| usr.sbin/bhyve/bhyve.8 | ||
|---|---|---|
| 551 | New sentences should start on new lines. | |
Comment Actions
Please have a look at parent revision D52541, which adds kevent support to ng_device.
Comment Actions
Aha! :) I left some comments there.
This diff looks ok to me.
| usr.sbin/bhyve/bhyve.8 | ||
|---|---|---|
| 549 | ||
Comment Actions
This looks ok to me, but it depends on the other revision, which is as-yet unfinished.