FreeBSD Bugzilla – Attachment 209216 Details for
Bug 242023
bhyve pci_vtnet_rx broken after r354552
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to find out about features
probe2.diff (text/plain), 787 bytes, created by
Vincenzo Maffione
on 2019-11-17 22:38:21 UTC
(
hide
)
Description:
Patch to find out about features
Filename:
MIME Type:
Creator:
Vincenzo Maffione
Created:
2019-11-17 22:38:21 UTC
Size:
787 bytes
patch
obsolete
>diff --git a/usr.sbin/bhyve/pci_virtio_net.c b/usr.sbin/bhyve/pci_virtio_net.c >index b1444ce5e5f..f29744d01f4 100644 >--- a/usr.sbin/bhyve/pci_virtio_net.c >+++ b/usr.sbin/bhyve/pci_virtio_net.c >@@ -482,6 +482,7 @@ pci_vtnet_init(struct vmctx *ctx, struct pci_devinst *pi, char *opts) > return (err); > } > sc->vsc_consts.vc_hv_caps |= netbe_get_cap(sc->vsc_be); >+ printf("My features: %lx\n\r", sc->vsc_consts.vc_hv_caps); > } > > if (!mac_provided) { >@@ -571,6 +572,7 @@ pci_vtnet_neg_features(void *vsc, uint64_t negotiated_features) > > sc->vsc_features = negotiated_features; > >+ printf("negotiated features = %lx\n\r", negotiated_features); > if (!(negotiated_features & VIRTIO_NET_F_MRG_RXBUF)) { > sc->rx_merge = 0; > /* Without mergeable rx buffers, virtio-net header is 2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242023
:
209202
|
209215
| 209216
Working