[dpdk-dev] [PATCH 4/5] virtio: use any layout on transmit

2015-10-27 Thread Stephen Hemminger
On Mon, 19 Oct 2015 16:56:02 + "Xie, Huawei" wrote: > On 10/20/2015 12:43 AM, Stephen Hemminger wrote: > > On Mon, 19 Oct 2015 16:28:30 + > > "Xie, Huawei" wrote: > > > >> On 10/19/2015 1:16 PM, Stephen Hemminger wrote: > >>> Virtio supports a feature that allows sender to put transmit

[dpdk-dev] [PATCH 4/5] virtio: use any layout on transmit

2015-10-19 Thread Xie, Huawei
On 10/20/2015 12:43 AM, Stephen Hemminger wrote: > On Mon, 19 Oct 2015 16:28:30 + > "Xie, Huawei" wrote: > >> On 10/19/2015 1:16 PM, Stephen Hemminger wrote: >>> Virtio supports a feature that allows sender to put transmit >>> header prepended to data. It requires that the mbuf be writeable,

[dpdk-dev] [PATCH 4/5] virtio: use any layout on transmit

2015-10-19 Thread Xie, Huawei
On 10/19/2015 1:16 PM, Stephen Hemminger wrote: > Virtio supports a feature that allows sender to put transmit > header prepended to data. It requires that the mbuf be writeable, correct > alignment, and the feature has been negotiatied. If all this works out, > then it will be the optimum way

[dpdk-dev] [PATCH 4/5] virtio: use any layout on transmit

2015-10-19 Thread Stephen Hemminger
On Mon, 19 Oct 2015 16:28:30 + "Xie, Huawei" wrote: > "When using legacy interfaces, transitional drivers which have not > negotiated VIRTIO_F_ANY_LAYOUT > MUST use a single descriptor for the struct virtio_net_hdr on both > transmit and receive, with the > network data in the following

[dpdk-dev] [PATCH 4/5] virtio: use any layout on transmit

2015-10-19 Thread Stephen Hemminger
On Mon, 19 Oct 2015 16:28:30 + "Xie, Huawei" wrote: > On 10/19/2015 1:16 PM, Stephen Hemminger wrote: > > Virtio supports a feature that allows sender to put transmit > > header prepended to data. It requires that the mbuf be writeable, correct > > alignment, and the feature has been

[dpdk-dev] [PATCH 4/5] virtio: use any layout on transmit

2015-10-18 Thread Stephen Hemminger
Virtio supports a feature that allows sender to put transmit header prepended to data. It requires that the mbuf be writeable, correct alignment, and the feature has been negotiatied. If all this works out, then it will be the optimum way to transmit a single segment packet. Signed-off-by: