On Wed, Nov 09, 2022 at 07:32:56PM +0800, Heng Qi wrote: > From: Heng Qi <[email protected]> > > \field{hash_types} can contain multiple bitmasks.
I don't think this matches accepted usage. It's a mask in that cleared bits mask unavailable hash types. Besides I think it would be a grammar error not a syntax one :) > Signed-off-by: Heng Qi <[email protected]> > Reviewed-by: Xuan Zhuo <[email protected]> > --- > content.tex | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/content.tex b/content.tex > index e863709..6fabf1d 100644 > --- a/content.tex > +++ b/content.tex > @@ -3210,7 +3210,7 @@ \subsection{Device configuration > layout}\label{sec:Device Types / Network Device > The next field, \field{supported_hash_types} only exists if the device > supports hash calculation, > i.e. if VIRTIO_NET_F_RSS or VIRTIO_NET_F_HASH_REPORT is set. > > -Field \field{supported_hash_types} contains the bitmask of supported hash > types. > +Field \field{supported_hash_types} contains the bitmasks of supported hash > types. > See \ref{sec:Device Types / Network Device / Device Operation / Processing > of Incoming Packets / Hash calculation for incoming packets / > Supported/enabled hash types} for details of supported hash types. > > \devicenormative{\subsubsection}{Device configuration layout}{Device Types / > Network Device / Device configuration layout} > @@ -4369,7 +4369,7 @@ \subsubsection{Control Virtqueue}\label{sec:Device > Types / Network Device / Devi > u8 hash_key_data[hash_key_length]; > }; > \end{lstlisting} > -Field \field{hash_types} contains a bitmask of allowed hash types as > +Field \field{hash_types} contains bitmasks of allowed hash types as > defined in > \ref{sec:Device Types / Network Device / Device Operation / Processing of > Incoming Packets / Hash calculation for incoming packets / Supported/enabled > hash types}. > Initially the device has all hash types disabled and reports only > VIRTIO_NET_HASH_REPORT_NONE. > @@ -4398,7 +4398,7 @@ \subsubsection{Control Virtqueue}\label{sec:Device > Types / Network Device / Devi > u8 hash_key_data[hash_key_length]; > }; > \end{lstlisting} > -Field \field{hash_types} contains a bitmask of allowed hash types as > +Field \field{hash_types} contains bitmasks of allowed hash types as > defined in > \ref{sec:Device Types / Network Device / Device Operation / Processing of > Incoming Packets / Hash calculation for incoming packets / Supported/enabled > hash types}. > > -- > 2.19.1.6.gb485710b --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
