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

Function vhost_enable_linearbuf

dpdk/lib/vhost/vhost.c:851–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849}
850
851void
852vhost_enable_linearbuf(int vid)
853{
854 struct virtio_net *dev = get_device(vid);
855
856 if (dev == NULL)
857 return;
858
859 dev->linearbuf = 1;
860}
861
862int
863rte_vhost_get_mtu(int vid, uint16_t *mtu)

Callers 1

Calls 1

get_deviceFunction · 0.85

Tested by

no test coverage detected