diff --git a/QDMA/DPDK/docs/README.txt b/QDMA/DPDK/docs/README.txt index 9c202aecfc0635370f4397157699b166e86e7b49..c14175a9726b52304cd58210ba549dfc7e06fbdf 100755 --- a/QDMA/DPDK/docs/README.txt +++ b/QDMA/DPDK/docs/README.txt @@ -20,7 +20,7 @@ Note: This DPDK driver and applciation were tested on Ubuntu 18.04 machine. 1.) Setup: Download and modifications -The reference driver code requires DPDK version 20.11. +The reference driver code requires DPDK version 22.11. Follow the steps below to download the proper version of DPDK and apply driver code and test application supplied in the GitHub. @@ -34,12 +34,12 @@ is installed and move to this directory. $ cd <server_dir>/<dpdk_test_area> $ git clone http://dpdk.org/git/dpdk-stable $ cd dpdk-stable - $ git checkout v20.11 + $ git checkout v22.11 $ git clone git://dpdk.org/dpdk-kmods $ cp -r <dpdk_sw_database>/drivers/net/qdma ./drivers/net/ $ cp -r <dpdk_sw_database>/examples/qdma_testapp ./examples/ - Additionally, make below changes to the DPDK 20.11 tree to build QDMA driver, + Additionally, make below changes to the DPDK 22.11 tree to build QDMA driver, support 4K queues and populate Xilinx devices for binding. i. Add QDMA driver @@ -48,7 +48,7 @@ is installed and move to this directory. CONFIG_RTE_MAX_ETHPORTS=256 CONFIG_RTE_MAX_QUEUES_PER_PORT=4096 - b. Add below lines to ./config/meson.build in DPDK 20.11 tree + b. Add below lines to ./config/meson.build in DPDK 22.11 tree # Set maximum Ethernet ports to 256 dpdk_conf.set('RTE_MAX_ETHPORTS', 256) diff --git a/QDMA/DPDK/drivers/net/qdma/qdma_access/qdma_soft_access/qdma_soft_access.c b/QDMA/DPDK/drivers/net/qdma/qdma_access/qdma_soft_access/qdma_soft_access.c index f26a707f15ea7b67a1ef42b72425a5e5ef6b9dc8..2c14a85874d740cd996300fa3a7e1d6b9bc3b149 100755 --- a/QDMA/DPDK/drivers/net/qdma/qdma_access/qdma_soft_access/qdma_soft_access.c +++ b/QDMA/DPDK/drivers/net/qdma/qdma_access/qdma_soft_access/qdma_soft_access.c @@ -4023,7 +4023,7 @@ int qdma_queue_pidx_update(void *dev_hndl, uint8_t is_vf, uint16_t qid, uint32_t reg_val = 0; if (!dev_hndl || !reg_info) { - qdma_log_error("%s: dev_handle is (%p), reg_info is (%p), err:%d\n", + qdma_log_error("%s: dev_hndl:(%p), reg_info:(%p), err:%d\n", __func__, dev_hndl, reg_info, -QDMA_ERR_INV_PARAM); return -QDMA_ERR_INV_PARAM; }