From: Wenzhuo Lu Date: Fri, 5 Jun 2015 05:21:45 +0000 (+0800) Subject: ixgbe/base: fix lan id for X550em X-Git-Tag: spdx-start~9081 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=480b9a64ba1001dd0f16179ff0f0708b5b699a0a;p=dpdk.git ixgbe/base: fix lan id for X550em The introduction of ixgbe_get_bus_info_X550em failed to call the set_lan_id method to set the func and lan_id and deal with port- swapped configurations. Add the call to resolve the problem. Fixes: 4cf0bb32a912 ("ixgbe/base: get X550 bus info") Signed-off-by: Wenzhuo Lu Acked-by: Helin Zhang --- diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c b/drivers/net/ixgbe/base/ixgbe_x550.c index a1bc579b71..4608f75b44 100644 --- a/drivers/net/ixgbe/base/ixgbe_x550.c +++ b/drivers/net/ixgbe/base/ixgbe_x550.c @@ -2416,6 +2416,8 @@ s32 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw) hw->bus.width = ixgbe_bus_width_unknown; hw->bus.speed = ixgbe_bus_speed_unknown; + hw->mac.ops.set_lan_id(hw); + return IXGBE_SUCCESS; }