From: Jingjing Wu Date: Sat, 10 Dec 2016 11:24:31 +0000 (+0800) Subject: net/i40e/base: add bus number info X-Git-Tag: spdx-start~5031 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9d996cf5966bd4c024ab964b39d043b6cb7f3122;p=dpdk.git net/i40e/base: add bus number info Currently i40e_bus_info has PCI device and function info only. However in log messages slot number (i.e hw->bus.device) is being printed as bus number. Another field should be added to provide bus number info and preserve existing information. Signed-off-by: Jingjing Wu --- diff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/base/i40e_type.h index 5a59ce28ed..530ee5e458 100644 --- a/drivers/net/i40e/base/i40e_type.h +++ b/drivers/net/i40e/base/i40e_type.h @@ -561,6 +561,7 @@ struct i40e_bus_info { u16 func; u16 device; u16 lan_id; + u16 bus_id; }; /* Flow control (FC) parameters */