Home
last modified time | relevance | path

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

/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 …]
/drivers/infiniband/core/
Dsa_query.c706 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs() local
723 sa_rec->reversible != 0) in ib_nl_set_path_rec_attrs()
731 val64 = be64_to_cpu(sa_rec->service_id); in ib_nl_set_path_rec_attrs()
737 sizeof(sa_rec->dgid), &sa_rec->dgid); in ib_nl_set_path_rec_attrs()
740 sizeof(sa_rec->sgid), &sa_rec->sgid); in ib_nl_set_path_rec_attrs()
743 sizeof(sa_rec->traffic_class), &sa_rec->traffic_class); in ib_nl_set_path_rec_attrs()
746 val16 = be16_to_cpu(sa_rec->pkey); in ib_nl_set_path_rec_attrs()
751 val16 = be16_to_cpu(sa_rec->qos_class); in ib_nl_set_path_rec_attrs()