Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c246 struct aq_mss_egress_sa_record sa_rec; in aq_get_txsa_next_pn() local
249 ret = aq_mss_get_egress_sa_record(hw, &sa_rec, sa_idx); in aq_get_txsa_next_pn()
251 *pn = sa_rec.next_pn; in aq_get_txsa_next_pn()
258 struct aq_mss_ingress_sa_record sa_rec; in aq_get_rxsa_next_pn() local
261 ret = aq_mss_get_ingress_sa_record(hw, &sa_rec, sa_idx); in aq_get_rxsa_next_pn()
263 *pn = (!sa_rec.sat_nextpn) ? sa_rec.next_pn : 0; in aq_get_rxsa_next_pn()
550 struct aq_mss_egress_sa_record sa_rec; in aq_update_txsa() local
554 memset(&sa_rec, 0, sizeof(sa_rec)); in aq_update_txsa()
555 sa_rec.valid = tx_sa->active; in aq_update_txsa()
556 sa_rec.fresh = 1; in aq_update_txsa()
[all …]
/Linux-v6.6/drivers/infiniband/core/
Dsa_query.c702 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs() local
719 sa_rec->reversible != 0) in ib_nl_set_path_rec_attrs()
727 val64 = be64_to_cpu(sa_rec->service_id); in ib_nl_set_path_rec_attrs()
733 sizeof(sa_rec->dgid), &sa_rec->dgid); in ib_nl_set_path_rec_attrs()
736 sizeof(sa_rec->sgid), &sa_rec->sgid); in ib_nl_set_path_rec_attrs()
739 sizeof(sa_rec->traffic_class), &sa_rec->traffic_class); in ib_nl_set_path_rec_attrs()
742 val16 = be16_to_cpu(sa_rec->pkey); in ib_nl_set_path_rec_attrs()
747 val16 = be16_to_cpu(sa_rec->qos_class); in ib_nl_set_path_rec_attrs()