Home
last modified time | relevance | path

Searched refs:FIP_BPW (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/scsi/qedf/
Dqedf_fip.c43 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()
/linux-5.19.10/drivers/scsi/fcoe/
Dfcoe_ctlr.c404 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 …]
/linux-5.19.10/drivers/scsi/fnic/
Dfnic_fcs.c342 dlen = desc->fip_dlen * FIP_BPW; in is_fnic_fip_flogi_reject()
402 vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW); in fnic_fcoe_send_vlan_req()
405 vlan->desc.mac.fd_desc.fip_dlen = sizeof(vlan->desc.mac) / FIP_BPW; in fnic_fcoe_send_vlan_req()
409 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW; in fnic_fcoe_send_vlan_req()
451 dlen = desc->fip_dlen * FIP_BPW; in fnic_fcoe_process_vlan_resp()
583 if (ntohs(fiph->fip_dl_len) * FIP_BPW + sizeof(*fiph) > skb->len) in fnic_fcoe_handle_fip_frame()
/linux-5.19.10/include/scsi/fc/
Dfc_fip.h57 #define FIP_BPW 4 /* bytes per word for lengths */ macro