netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* i40e - Is i40e_force_link_state doing the right thing ?
@ 2018-05-15 20:15 Chaitanya Lala
  2018-05-15 20:31 ` Alexander Duyck
  2018-05-15 21:24 ` Stachura, Mariusz
  0 siblings, 2 replies; 6+ messages in thread
From: Chaitanya Lala @ 2018-05-15 20:15 UTC (permalink / raw)
  To: netdev, mariusz.stachura, mitch.a.williams, andrewx.bowers,
	jeffrey.t.kirsher

Hi,

I am trying to bring up a Intel XL710 4x10G Intel card using the
latest mainline top-of-tree.
The problem is that "ifconfig up" and "ifconfig down" do not take
effect at the link state level.
I tracked the problem down to i40e_force_link_state() when it is
called from i40e_down().
It calls i40e_force_link_state with "is_up" == false. In-turn it
calls, i40e_aq_set_link_restart_an(hw, true, NULL).

Should the second argument of  i40e_aq_set_link_restart_an be "is_up"
vs the current "true"
i.e. i40e_aq_set_link_restart_an(hw, is_up, NULL). ? When I make this
change, the link state syncs-up with
the interface administrative state.

Is this a bug ?

Thanks,
Chaitanya

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-16 15:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-15 20:15 i40e - Is i40e_force_link_state doing the right thing ? Chaitanya Lala
2018-05-15 20:31 ` Alexander Duyck
2018-05-15 21:24 ` Stachura, Mariusz
2018-05-15 21:47   ` Chaitanya Lala
2018-05-16  7:49     ` Stachura, Mariusz
2018-05-16 15:35       ` Chaitanya Lala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).