[EXTERNAL] Should rte_security_session_conf->rte_security_pdcp_xform->bearer be radio beare id - 1?

Akhil Goyal gakhil at marvell.com
Wed Mar 11 09:41:06 CET 2026


> Hi,
> When I run v25.11 dpdk-test and input command
> "cryptodev_dpaa_sec_autotest",  I am not
> sure the value of bearer input to rte_security_session_create() is the 3GPP
> RRC/PDCP bearer id
> or bearer id -1.
> For example, for 3GPP DRB bearer id 5, should input 4 to
> rte_security_session_create() ?
> for RRC SRB1,  the bearer input to  rte_security_session_create() should be 1 or 0
> ?
> I also find that the bearer is directly used to compute IV without any sub 1
> opeartion
> in lib/pdcp/pdcp_process.c : pdcp_iv_gen_func_set( ).
> Anyway,  I hope community can confirm it .
> Thanks a lot .
> 
The security session is not subtracting 1 internally and the drivers are not supposed to do that as well.
This is the 5 bit field, so any value upto 0x1F is allowed.


More information about the users mailing list