]> git.droids-corp.org - dpdk.git/commit
crypto/dpaa2_sec: fix buffer pool ID check
authorGagandeep Singh <g.singh@nxp.com>
Thu, 28 Apr 2022 11:47:21 +0000 (17:17 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 29 Apr 2022 09:20:09 +0000 (11:20 +0200)
commite2b70a309f901b6aa947087a318ba0be3ea8782b
treefd2a5a3332650005234960293331be1b5257e390
parent6a2b01a4106402be0aa50e3e3b1e5098e3a9b646
crypto/dpaa2_sec: fix buffer pool ID check

Simple fd rely on bpid of the buffers whereas
other FD types can support buffers without bpid
of pool.

So moving the bpid check to simple fd to mbuf
conversion function.

Fixes: 8d1f3a5d751b ("crypto/dpaa2_sec: support crypto operation")
Cc: stable@dpdk.org
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c