Lines Matching refs:eth
83 rdma_get_mcast_mac(&in6, ah->av.eth.mac);
85 memcpy(ah->av.eth.mac, ah_attr->dmac, ETH_ALEN);
90 ah->av.eth.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24));
91 ah->av.eth.gid_index = ah_attr->grh.sgid_index;
92 ah->av.eth.vlan = cpu_to_be16(vlan_tag);
94 ah->av.eth.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET;
95 while (ah->av.eth.stat_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET &&
96 !(1 << ah->av.eth.stat_rate & dev->caps.stat_rate_support))
97 --ah->av.eth.stat_rate;
106 memcpy(ah->av.eth.dgid, ah_attr->grh.dgid.raw, 16);
107 ah->av.eth.sl_tclass_flowlabel = cpu_to_be32(ah_attr->sl << 29);