Thread (12 messages) 12 messages, 2 authors, 2016-01-05

Re: [PATCH v2 3/4] vmxnet3: add TSO support

From: Yong Wang <hidden>
Date: 2016-01-05 23:45:50

On 1/4/16, 9:14 PM, "Stephen Hemminger" [off-list ref] wrote:


On Mon,  4 Jan 2016 18:28:18 -0800
Yong Wang [off-list ref] wrote:
quoted
+	mbuf = txq->cmd_ring.buf_info[eop_idx].m;
+	if (unlikely(mbuf == NULL))
+		rte_panic("EOP desc does not point to a valid mbuf");
+	else
The unlikely is really not needed with rte_panic since it is declared
with cold attribute which has same effect.

Else is unnecessary because rte_panic never returns.
Done.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help