git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
qede: add L2 support
[dpdk.git]
/
drivers
/
net
/
qede
/
base
/
ecore_chain.h
diff --git
a/drivers/net/qede/base/ecore_chain.h
b/drivers/net/qede/base/ecore_chain.h
index
98bbffc
..
c573449
100644
(file)
--- a/
drivers/net/qede/base/ecore_chain.h
+++ b/
drivers/net/qede/base/ecore_chain.h
@@
-251,6
+251,12
@@
static OSAL_INLINE u32 ecore_chain_get_page_cnt(struct ecore_chain *p_chain)
return p_chain->page_cnt;
}
+static OSAL_INLINE
+dma_addr_t ecore_chain_get_pbl_phys(struct ecore_chain *p_chain)
+{
+ return p_chain->pbl.p_phys_table;
+}
+
/**
* @brief ecore_chain_advance_page -
*