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

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

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2016-01-05 05:15:13

On Mon,  4 Jan 2016 18:28:18 -0800
Yong Wang [off-list ref] wrote:
+/* The number of descriptors that are needed for a packet. */
+static unsigned
+txd_estimate(const struct rte_mbuf *m)
+{
+	return m->nb_segs;
+}
+
A wrapper function only really clarifies if it is hiding some information.
Why not just code this in place?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help