Lines Matching refs:ethh
466 struct ether_header *ethh; in irdma_form_uda_cm_frame() local
506 ethh = (struct ether_header *)buf; in irdma_form_uda_cm_frame()
520 ether_addr_copy(ethh->ether_dhost, cm_node->rem_mac); in irdma_form_uda_cm_frame()
521 ether_addr_copy(ethh->ether_shost, cm_node->loc_mac); in irdma_form_uda_cm_frame()
523 ((struct ether_vlan_header *)ethh)->evl_proto = in irdma_form_uda_cm_frame()
527 ((struct ether_vlan_header *)ethh)->evl_tag = htons(vtag); in irdma_form_uda_cm_frame()
529 ((struct ether_vlan_header *)ethh)->evl_encap_proto = in irdma_form_uda_cm_frame()
532 ethh->ether_type = htons(ETH_P_IP); in irdma_form_uda_cm_frame()
553 ether_addr_copy(ethh->ether_dhost, cm_node->rem_mac); in irdma_form_uda_cm_frame()
554 ether_addr_copy(ethh->ether_shost, cm_node->loc_mac); in irdma_form_uda_cm_frame()
556 ((struct ether_vlan_header *)ethh)->evl_proto = in irdma_form_uda_cm_frame()
560 ((struct ether_vlan_header *)ethh)->evl_tag = htons(vtag); in irdma_form_uda_cm_frame()
561 ((struct ether_vlan_header *)ethh)->evl_encap_proto = in irdma_form_uda_cm_frame()
564 ethh->ether_type = htons(ETH_P_IPV6); in irdma_form_uda_cm_frame()
3015 struct ether_vlan_header *ethh; in irdma_receive_ilq() local
3032 ethh = rbuf->mem.va; in irdma_receive_ilq()
3034 if (ethh->evl_proto == htons(ETH_P_8021Q)) { in irdma_receive_ilq()
3035 vtag = ntohs(ethh->evl_tag); in irdma_receive_ilq()