diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-22 17:43:35 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:29:00 -0500 |
commit | 8e0f8e5bf8fd483dd28329055336cf895b74c89f (patch) | |
tree | ffe6c1da95d86b0a9c1cedbb0c29dd5f39c3500b /net.h | |
parent | 38c75be3139a117b02350dbda9d48d47aa57fa3d (diff) |
net: enable IFF_VNET_HDR on tap fds if available
For now, we just add an empty header before writing and strip the header
after reading.
We really only want IFF_VNET_HDR when virtio_net is using it, but it
would significantly complicate matters to try and do that. There should
be little or no performance impact with always adding headers.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
0 files changed, 0 insertions, 0 deletions