From a2d5c98450e0f2d55c2eec3c52e060de6048793d Mon Sep 17 00:00:00 2001 From: Tiwei Bie Date: Wed, 18 Sep 2019 13:00:50 +0800 Subject: [PATCH] doc: clarify MAC/VLAN filtering in virtio guide Explicitly document that the MAC/VLAN filtering in virtio is best effort to help users understand why unwanted packets could still arrive. Signed-off-by: Tiwei Bie Reviewed-by: Maxime Coquelin --- doc/guides/nics/virtio.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst index bd0116176d..fb378a4b94 100644 --- a/doc/guides/nics/virtio.rst +++ b/doc/guides/nics/virtio.rst @@ -56,7 +56,7 @@ In this release, the virtio PMD driver provides the basic functionality of packe * Features of mac/vlan filter are supported, negotiation with vhost/backend are needed to support them. When backend can't support vlan filter, virtio app on guest should not enable vlan filter in order to make sure the virtio port is configured correctly. E.g. do not specify '--enable-hw-vlan' in testpmd - command line. + command line. Note that, mac/vlan filter is best effort: unwanted packets could still arrive. * "RTE_PKTMBUF_HEADROOM" should be defined no less than "sizeof(struct virtio_net_hdr_mrg_rxbuf)", which is 12 bytes when mergeable or -- 2.20.1