Lines Matching refs:features
118 uint64_t vhost_net_get_features(struct vhost_net *net, uint64_t features) in vhost_net_get_features() argument
121 features); in vhost_net_get_features()
134 void vhost_net_ack_features(struct vhost_net *net, uint64_t features) in vhost_net_ack_features() argument
137 vhost_ack_features(&net->dev, vhost_net_get_feature_bits(net), features); in vhost_net_ack_features()
175 uint64_t features = 0; in vhost_net_init() local
216 net->dev.features &= ~(1ULL << VIRTIO_NET_F_MRG_RXBUF); in vhost_net_init()
218 if (~net->dev.features & net->dev.backend_features) { in vhost_net_init()
221 (uint64_t)(~net->dev.features & net->dev.backend_features)); in vhost_net_init()
229 features = vhost_user_get_acked_features(net->nc); in vhost_net_init()
230 if (~net->dev.features & features) { in vhost_net_init()
233 (uint64_t)(~net->dev.features & features)); in vhost_net_init()
239 vhost_net_ack_features(net, features); in vhost_net_init()