[virtio-dev] Re: [PATCH 3/4] virtio-net: Use table to describe inner hash to rfc mapping
On Thu, Jul 13, 2023 at 10:09:47AM +0200, Cornelia Huck wrote: > On Wed, Jul 12 2023, Parav Pandit wrote: > > >> From: Michael S. Tsirkin > >> Sent: Wednesday, July 12, 2023 6:41 PM > >> Hmm. escapechar did not work then? > > > > Forgot to mention, I tried it, it didn't work. > > It seemed to work for me (at least in the pdf) -- I'd prefer that one as > a minimal change. Yes it really should. Could you post yours please? - To unsubscribe, e-mail: virtio-dev-unsubscr...@lists.oasis-open.org For additional commands, e-mail: virtio-dev-h...@lists.oasis-open.org
[virtio-dev] RE: [PATCH 3/4] virtio-net: Use table to describe inner hash to rfc mapping
On Wed, Jul 12 2023, Parav Pandit wrote: >> From: Michael S. Tsirkin >> Sent: Wednesday, July 12, 2023 6:41 PM >> Hmm. escapechar did not work then? > > Forgot to mention, I tried it, it didn't work. It seemed to work for me (at least in the pdf) -- I'd prefer that one as a minimal change. - To unsubscribe, e-mail: virtio-dev-unsubscr...@lists.oasis-open.org For additional commands, e-mail: virtio-dev-h...@lists.oasis-open.org
[virtio-dev] RE: [PATCH 3/4] virtio-net: Use table to describe inner hash to rfc mapping
> From: Michael S. Tsirkin > Sent: Wednesday, July 12, 2023 6:41 PM > Hmm. escapechar did not work then? Forgot to mention, I tried it, it didn't work. > > > + > > +\begin{tabular}{|l|l|l|} > > +\hline > > +Inner header hash type & Value & Reference \\ \hline \hline > > +VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_2784 & (1 << 0) & > > +\hyperref[intro:rfc2784]{RFC2784} \\ \hline > > +VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_2890 & (1 << 1) & > > +\hyperref[intro:rfc2784]{RFC2784} \\ \hline > > +VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_7676 & (1 << 2) & > > +\hyperref[intro:rfc7676]{RFC7676} \\ \hline > > +VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_UDP & (1 << 3) & > \hyperref[intro:rfc8086]{GRE in UDP} \\ > > +\hline > > +VIRTIO_NET_HASH_TUNNEL_TYPE_VXLAN & (1 << 4) & > \hyperref[intro:vxlan]{VXLAN} \\ > > +\hline > > +VIRTIO_NET_HASH_TUNNEL_TYPE_VXLAN_GPE & (1 << 5) & > > +\hyperref[intro:vxlan gpe]{VXLAN GPE} \\ \hline > > +VIRTIO_NET_HASH_TUNNEL_TYPE_GENEVE& (1 << 6) & > \hyperref[intro:geneve]{GENEVE} \\ > > +\hline > > +VIRTIO_NET_HASH_TUNNEL_TYPE_IPIP & (1 << 7) & > \hyperref[intro:ipip]{IPIP} \\ > > +\hline > > +VIRTIO_NET_HASH_TUNNEL_TYPE_NVGRE & (1 << 8) & > \hyperref[intro:nvgre]{NVGRE} \\ > > +\hline > > +\end{tabular} > > > > \subparagraph{Advice} > > Example uses of the inner header hash: > > -- > > 2.26.2 - To unsubscribe, e-mail: virtio-dev-unsubscr...@lists.oasis-open.org For additional commands, e-mail: virtio-dev-h...@lists.oasis-open.org
[virtio-dev] Re: [PATCH 3/4] virtio-net: Use table to describe inner hash to rfc mapping
On Thu, Jul 13, 2023 at 01:24:04AM +0300, Parav Pandit wrote: > hyperlinks inside the C comments do not work well. > Until we find out a way to represent it, lets present this in table > form. > > Signed-off-by: Parav Pandit > --- > device-types/net/description.tex | 35 ++-- > 1 file changed, 24 insertions(+), 11 deletions(-) > > diff --git a/device-types/net/description.tex > b/device-types/net/description.tex > index 53c811f..68311ab 100644 > --- a/device-types/net/description.tex > +++ b/device-types/net/description.tex > @@ -1065,17 +1065,30 @@ \subsubsection{Processing of Incoming > Packets}\label{sec:Device Types / Network > Hash calculation for incoming packets / Encapsulation types > supported/enabled for inner header hash} > > Encapsulation types applicable for inner header hash: > -\begin{lstlisting} > -#define VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_2784(1 << 0) /* > \hyperref[intro:gre_rfc2784]{[GRE_rfc2784]} */ > -#define VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_2890(1 << 1) /* > \hyperref[intro:gre_rfc2890]{[GRE_rfc2890]} */ > -#define VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_7676(1 << 2) /* > \hyperref[intro:gre_rfc7676]{[GRE_rfc7676]} */ > -#define VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_UDP (1 << 3) /* > \hyperref[intro:gre_in_udp_rfc8086]{[GRE-in-UDP]} */ > -#define VIRTIO_NET_HASH_TUNNEL_TYPE_VXLAN (1 << 4) /* > \hyperref[intro:vxlan]{[VXLAN]} */ > -#define VIRTIO_NET_HASH_TUNNEL_TYPE_VXLAN_GPE (1 << 5) /* > \hyperref[intro:vxlan_gpe]{[VXLAN-GPE]} */ > -#define VIRTIO_NET_HASH_TUNNEL_TYPE_GENEVE (1 << 6) /* > \hyperref[intro:geneve]{[GENEVE]} */ > -#define VIRTIO_NET_HASH_TUNNEL_TYPE_IPIP(1 << 7) /* > \hyperref[intro:ipip]{[IPIP]} */ > -#define VIRTIO_NET_HASH_TUNNEL_TYPE_NVGRE (1 << 8) /* > \hyperref[intro:nvgre]{[NVGRE]} */ > -\end{lstlisting} Hmm. escapechar did not work then? > + > +\begin{tabular}{|l|l|l|} > +\hline > +Inner header hash type & Value & Reference \\ > +\hline \hline > +VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_2784 & (1 << 0) & > \hyperref[intro:rfc2784]{RFC2784} \\ > +\hline > +VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_2890 & (1 << 1) & > \hyperref[intro:rfc2784]{RFC2784} \\ > +\hline > +VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_7676 & (1 << 2) & > \hyperref[intro:rfc7676]{RFC7676} \\ > +\hline > +VIRTIO_NET_HASH_TUNNEL_TYPE_GRE_UDP & (1 << 3) & > \hyperref[intro:rfc8086]{GRE in UDP} \\ > +\hline > +VIRTIO_NET_HASH_TUNNEL_TYPE_VXLAN & (1 << 4) & > \hyperref[intro:vxlan]{VXLAN} \\ > +\hline > +VIRTIO_NET_HASH_TUNNEL_TYPE_VXLAN_GPE & (1 << 5) & \hyperref[intro:vxlan > gpe]{VXLAN GPE} \\ > +\hline > +VIRTIO_NET_HASH_TUNNEL_TYPE_GENEVE& (1 << 6) & > \hyperref[intro:geneve]{GENEVE} \\ > +\hline > +VIRTIO_NET_HASH_TUNNEL_TYPE_IPIP & (1 << 7) & > \hyperref[intro:ipip]{IPIP} \\ > +\hline > +VIRTIO_NET_HASH_TUNNEL_TYPE_NVGRE & (1 << 8) & > \hyperref[intro:nvgre]{NVGRE} \\ > +\hline > +\end{tabular} > > \subparagraph{Advice} > Example uses of the inner header hash: > -- > 2.26.2 - To unsubscribe, e-mail: virtio-dev-unsubscr...@lists.oasis-open.org For additional commands, e-mail: virtio-dev-h...@lists.oasis-open.org