Home
last modified time | relevance | path

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

/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c318 struct aq_mss_egress_class_record tx_class_rec = { 0 }; in aq_set_txsc() local
325 aq_ether_addr_to_mac(tx_class_rec.mac_sa, secy->netdev->dev_addr); in aq_set_txsc()
327 put_unaligned_be64((__force u64)secy->sci, tx_class_rec.sci); in aq_set_txsc()
328 tx_class_rec.sci_mask = 0; in aq_set_txsc()
330 tx_class_rec.sa_mask = 0x3f; in aq_set_txsc()
332 tx_class_rec.action = 0; /* forward to SA/SC table */ in aq_set_txsc()
333 tx_class_rec.valid = 1; in aq_set_txsc()
335 tx_class_rec.sc_idx = sc_idx; in aq_set_txsc()
337 tx_class_rec.sc_sa = nic->macsec_cfg->sc_sa; in aq_set_txsc()
339 ret = aq_mss_set_egress_class_record(hw, &tx_class_rec, txsc_idx); in aq_set_txsc()
[all …]