[PATCH 05/15] common/cnxk: add MACsec PN and LMAC mode configuration

Jerin Jacob jerinjacobk at gmail.com
Fri May 26 12:20:51 CEST 2023


On Wed, May 24, 2023 at 1:34 AM Akhil Goyal <gakhil at marvell.com> wrote:
>
> Added ROC APIs for setting packet number and LMAC
> related configurations.
>
> Signed-off-by: Ankur Dwivedi <adwivedi at marvell.com>
> Signed-off-by: Vamsi Attunuru <vattunuru at marvell.com>
> Signed-off-by: Akhil Goyal <gakhil at marvell.com>
> +struct mcs_set_active_lmac {
> +       struct mbox_msghdr hdr;
> +       uint32_t __io lmac_bmap; /* bitmap of active lmac per mcs block */
> +       uint8_t __io mcs_id;
> +       uint16_t channel_base; /* MCS channel base */

Gotcha . Found a missing __io

> +       uint64_t __io rsvd;
> +};
> +


More information about the dev mailing list