Thread (52 messages) 52 messages, 9 authors, 2015-06-11

Re: [PATCH net-next v3] Add support of Cavium Liquidio ethernet adapters

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2014-12-19 07:07:22

On Thu, 18 Dec 2014 19:25:19 -0800
Raghu Vatsavayi [off-list ref] wrote:
+/** \brief Network device get stats
+ * @param netdev    pointer to network device
+ * @returns pointer stats structure
+ */
+static struct net_device_stats *liquidio_stats(struct net_device *netdev)
+{
+	return &(GET_LIO(netdev)->stats);
+}
+
Unnecessary function, this is what network core does already
if .ndo_get_stats is NULL;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help