summaryrefslogtreecommitdiff
path: root/drivers/baseband
diff options
context:
space:
mode:
authorAmr Mokhtar <amr.mokhtar@intel.com>2018-07-19 14:03:53 +0100
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2018-07-25 08:22:14 +0200
commitb9cf7fe64d8431ac73c783f30a92287b749a2c42 (patch)
treea13970d759ff42992862ffe7b7347978180c7c9d /drivers/baseband
parent11e5ba72cf672c64c003131c43c4b42ecc087b07 (diff)
downloaddpdk-next-eventdev-b9cf7fe64d8431ac73c783f30a92287b749a2c42.zip
dpdk-next-eventdev-b9cf7fe64d8431ac73c783f30a92287b749a2c42.tar.gz
dpdk-next-eventdev-b9cf7fe64d8431ac73c783f30a92287b749a2c42.tar.xz
baseband/turbo_sw: update for FlexRAN 1.6.0
Update BBDEV Turbo SW driver download/build instructions for FlexRAN 1.6.0 release Signed-off-by: Amr Mokhtar <amr.mokhtar@intel.com>
Diffstat (limited to 'drivers/baseband')
-rw-r--r--drivers/baseband/turbo_sw/bbdev_turbo_software.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/baseband/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
index 1a2430e..8ceb276 100644
--- a/drivers/baseband/turbo_sw/bbdev_turbo_software.c
+++ b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
@@ -490,8 +490,8 @@ process_enc_cb(struct turbo_sw_queue *q, struct rte_bbdev_enc_op *op,
return;
}
crc_req.data = in;
- crc_req.len = (k - 24) >> 3;
- /* Check if there is a room for CRC bits. If not use
+ crc_req.len = k - 24;
+ /* Check if there is a room for CRC bits if not use
* the temporary buffer.
*/
if (rte_pktmbuf_append(m_in, 3) == NULL) {
@@ -522,8 +522,8 @@ process_enc_cb(struct turbo_sw_queue *q, struct rte_bbdev_enc_op *op,
return;
}
crc_req.data = in;
- crc_req.len = (k - 24) >> 3;
- /* Check if there is a room for CRC bits. If this is the last
+ crc_req.len = k - 24;
+ /* Check if there is a room for CRC bits if this is the last
* CB in TB. If not use temporary buffer.
*/
if ((c - r == 1) && (rte_pktmbuf_append(m_in, 3) == NULL)) {