> -Original Message-
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Thursday, June 11, 2015 11:53 PM
> To: Ouyang, Changchun
> Cc: dev at dpdk.org; Stephen Hemminger; Stephen Hemminger
> Subject: [PATCH 2/5] virtio: don't enable/disable rx modes unless supported
From: Stephen Hemminger
If negotiation with host says that controlling Rx mode is
not supported, then don't try.
Signed-off-by: Stephen Hemminger
---
drivers/net/virtio/virtio_ethdev.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/net/virtio/virtio_ethdev.c
> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen
> Hemminger
> Sent: Wednesday, April 15, 2015 11:20 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH 2/5] virtio: don't enable/disable rx modes unless
> supported
>
Don't try to set features related to receiving unless the
appropriate feature bit has ben negotiated with the host.
This solves some of the issues when using virtio on non-KVM/QEMU
hypervisors.
Signed-off-by: Stephen Hemminger
---
lib/librte_pmd_virtio/virtio_ethdev.c | 20
4 matches
Mail list logo