Lines Matching refs:eth
93 memcpy(ah->av.eth.mac, ah_attr->roce.dmac, ETH_ALEN);
94 eth_zero_addr(ah->av.eth.s_mac);
103 &ah->av.eth.s_mac[0]);
110 ah->av.eth.gid_index = ret;
113 ah->av.eth.gid_index = ah_attr->grh.sgid_index;
118 ah->av.eth.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn |
120 ah->av.eth.vlan = cpu_to_be16(vlan_tag);
121 ah->av.eth.hop_limit = grh->hop_limit;
123 ah->av.eth.stat_rate = rdma_ah_get_static_rate(ah_attr) +
125 while (ah->av.eth.stat_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET &&
126 !(1 << ah->av.eth.stat_rate & dev->caps.stat_rate_support))
127 --ah->av.eth.stat_rate;
129 ah->av.eth.sl_tclass_flowlabel |=
138 memcpy(ah->av.eth.dgid, grh->dgid.raw, 16);
139 ah->av.eth.sl_tclass_flowlabel |= cpu_to_be32(rdma_ah_get_sl(ah_attr)
188 memcpy(mah->av.eth.s_mac, s_mac, 6);
192 mah->av.eth.vlan = cpu_to_be16(vlan_tag);
208 be32_to_cpu(ah->av.eth.sl_tclass_flowlabel)