[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180921104629.GA20315@chelsio.com>
Date: Fri, 21 Sep 2018 16:16:31 +0530
From: Arjun Vynipadath <arjun@...lsio.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, dt@...lsio.com,
nirranjan@...lsio.com, indranil@...lsio.com,
Casey Leedom <leedom@...lsio.com>,
Ganesh Goudar <ganeshgr@...lsio.com>
Subject: Re: [PATCH net-next] cxgb4vf: Add ethtool private flags for changing
force_link_up
On Tuesday, September 09/18/18, 2018 at 11:39:14 -0700, Jakub Kicinski wrote:
> On Tue, 18 Sep 2018 18:37:23 +0530, Arjun Vynipadath wrote:
> > Forcing link up of virtual interfaces even when physical link is down
> > causes packet drops and ping failures during bonding failover. Hence
> > adding a ethtool private flag to toggle force_link_up whenever required.
> >
> > Signed-off-by: Arjun Vynipadath <arjun@...lsio.com>
> > Signed-off-by: Casey Leedom <leedom@...lsio.com>
> > Signed-off-by: Ganesh Goudar <ganeshgr@...lsio.com>
>
> Could you describe how this mechanism relates to the existing
> ndo_set_vf_link_state, which you seem to not make use of:
>
> $ git grep ndo_set_vf_link_state -- drivers/net/ethernet/chelsio/
> $
>
> I understand you're configuring the setting from the VF side, but the
> question, as always, is: why ;)
Hi Jakub,
ndo_set_vf_link_state can't be presently used in our case.
We dont have firmware support to communicate the link flags set through
ndo_set_vf_link_state from pf (cxgb4) driver to vf (cxgb4vf) driver.
Thanks,
Arjun.
Powered by blists - more mailing lists