Home
last modified time | relevance | path

Searched refs:fip (Results 1 – 21 of 21) sorted by relevance

/drivers/scsi/fcoe/
A Dfcoe_ctlr.c163 struct fcoe_ctlr *fip = new->fip; in fcoe_sysfs_fcf_add() local
236 struct fcoe_ctlr *fip = new->fip; in fcoe_sysfs_fcf_del() local
427 fip->send(fip, skb); in fcoe_ctlr_solicit()
585 fip->send(fip, skb); in fcoe_ctlr_send_keep_alive()
792 fip->send(fip, skb); in fcoe_ctlr_els_send()
1051 fcf->fip = fip; in fcoe_ctlr_recv_adv()
1693 fip->send(fip, skb); in fcoe_ctlr_flogi_send_locked()
1857 mac = fip->get_src_addr(fip->lp); in fcoe_ctlr_timer_work()
2107 fip->send(fip, skb); in fcoe_ctlr_vn_send()
2943 fip->send(fip, skb); in fcoe_ctlr_vlan_send()
[all …]
A Dfcoe.c325 fip->spma = 1; in fcoe_interface_setup()
332 if (!fip->spma) in fcoe_interface_setup()
341 if (fip->spma) in fcoe_interface_setup()
343 if (fip->mode == FIP_MODE_VN2VN) { in fcoe_interface_setup()
462 if (fip->spma) in fcoe_interface_remove()
464 if (fip->mode == FIP_MODE_VN2VN) { in fcoe_interface_remove()
492 fcoe_ctlr_destroy(fip); in fcoe_interface_cleanup()
493 scsi_host_put(fip->lp->host); in fcoe_interface_cleanup()
567 struct fip_header fip; in fcoe_fip_send() member
2541 struct fcoe_ctlr *fip = arg; in fcoe_flogi_resp() local
[all …]
A Dlibfcoe.h23 #define LIBFCOE_FIP_DBG(fip, fmt, args...) \ argument
26 (fip)->lp->host->host_no, ##args);)
A Dfcoe_sysfs.c369 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr); in store_ctlr_fip_resp() local
371 mutex_lock(&fip->ctlr_mutex); in store_ctlr_fip_resp()
374 fip->fip_resp = 1; in store_ctlr_fip_resp()
375 mutex_unlock(&fip->ctlr_mutex); in store_ctlr_fip_resp()
379 fip->fip_resp = 0; in store_ctlr_fip_resp()
380 mutex_unlock(&fip->ctlr_mutex); in store_ctlr_fip_resp()
384 mutex_unlock(&fip->ctlr_mutex); in store_ctlr_fip_resp()
393 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr); in show_ctlr_fip_resp() local
395 return sprintf(buf, "%d\n", fip->fip_resp ? 1 : 0); in show_ctlr_fip_resp()
A Dfcoe_transport.c220 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); in fcoe_ctlr_get_lesb() local
221 struct net_device *netdev = fcoe_get_netdev(fip->lp); in fcoe_ctlr_get_lesb()
225 __fcoe_get_lesb(fip->lp, fc_lesb, netdev); in fcoe_ctlr_get_lesb()
/drivers/scsi/fnic/
A Dfip.h52 struct fip_header fip; member
57 struct fip_header fip; member
63 struct fip_header fip; member
70 struct fip_header fip; member
75 struct fip_header fip; member
95 struct fip_header fip; member
101 struct fip_header fip; member
108 struct fip_header fip; member
115 struct fip_header fip; member
A Dfip.c69 .fip = {.fip_ver = FIP_VER_ENCAPS(FIP_VER), in fnic_fcoe_send_vlan_req()
82 iport->fip.state = FDLS_FIP_VLAN_DISCOVERY_STARTED; in fnic_fcoe_send_vlan_req()
209 .fip = { in fnic_fcoe_start_fcf_discovery()
257 switch (iport->fip.state) { in fnic_fcoe_fip_discovery_resp()
374 .fip = { in fnic_fcoe_start_flogi()
433 iport->fip.flogi_retry++; in fnic_fcoe_start_flogi()
435 iport->fip.state = FDLS_FIP_FLOGI_STARTED; in fnic_fcoe_start_flogi()
529 iport->fip.state = FDLS_FIP_FLOGI_COMPLETE; in fnic_fcoe_process_flogi_resp()
581 iport->fip.state = FDLS_FIP_INIT; in fnic_common_fip_cleanup()
819 .fip = { in fnic_handle_enode_ka_timer()
[all …]
A DMakefile5 fip.o\
A Dfnic_fdls.h288 struct fnic_fdls_fip_s fip; member
A Dfnic_trace.c494 iport->usefip, iport->fip.state, iport->fip.flogi_retry); in fnic_get_debug_info()
/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_u32_parse.h88 memcpy(&f->val.fip[0], &val, sizeof(u32)); in cxgb4_fill_ipv4_src_ip()
89 memcpy(&f->mask.fip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv4_src_ip()
134 memcpy(&f->val.fip[0], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip0()
135 memcpy(&f->mask.fip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip0()
143 memcpy(&f->val.fip[4], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip1()
144 memcpy(&f->mask.fip[4], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip1()
152 memcpy(&f->val.fip[8], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip2()
153 memcpy(&f->mask.fip[8], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip2()
161 memcpy(&f->val.fip[12], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip3()
162 memcpy(&f->mask.fip[12], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip3()
A Dcxgb4_filter.c907 memcpy(fwr->fip, f->fs.val.fip, sizeof(fwr->fip)); in set_filter_wr()
1059 unsigned int fip = 0, fip_mask = 0; in fill_default_mask() local
1092 fip |= fs->val.fip[i]; in fill_default_mask()
1093 fip_mask |= fs->mask.fip[i]; in fill_default_mask()
1099 if (fip && !fip_mask) in fill_default_mask()
1171 if (is_inaddr_any(fs->val.fip, AF_INET6) || in is_filter_exact_match()
1172 !is_addr_all_mask(fs->mask.fip, AF_INET6)) in is_filter_exact_match()
1179 if (is_inaddr_any(fs->val.fip, AF_INET) || in is_filter_exact_match()
1180 !is_addr_all_mask(fs->mask.fip, AF_INET)) in is_filter_exact_match()
1309 req->peer_ip_hi = *(__be64 *)(&f->fs.val.fip); in mk_act_open_req6()
[all …]
A Dcxgb4_tc_flower.c207 memcpy(&fs->val.fip[0], &match.key->src, sizeof(match.key->src)); in cxgb4_process_flow_match()
209 memcpy(&fs->mask.fip[0], &match.mask->src, sizeof(match.mask->src)); in cxgb4_process_flow_match()
223 memcpy(&fs->val.fip[0], match.key->src.s6_addr, in cxgb4_process_flow_match()
227 memcpy(&fs->mask.fip[0], match.mask->src.s6_addr, in cxgb4_process_flow_match()
A Dcxgb4_ethtool.c1665 memcpy(&fs->h_u.tcp_ip6_spec.ip6src, &dfs->val.fip[0], in cxgb4_fill_filter_rule()
1667 memcpy(&fs->m_u.tcp_ip6_spec.ip6src, &dfs->mask.fip[0], in cxgb4_fill_filter_rule()
1680 memcpy(&fs->h_u.tcp_ip4_spec.ip4src, &dfs->val.fip[0], in cxgb4_fill_filter_rule()
1682 memcpy(&fs->m_u.tcp_ip4_spec.ip4src, &dfs->mask.fip[0], in cxgb4_fill_filter_rule()
A Dt4fw_api.h198 __u8 fip[16]; member
230 __u8 fip[16]; member
A Dcxgb4.h1361 uint8_t fip[16]; /* foreign IP address (IPv4 in [3:0]) */ member
/drivers/scsi/qedf/
A Dqedf_fip.c40 vlan->fip.fip_ver = FIP_VER_ENCAPS(FIP_VER); in qedf_fcoe_send_vlan_req()
41 vlan->fip.fip_op = htons(FIP_OP_VLAN); in qedf_fcoe_send_vlan_req()
42 vlan->fip.fip_subcode = FIP_SC_VL_REQ; in qedf_fcoe_send_vlan_req()
43 vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW); in qedf_fcoe_send_vlan_req()
121 void qedf_fip_send(struct fcoe_ctlr *fip, struct sk_buff *skb) in qedf_fip_send() argument
123 struct qedf_ctx *qedf = container_of(fip, struct qedf_ctx, ctlr); in qedf_fip_send()
A Dqedf.h492 extern void qedf_fip_send(struct fcoe_ctlr *fip, struct sk_buff *skb);
566 struct fip_header fip; member
/drivers/scsi/bnx2fc/
A Dbnx2fc_els.c863 struct fcoe_ctlr *fip = arg; in bnx2fc_flogi_resp() local
892 } else if (fip->sel_fcf && fip->sel_fcf->fc_map != 0) { in bnx2fc_flogi_resp()
893 hton24(fc_map, fip->sel_fcf->fc_map); in bnx2fc_flogi_resp()
907 fip->update_mac(lport, fcoe_mac); in bnx2fc_flogi_resp()
915 struct fcoe_ctlr *fip = arg; in bnx2fc_logo_resp() local
921 fip->update_mac(lport, zero_mac); in bnx2fc_logo_resp()
934 struct fcoe_ctlr *fip = bnx2fc_to_ctlr(interface); in bnx2fc_elsct_send() local
941 fip, timeout); in bnx2fc_elsct_send()
947 fip, timeout); in bnx2fc_elsct_send()
A Dbnx2fc_fcoe.c1097 static void bnx2fc_fip_send(struct fcoe_ctlr *fip, struct sk_buff *skb) in bnx2fc_fip_send() argument
1113 skb->dev = bnx2fc_from_ctlr(fip)->netdev; in bnx2fc_fip_send()
/drivers/scsi/lpfc/
A Dlpfc_sli.c22634 bool fip; in lpfc_sli_prep_wqe() local
22639 fip = test_bit(HBA_FIP_SUPPORT, &phba->hba_flag); in lpfc_sli_prep_wqe()
22643 else if (fip && (job->cmd_flag & LPFC_FIP_ELS_ID_MASK)) in lpfc_sli_prep_wqe()

Completed in 109 milliseconds