[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170821.110419.1444561309238985446.davem@davemloft.net>
Date: Mon, 21 Aug 2017 11:04:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: felix.manlunas@...ium.com
Cc: netdev@...r.kernel.org, raghu.vatsavayi@...ium.com,
derek.chickles@...ium.com, satananda.burla@...ium.com,
veerasenareddy.burru@...ium.com
Subject: Re: [PATCH net-next 2/2] liquidio: make VF driver notify NIC
firmware of MTU change
From: Felix Manlunas <felix.manlunas@...ium.com>
Date: Fri, 18 Aug 2017 11:35:20 -0700
> Signed-off-by: Veerasenareddy Burru <veerasenareddy.burru@...ium.com>
> Signed-off-by: Felix Manlunas <felix.manlunas@...ium.com>
> ---
> drivers/net/ethernet/cavium/liquidio/lio_vf_main.c | 22 ++++++++++++++++++----
> 1 file changed, 18 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/net/ethernet/cavium/liquidio/lio_vf_main.c b/drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
> index 0402b18..e947783 100644
> --- a/drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
> +++ b/drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
> @@ -1545,13 +1545,27 @@ static struct net_device_stats *liquidio_get_stats(struct net_device *netdev)
> static int liquidio_change_mtu(struct net_device *netdev, int new_mtu)
> {
> struct lio *lio = GET_LIO(netdev);
> + struct octeon_device *oct = lio->oct_dev;
> + struct octnic_ctrl_pkt nctrl;
> + int ret = 0;
Please order local variable declarations from longest to shortest line.
Powered by blists - more mailing lists