On Fri, Oct 30, 2015 at 12:45 PM, Liu, Jijiang
wrote:
>
> If the driver correctly reports negotiated offload capabilities (see my
> previous comment on patch 3), there is no need for the test on
> VIRTIO_NET_F_CSUM, because application is not supposed to ask for offloads
> on driver that do not s
From: David Marchand [mailto:david.march...@6wind.com]
Sent: Friday, October 30, 2015 8:15 PM
To: Liu, Jijiang
Cc: dev at dpdk.org; Thomas Monjalon
Subject: Re: [dpdk-dev] [PATCH 5/8] driver/virtio:enqueue vhost TX offload
On Fri, Oct 30, 2015 at 12:45 PM, Liu, Jijiang mailto:jijiang.liu at
Hi David,
From: David Marchand [mailto:david.march...@6wind.com]
Sent: Thursday, October 29, 2015 10:16 PM
To: Liu, Jijiang
Cc: dev at dpdk.org
Subject: Re: [dpdk-dev] [PATCH 5/8] driver/virtio:enqueue vhost TX offload
On Wed, Oct 21, 2015 at 6:46 AM, Jijiang Liu mailto:jijiang.liu at intel.com
On Wed, Oct 21, 2015 at 6:46 AM, Jijiang Liu wrote:
> @@ -221,6 +277,11 @@ virtqueue_enqueue_xmit(struct virtqueue *txvq, struct
> rte_mbuf *cookie)
> dxp->cookie = (void *)cookie;
> dxp->ndescs = needed;
>
> + if (vtpci_with_feature(txvq->hw, VIRTIO_NET_F_CSUM)) {
> +
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_rxtx.c | 61 ++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio/vir
5 matches
Mail list logo