Searched refs:FIP_BPW (Results 1 – 4 of 4) sorted by relevance
43 vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW); in qedf_fcoe_send_vlan_req()46 vlan->desc.mac.fd_desc.fip_dlen = sizeof(vlan->desc.mac) / FIP_BPW; in qedf_fcoe_send_vlan_req()50 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW; in qedf_fcoe_send_vlan_req()93 dlen = desc->fip_dlen * FIP_BPW; in qedf_fcoe_process_vlan_resp()231 rlen = ntohs(fiph->fip_dl_len) * FIP_BPW; in qedf_fip_recv()234 dlen = desc->fip_dlen * FIP_BPW; in qedf_fip_recv()
404 sol->fip.fip_dl_len = htons(sizeof(sol->desc) / FIP_BPW); in fcoe_ctlr_solicit()410 sol->desc.mac.fd_desc.fip_dlen = sizeof(sol->desc.mac) / FIP_BPW; in fcoe_ctlr_solicit()414 sol->desc.wwnn.fd_desc.fip_dlen = sizeof(sol->desc.wwnn) / FIP_BPW; in fcoe_ctlr_solicit()419 sol->desc.size.fd_desc.fip_dlen = sizeof(sol->desc.size) / FIP_BPW; in fcoe_ctlr_solicit()564 ports * sizeof(*vn)) / FIP_BPW); in fcoe_ctlr_send_keep_alive()570 kal->mac.fd_desc.fip_dlen = sizeof(kal->mac) / FIP_BPW; in fcoe_ctlr_send_keep_alive()575 vn->fd_desc.fip_dlen = sizeof(*vn) / FIP_BPW; in fcoe_ctlr_send_keep_alive()652 cap->encaps.fd_desc.fip_dlen = dlen / FIP_BPW; in fcoe_ctlr_encaps()658 mac->fd_desc.fip_dlen = sizeof(*mac) / FIP_BPW; in fcoe_ctlr_encaps()672 cap->fip.fip_dl_len = htons(dlen / FIP_BPW); in fcoe_ctlr_encaps()[all …]
330 dlen = desc->fip_dlen * FIP_BPW; in is_fnic_fip_flogi_reject()390 vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW); in fnic_fcoe_send_vlan_req()393 vlan->desc.mac.fd_desc.fip_dlen = sizeof(vlan->desc.mac) / FIP_BPW; in fnic_fcoe_send_vlan_req()397 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW; in fnic_fcoe_send_vlan_req()439 dlen = desc->fip_dlen * FIP_BPW; in fnic_fcoe_process_vlan_resp()571 if (ntohs(fiph->fip_dl_len) * FIP_BPW + sizeof(*fiph) > skb->len) in fnic_fcoe_handle_fip_frame()
57 #define FIP_BPW 4 /* bytes per word for lengths */ macro