Skip to contentSkip to conversation

virtio-net: fix a display for num_buffers

PATCH Superseded Jiang Wang 2 participants 2 messages May 4, 2021 – Jun 1, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jiang Wang

author
#0 lore raw

PATCH 1/1 virtio-net: fix a display for num_buffers

One of num_buffers does not display correctly in the html. The _b becomes a subscript b. This will prevent it to be searched by using keyword num_buffers.

Fix it by add an escape character.

---
 content.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
content.tex +1 -1
index b72bad0..21fb4c4 100644
@@ -3595,7 +3595,7 @@ \subsubsection{Processing of Incoming Packets}\label{sec:Device Types / Network
 the packet (including the header) is spread over.
 
 If a receive packet is spread over multiple buffers, the device
-MUST use all buffers but the last (i.e. the first $num_buffers -
+MUST use all buffers but the last (i.e. the first $num\_buffers -
 1$ buffers) completely up to the full length of each buffer
 supplied by the driver.
 
Signature · 18 lines
2.11.0


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: [email protected]
Unsubscribe: [email protected]
List help: [email protected]
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/
#1 lore raw
Quoted 16 lines · On Tue, 4 May 2021 18:13:07 +0000 Jiang Wang <[email protected]> wrote:

One of num_buffers does not display correctly in the html. The _b becomes a subscript b. This will prevent it to be searched by using keyword num_buffers.

Fix it by add an escape character.

---
 content.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
content.tex +0 -0
index b72bad0..21fb4c4 100644

content.tex \subsubsection{Processing of Incoming Packets}\label{sec:Device Types / Network · line 3601

Quoted 8 lines
content.tex +1 -1
@@ -3595,7 +3595,7 @@ \subsubsection{Processing of Incoming Packets}\label{sec:Device Types / Network
 the packet (including the header) is spread over.
 
 If a receive packet is spread over multiple buffers, the device
-MUST use all buffers but the last (i.e. the first $num_buffers -
+MUST use all buffers but the last (i.e. the first $num\_buffers -
 1$ buffers) completely up to the full length of each buffer
 supplied by the driver.
 

This looks a bit better in the output, but I'm wondering whether using "\field{num_buffers} - 1" would be a more consistent way.

This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting.

Subscribe: [email protected]
Unsubscribe: [email protected]
List help: [email protected]
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/