Lines Matching refs:host_features
1339 uint64_t host_features; in virtio_negotiate_features() local
1346 host_features = VTPCI_OPS(hw)->get_features(hw); in virtio_negotiate_features()
1348 host_features); in virtio_negotiate_features()
1351 if (host_features & req_features & (1ULL << VIRTIO_NET_F_MTU)) { in virtio_negotiate_features()
1367 hw->guest_features = vtpci_negotiate_features(hw, host_features); in virtio_negotiate_features()
2623 uint64_t tso_mask, host_features; in virtio_dev_info_get() local
2635 host_features = VTPCI_OPS(hw)->get_features(hw); in virtio_dev_info_get()
2638 if (host_features & (1ULL << VIRTIO_NET_F_GUEST_CSUM)) { in virtio_dev_info_get()
2643 if (host_features & (1ULL << VIRTIO_NET_F_CTRL_VLAN)) in virtio_dev_info_get()
2647 if ((host_features & tso_mask) == tso_mask) in virtio_dev_info_get()
2652 if (host_features & (1ULL << VIRTIO_NET_F_CSUM)) { in virtio_dev_info_get()
2659 if ((host_features & tso_mask) == tso_mask) in virtio_dev_info_get()