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

Function vhost_enable_extbuf

dpdk/lib/vhost/vhost.c:840–849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838}
839
840void
841vhost_enable_extbuf(int vid)
842{
843 struct virtio_net *dev = get_device(vid);
844
845 if (dev == NULL)
846 return;
847
848 dev->extbuf = 1;
849}
850
851void
852vhost_enable_linearbuf(int vid)

Callers 1

Calls 1

get_deviceFunction · 0.85

Tested by

no test coverage detected