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
net/softnic: support packet tag action
[dpdk.git]
/
drivers
/
baseband
/
turbo_sw
/
bbdev_turbo_software.c
diff --git
a/drivers/baseband/turbo_sw/bbdev_turbo_software.c
b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
index
1a2430e
..
8ceb276
100644
(file)
--- 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;
return;
}
crc_req.data = in;
- crc_req.len =
(k - 24) >> 3
;
- /* Check if there is a room for CRC bits
. I
f not use
+ crc_req.len =
k - 24
;
+ /* Check if there is a room for CRC bits
i
f not use
* the temporary buffer.
*/
if (rte_pktmbuf_append(m_in, 3) == NULL) {
* 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;
return;
}
crc_req.data = in;
- crc_req.len =
(k - 24) >> 3
;
- /* Check if there is a room for CRC bits
. I
f this is the last
+ crc_req.len =
k - 24
;
+ /* Check if there is a room for CRC bits
i
f this is the last
* CB in TB. If not use temporary buffer.
*/
if ((c - r == 1) && (rte_pktmbuf_append(m_in, 3) == NULL)) {
* CB in TB. If not use temporary buffer.
*/
if ((c - r == 1) && (rte_pktmbuf_append(m_in, 3) == NULL)) {