* [virtio-dev] [PATCH] content: explicitly document the VLAN filtering as best-effort
@ 2019-07-19 4:11 Tiwei Bie
2019-07-19 10:00 ` [virtio-dev] " Cornelia Huck
0 siblings, 1 reply; 2+ messages in thread
From: Tiwei Bie @ 2019-07-19 4:11 UTC (permalink / raw)
To: virtio-dev; +Cc: mst, cohuck, stefanha, jasowang
Similar to the MAC address based filtering, the VLAN filtering
is also best-effort in implementations, but it's not quite clear
in the spec. So document this behaviour explicitly to reflect
the way implementations behave.
Fixes: https://github.com/oasis-tcs/virtio-spec/issues/47
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
---
v1:
- Add "Fixes:" tag;
RFC link:
https://lists.oasis-open.org/archives/virtio-dev/201907/msg00035.html
content.tex | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/content.tex b/content.tex
index 8f0498e..783322b 100644
--- a/content.tex
+++ b/content.tex
@@ -3530,6 +3530,11 @@ \subsubsection{Control Virtqueue}\label{sec:Device Types / Network Device / Devi
If the driver negotiates the VIRTION_NET_F_CTRL_VLAN feature, it
can control a VLAN filter table in the device.
+\begin{note}
+Similar to the MAC address based filtering, the VLAN filtering
+is also best-effort: unwanted packets could still arrive.
+\end{note}
+
\begin{lstlisting}
#define VIRTIO_NET_CTRL_VLAN 2
#define VIRTIO_NET_CTRL_VLAN_ADD 0
--
2.17.1
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
^ permalink raw reply related [flat|nested] 2+ messages in thread* [virtio-dev] Re: [PATCH] content: explicitly document the VLAN filtering as best-effort
2019-07-19 4:11 [virtio-dev] [PATCH] content: explicitly document the VLAN filtering as best-effort Tiwei Bie
@ 2019-07-19 10:00 ` Cornelia Huck
0 siblings, 0 replies; 2+ messages in thread
From: Cornelia Huck @ 2019-07-19 10:00 UTC (permalink / raw)
To: Tiwei Bie; +Cc: virtio-dev, mst, stefanha, jasowang
On Fri, 19 Jul 2019 12:11:51 +0800
Tiwei Bie <tiwei.bie@intel.com> wrote:
> Similar to the MAC address based filtering, the VLAN filtering
> is also best-effort in implementations, but it's not quite clear
> in the spec. So document this behaviour explicitly to reflect
> the way implementations behave.
>
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/47
> Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
> Acked-by: Michael S. Tsirkin <mst@redhat.com>
> ---
> v1:
> - Add "Fixes:" tag;
>
> RFC link:
> https://lists.oasis-open.org/archives/virtio-dev/201907/msg00035.html
>
> content.tex | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/content.tex b/content.tex
> index 8f0498e..783322b 100644
> --- a/content.tex
> +++ b/content.tex
> @@ -3530,6 +3530,11 @@ \subsubsection{Control Virtqueue}\label{sec:Device Types / Network Device / Devi
> If the driver negotiates the VIRTION_NET_F_CTRL_VLAN feature, it
> can control a VLAN filter table in the device.
>
> +\begin{note}
> +Similar to the MAC address based filtering, the VLAN filtering
> +is also best-effort: unwanted packets could still arrive.
> +\end{note}
> +
> \begin{lstlisting}
> #define VIRTIO_NET_CTRL_VLAN 2
> #define VIRTIO_NET_CTRL_VLAN_ADD 0
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-19 10:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-19 4:11 [virtio-dev] [PATCH] content: explicitly document the VLAN filtering as best-effort Tiwei Bie
2019-07-19 10:00 ` [virtio-dev] " Cornelia Huck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox