Searched refs:udh (Results 1 – 1 of 1) sorted by relevance
382 struct ib_ud_header *udh, in qedr_gsi_build_header() argument428 has_grh_ipv6, ip_ver, has_udp, 0, udh); in qedr_gsi_build_header()435 ether_addr_copy(udh->eth.dmac_h, ah_attr->roce.dmac); in qedr_gsi_build_header()436 ether_addr_copy(udh->eth.smac_h, dev->ndev->dev_addr); in qedr_gsi_build_header()438 udh->eth.type = htons(ETH_P_8021Q); in qedr_gsi_build_header()439 udh->vlan.tag = htons(vlan_id); in qedr_gsi_build_header()440 udh->vlan.type = htons(ether_type); in qedr_gsi_build_header()442 udh->eth.type = htons(ether_type); in qedr_gsi_build_header()446 udh->bth.solicited_event = !!(swr->send_flags & IB_SEND_SOLICITED); in qedr_gsi_build_header()447 udh->bth.pkey = QEDR_ROCE_PKEY_DEFAULT; in qedr_gsi_build_header()[all …]