summaryrefslogtreecommitdiff
path: root/drivers/bus/fslmc
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2018-01-15 17:08:02 +0530
committerFerruh Yigit <ferruh.yigit@intel.com>2018-01-21 15:51:52 +0100
commit043b36f621dd27b948188237f3213712a4b194df (patch)
treecc39f741e433863949662ef3053efc807a20a9f4 /drivers/bus/fslmc
parentf64b91b0eb5d4721bbc93cbcc5b6044c1bb04300 (diff)
downloaddpdk-043b36f621dd27b948188237f3213712a4b194df.zip
dpdk-043b36f621dd27b948188237f3213712a4b194df.tar.gz
dpdk-043b36f621dd27b948188237f3213712a4b194df.tar.xz
net/dpaa2: support more than 16 burst size in Rx
This patch enhances the Rx function to support more than 16 burst size. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Diffstat (limited to 'drivers/bus/fslmc')
-rw-r--r--drivers/bus/fslmc/portal/dpaa2_hw_pvt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
index 46f1e75..9436d37 100644
--- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
+++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
@@ -93,8 +93,9 @@ struct dpaa2_dpbp_dev {
struct queue_storage_info_t {
struct qbman_result *dq_storage[NUM_DQS_PER_QUEUE];
struct qbman_result *active_dqs;
- int active_dpio_id;
- int toggle;
+ uint8_t active_dpio_id;
+ uint8_t toggle;
+ uint8_t last_num_pkts;
};
struct dpaa2_queue;