Home
last modified time | relevance | path

Searched refs:sectag (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c616 struct mlx5_sectag_header sectag = {}; in macsec_fs_tx_create_sectag_header() local
620 sectag.ethertype = htons(ETH_P_MACSEC); in macsec_fs_tx_create_sectag_header()
623 sectag.tci_an |= MACSEC_TCI_SC; in macsec_fs_tx_create_sectag_header()
624 memcpy(&sectag.sci, &secy->sci, in macsec_fs_tx_create_sectag_header()
625 sizeof(sectag.sci)); in macsec_fs_tx_create_sectag_header()
628 sectag.tci_an |= MACSEC_TCI_ES; in macsec_fs_tx_create_sectag_header()
630 sectag.tci_an |= MACSEC_TCI_SCB; in macsec_fs_tx_create_sectag_header()
635 sectag.tci_an |= MACSEC_TCI_CONFID; in macsec_fs_tx_create_sectag_header()
637 sectag.tci_an |= MACSEC_TCI_C; in macsec_fs_tx_create_sectag_header()
639 sectag.tci_an |= tx_sc->encoding_sa; in macsec_fs_tx_create_sectag_header()
[all …]