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:01:33

On Thu, 18 Dec 2014 19:25:19 -0800
Raghu Vatsavayi [off-list ref] wrote:
+
+static u32 lio_get_link(struct net_device *dev)
+{
+	u32 ret;
+
+	ret = netif_carrier_ok(dev) ? 1 : 0;
+	return ret;
+}
+
This is unnecessary, this is what the default ethtool handler already does
if you give a NULL handler.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help