[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [virtio-comment] [PATCH 1/4] virtio-net: Place C code under listing
> From: Cornelia Huck <cohuck@redhat.com> > Sent: Thursday, July 13, 2023 5:13 AM > To: Parav Pandit <parav@nvidia.com>; virtio-comment@lists.oasis-open.org; > mst@redhat.com > On Thu, Jul 13 2023, Parav Pandit <parav@nvidia.com> wrote: > > > With extra white space for the define, pdf generation fails. > > Also place the C code under listing. > > > > Signed-off-by: Parav Pandit <parav@nvidia.com> > > --- > > device-types/net/description.tex | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/device-types/net/description.tex > > b/device-types/net/description.tex > > index 206020d..6fd4a20 100644 > > --- a/device-types/net/description.tex > > +++ b/device-types/net/description.tex > > @@ -1024,12 +1024,14 @@ \subsubsection{Processing of Incoming > > Packets}\label{sec:Device Types / Network If VIRTIO_NET_F_HASH_TUNNEL > > has been negotiated, the driver can send the command > VIRTIO_NET_CTRL_HASH_TUNNEL_SET to configure the calculation of the inner > header hash. > > > > +\begin{lstlisting} > > struct virtnet_hash_tunnel { > > le32 enabled_tunnel_types; > > }; > > > > #define VIRTIO_NET_CTRL_HASH_TUNNEL 7 > > - #define VIRTIO_NET_CTRL_HASH_TUNNEL_SET 0 > > +#define VIRTIO_NET_CTRL_HASH_TUNNEL_SET 0 > > I think the indentation here is intentional (as in other, similare > sections.) > Oh right. It is the command part. > > +\end{lstlisting} > > > > Field \field{enabled_tunnel_types} contains the bitmask of encapsulation > types enabled for inner header hash. > > See \ref{sec:Device Types / Network Device / Device Operation / > > Processing of Incoming Packets /
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]