Thread (2 messages) flat view 2 messages, 2 authors, 2018-05-04

Re: [PATCH net-next] liquidio: support use of ethtool to set link speed of CN23XX-225 cards

From: David Miller <davem@davemloft.net>
Date: 2018-05-04 17:00:26

From: Felix Manlunas <redacted>
Date: Thu, 3 May 2018 19:23:25 -0700
+static int lio_set_link_ksettings(struct net_device *netdev,
+				  const struct ethtool_link_ksettings *ecmd)
+{
+	struct lio *lio = GET_LIO(netdev);
+	struct octeon_device *oct = lio->oct_dev;
+	struct oct_link_info *linfo;
+	const int speed = ecmd->base.speed;
+	u32 is25G = 0;
Please order local variable declarations from longest to shortest line,
as was properly done in the rest of this patch.

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help