git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6dbfb7
)
net/i40e/base: add bus number info
author
Jingjing Wu
<jingjing.wu@intel.com>
Sat, 10 Dec 2016 11:24:31 +0000
(19:24 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:27 +0000
(19:39 +0100)
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 <jingjing.wu@intel.com>
drivers/net/i40e/base/i40e_type.h
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index
5a59ce2
..
530ee5e
100644
(file)
--- 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 */