MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_vhost_get_negotiated_features

Function rte_vhost_get_negotiated_features

dpdk/lib/vhost/vhost.c:934–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

932}
933
934int
935rte_vhost_get_negotiated_features(int vid, uint64_t *features)
936{
937 struct virtio_net *dev;
938
939 dev = get_device(vid);
940 if (dev == NULL || features == NULL)
941 return -1;
942
943 *features = dev->features;
944 return 0;
945}
946
947int
948rte_vhost_get_negotiated_protocol_features(int vid,

Callers 13

new_deviceFunction · 0.85
nfp_vdpa_startFunction · 0.85
mlx5_vdpa_lm_logFunction · 0.85
mlx5_vdpa_virtqs_prepareFunction · 0.85
mlx5_vdpa_features_setFunction · 0.85
vdpa_ifcvf_startFunction · 0.85
vdpa_ifcvf_stopFunction · 0.85
m_ifcvf_startFunction · 0.85
ifcvf_set_featuresFunction · 0.85
sfc_vdpa_startFunction · 0.85
vs_vhost_net_setupFunction · 0.85

Calls 1

get_deviceFunction · 0.85

Tested by

no test coverage detected