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:
b82226b
)
net/szedata2: fix device memory access
author
Matej Vido
<vido@cesnet.cz>
Tue, 24 Jan 2017 10:49:52 +0000
(11:49 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 30 Jan 2017 21:18:26 +0000
(22:18 +0100)
Fixes:
8acba705b119
("net/szedata2: localize handling of PCI resources")
Signed-off-by: Matej Vido <vido@cesnet.cz>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/szedata2/rte_eth_szedata2.h
patch
|
blob
|
history
diff --git
a/drivers/net/szedata2/rte_eth_szedata2.h
b/drivers/net/szedata2/rte_eth_szedata2.h
index
b58adb6
..
afe8a38
100644
(file)
--- a/
drivers/net/szedata2/rte_eth_szedata2.h
+++ b/
drivers/net/szedata2/rte_eth_szedata2.h
@@
-192,7
+192,7
@@
pci_resource_write64(struct rte_mem_resource *rsc, uint32_t offset,
}
#define SZEDATA2_PCI_RESOURCE_PTR(rsc, offset, type) \
- ((type)((
uint8_t *)(rsc)->addr) + (offset
))
+ ((type)((
(uint8_t *)(rsc)->addr) + (offset)
))
enum szedata2_link_speed {
SZEDATA2_LINK_SPEED_DEFAULT = 0,