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