net: mvpp2: align values in ethtool get_coalesce
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Mon, 11 Dec 2017 08:13:27 +0000 (09:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 16:16:50 +0000 (11:16 -0500)
Cosmetic patch aligning values in the ethtool get_coalesce function.
This patch do not modify in anyway the driver's behaviour.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c

index 5e88403d21326dedb292c04b588450b384fab9dc..5c16731ee292067874eba2bf109c6eb6b513e729 100644 (file)
@@ -7324,9 +7324,9 @@ static int mvpp2_ethtool_get_coalesce(struct net_device *dev,
 {
        struct mvpp2_port *port = netdev_priv(dev);
 
-       c->rx_coalesce_usecs        = port->rxqs[0]->time_coal;
-       c->rx_max_coalesced_frames  = port->rxqs[0]->pkts_coal;
-       c->tx_max_coalesced_frames =  port->txqs[0]->done_pkts_coal;
+       c->rx_coalesce_usecs       = port->rxqs[0]->time_coal;
+       c->rx_max_coalesced_frames = port->rxqs[0]->pkts_coal;
+       c->tx_max_coalesced_frames = port->txqs[0]->done_pkts_coal;
        return 0;
 }