diff options
author | Jon Mason <jon.mason@intel.com> | 2013-02-01 15:45:16 -0700 |
---|---|---|
committer | Jon Mason <jon.mason@intel.com> | 2013-05-15 10:57:59 -0700 |
commit | c9d534c8cbaedbb522a1d2cb037c6c394f610317 (patch) | |
tree | eaea8a1c31a0a0a0d850b07590704a3b57fdbca5 /drivers/net/virtio_net.c | |
parent | 90f9e934647e652a69396e18c779215a493271cf (diff) |
NTB: Correctly handle receive buffers of the minimal size
The ring logic of the NTB receive buffer/transmit memory window requires
there to be at least 2 payload sized allotments. For the minimal size
case, split the buffer into two and set the transport_mtu to the
appropriate size.
Signed-off-by: Jon Mason <jon.mason@intel.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions