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
bus/pci: fix Windows kernel driver categories
[dpdk.git]
/
drivers
/
net
/
bnxt
/
bnxt_rxr.h
diff --git
a/drivers/net/bnxt/bnxt_rxr.h
b/drivers/net/bnxt/bnxt_rxr.h
index
0e31b37
..
06d1084
100644
(file)
--- a/
drivers/net/bnxt/bnxt_rxr.h
+++ b/
drivers/net/bnxt/bnxt_rxr.h
@@
-37,6
+37,10
@@
static inline uint16_t bnxt_tpa_start_agg_id(struct bnxt *bp,
#define BNXT_TPA_END_AGG_ID_TH(cmp) \
rte_le_to_cpu_16((cmp)->agg_id)
#define BNXT_TPA_END_AGG_ID_TH(cmp) \
rte_le_to_cpu_16((cmp)->agg_id)
+#define BNXT_RX_L2_AGG_BUFS(cmp) \
+ (((cmp)->agg_bufs_v1 & RX_PKT_CMPL_AGG_BUFS_MASK) >> \
+ RX_PKT_CMPL_AGG_BUFS_SFT)
+
#define BNXT_RX_POST_THRESH 32
/* Number of descriptors to process per inner loop in vector mode. */
#define BNXT_RX_POST_THRESH 32
/* Number of descriptors to process per inner loop in vector mode. */