Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c690 struct aq_mss_ingress_preclass_record pre_class_record; in aq_set_rxsc() local
698 memset(&pre_class_record, 0, sizeof(pre_class_record)); in aq_set_rxsc()
699 put_unaligned_be64((__force u64)rx_sc->sci, pre_class_record.sci); in aq_set_rxsc()
700 pre_class_record.sci_mask = 0xff; in aq_set_rxsc()
702 pre_class_record.eth_type = ETH_P_MACSEC; in aq_set_rxsc()
703 pre_class_record.eth_type_mask = 0x3; in aq_set_rxsc()
705 aq_ether_addr_to_mac(pre_class_record.mac_sa, (char *)&rx_sc->sci); in aq_set_rxsc()
706 pre_class_record.sa_mask = 0x3f; in aq_set_rxsc()
708 pre_class_record.an_mask = nic->macsec_cfg->sc_sa; in aq_set_rxsc()
709 pre_class_record.sc_idx = hw_sc_idx; in aq_set_rxsc()
[all …]