Searched refs:fip (Results 1 - 13 of 13) sorted by relevance

/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c93 * @fip: The FCoE controller
96 static void fcoe_ctlr_set_state(struct fcoe_ctlr *fip, enum fip_state state) argument
98 if (state == fip->state)
100 if (fip->lp)
101 LIBFCOE_FIP_DBG(fip, "state %s -> %s\n",
102 fcoe_ctlr_state(fip->state), fcoe_ctlr_state(state));
103 fip->state = state;
132 * @fip: The FCoE controller
134 static void fcoe_ctlr_map_dest(struct fcoe_ctlr *fip) argument
136 if (fip
148 fcoe_ctlr_init(struct fcoe_ctlr *fip, enum fip_state mode) argument
171 struct fcoe_ctlr *fip = new->fip; local
244 struct fcoe_ctlr *fip = new->fip; local
278 fcoe_ctlr_reset_fcfs(struct fcoe_ctlr *fip) argument
304 fcoe_ctlr_destroy(struct fcoe_ctlr *fip) argument
326 fcoe_ctlr_announce(struct fcoe_ctlr *fip) argument
368 fcoe_ctlr_fcoe_size(struct fcoe_ctlr *fip) argument
384 fcoe_ctlr_solicit(struct fcoe_ctlr *fip, struct fcoe_fcf *fcf) argument
389 struct fip_header fip; member in struct:fip_sol
447 fcoe_ctlr_link_up(struct fcoe_ctlr *fip) argument
483 fcoe_ctlr_reset(struct fcoe_ctlr *fip) argument
503 fcoe_ctlr_link_down(struct fcoe_ctlr *fip) argument
534 fcoe_ctlr_send_keep_alive(struct fcoe_ctlr *fip, struct fc_lport *lport, int ports, u8 *sa) argument
541 struct fip_header fip; member in struct:fip_kal
608 fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport, u8 dtype, struct sk_buff *skb, u32 d_id) argument
613 struct fip_header fip; member in struct:fip_encaps_head
702 fcoe_ctlr_els_send(struct fcoe_ctlr *fip, struct fc_lport *lport, struct sk_buff *skb) argument
822 fcoe_ctlr_age_fcfs(struct fcoe_ctlr *fip) argument
894 fcoe_ctlr_parse_adv(struct fcoe_ctlr *fip, struct sk_buff *skb, struct fcoe_fcf *fcf) argument
1023 fcoe_ctlr_recv_adv(struct fcoe_ctlr *fip, struct sk_buff *skb) argument
1138 fcoe_ctlr_recv_els(struct fcoe_ctlr *fip, struct sk_buff *skb) argument
1314 fcoe_ctlr_recv_clr_vlink(struct fcoe_ctlr *fip, struct fip_header *fh) argument
1493 fcoe_ctlr_recv(struct fcoe_ctlr *fip, struct sk_buff *skb) argument
1510 fcoe_ctlr_recv_handler(struct fcoe_ctlr *fip, struct sk_buff *skb) argument
1589 fcoe_ctlr_select(struct fcoe_ctlr *fip) argument
1641 fcoe_ctlr_flogi_send_locked(struct fcoe_ctlr *fip) argument
1679 fcoe_ctlr_flogi_retry(struct fcoe_ctlr *fip) argument
1710 fcoe_ctlr_flogi_send(struct fcoe_ctlr *fip) argument
1750 struct fcoe_ctlr *fip = (struct fcoe_ctlr *)arg; local
1764 struct fcoe_ctlr *fip; local
1847 struct fcoe_ctlr *fip; local
1870 fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, struct fc_frame *fp) argument
1986 fcoe_ctlr_vn_send(struct fcoe_ctlr *fip, enum fip_vn2vn_subcode sub, const u8 *dest, size_t min_len) argument
1993 struct fip_header fip; member in struct:fip_frame
2095 struct fcoe_ctlr *fip = lport->disc.priv; local
2153 struct fcoe_ctlr *fip = lport->disc.priv; local
2180 fcoe_ctlr_vn_restart(struct fcoe_ctlr *fip) argument
2218 fcoe_ctlr_vn_start(struct fcoe_ctlr *fip) argument
2234 fcoe_ctlr_vn_parse(struct fcoe_ctlr *fip, struct sk_buff *skb, struct fc_rport_priv *rdata) argument
2361 fcoe_ctlr_vn_send_claim(struct fcoe_ctlr *fip) argument
2374 fcoe_ctlr_vn_probe_req(struct fcoe_ctlr *fip, struct fc_rport_priv *rdata) argument
2419 fcoe_ctlr_vn_probe_reply(struct fcoe_ctlr *fip, struct fc_rport_priv *rdata) argument
2446 fcoe_ctlr_vn_add(struct fcoe_ctlr *fip, struct fc_rport_priv *new) argument
2491 fcoe_ctlr_vn_lookup(struct fcoe_ctlr *fip, u32 port_id, u8 *mac) argument
2516 fcoe_ctlr_vn_claim_notify(struct fcoe_ctlr *fip, struct fc_rport_priv *new) argument
2559 fcoe_ctlr_vn_claim_resp(struct fcoe_ctlr *fip, struct fc_rport_priv *new) argument
2575 fcoe_ctlr_vn_beacon(struct fcoe_ctlr *fip, struct fc_rport_priv *new) argument
2626 fcoe_ctlr_vn_age(struct fcoe_ctlr *fip) argument
2663 fcoe_ctlr_vn_recv(struct fcoe_ctlr *fip, struct sk_buff *skb) argument
2745 struct fcoe_ctlr *fip = disc->priv; local
2763 fcoe_ctlr_vn_disc(struct fcoe_ctlr *fip) argument
2788 fcoe_ctlr_vn_timeout(struct fcoe_ctlr *fip) argument
2870 fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip, enum fip_state fip_mode) argument
2908 fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip, const struct libfc_function_template *tt, int init_fcp) argument
2928 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); local
[all...]
H A Dlibfcoe.h22 #define LIBFCOE_FIP_DBG(fip, fmt, args...) \
24 pr_info("host%d: fip: " fmt, \
25 (fip)->lp->host->host_no, ##args);)
H A Dfcoe.c304 struct fcoe_ctlr *fip = fcoe_to_ctlr(fcoe); local
335 memcpy(fip->ctl_src_addr, ha->addr, ETH_ALEN);
336 fip->spma = 1;
343 if (!fip->spma)
344 memcpy(fip->ctl_src_addr, netdev->dev_addr, netdev->addr_len);
353 if (fip->spma)
354 dev_uc_add(netdev, fip->ctl_src_addr);
355 if (fip->mode == FIP_MODE_VN2VN) {
450 struct fcoe_ctlr *fip = fcoe_to_ctlr(fcoe); local
467 if (fip
493 struct fcoe_ctlr *fip = fcoe_to_ctlr(fcoe); local
549 fcoe_fip_send(struct fcoe_ctlr *fip, struct sk_buff *skb) argument
2736 struct fcoe_ctlr *fip = arg; local
2791 struct fcoe_ctlr *fip = fcoe_to_ctlr(fcoe); local
[all...]
H A Dfcoe_transport.c208 struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev); local
209 struct net_device *netdev = fcoe_get_netdev(fip->lp);
213 __fcoe_get_lesb(fip->lp, fc_lesb, netdev);
/drivers/scsi/fnic/
H A Dfnic_fip.h61 struct fip_header fip; member in struct:fip_vlan
H A Dfnic_fcs.c253 * @fip: The FCoE controller that received the frame
259 static inline int is_fnic_fip_flogi_reject(struct fcoe_ctlr *fip, argument
262 struct fc_lport *lport = fip->lp;
330 struct fcoe_ctlr *fip = &fnic->ctlr; local
351 memcpy(vlan->eth.h_source, fip->ctl_src_addr, ETH_ALEN);
355 vlan->fip.fip_ver = FIP_VER_ENCAPS(FIP_VER);
356 vlan->fip.fip_op = htons(FIP_OP_VLAN);
357 vlan->fip.fip_subcode = FIP_SC_VL_REQ;
358 vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW);
362 memcpy(&vlan->desc.mac.fd_mac, fip
382 struct fcoe_ctlr *fip = &fnic->ctlr; local
971 fnic_eth_send(struct fcoe_ctlr *fip, struct sk_buff *skb) argument
[all...]
H A Dfnic.h315 static inline struct fnic *fnic_from_ctlr(struct fcoe_ctlr *fip) argument
317 return container_of(fip, struct fnic, ctlr);
/drivers/scsi/bnx2fc/
H A Dbnx2fc_els.c852 struct fcoe_ctlr *fip = arg; local
872 fcoe_ctlr_recv_flogi(fip, lport, fp);
875 fip->update_mac(lport, mac);
883 struct fcoe_ctlr *fip = arg; local
889 fip->update_mac(lport, zero_mac);
902 struct fcoe_ctlr *fip = bnx2fc_to_ctlr(interface); local
909 fip, timeout);
915 fip, timeout);
H A Dbnx2fc_fcoe.c1021 * @fip: FCoE controller.
1051 * @fip: FCoE controller.
1054 static void bnx2fc_fip_send(struct fcoe_ctlr *fip, struct sk_buff *skb) argument
1056 skb->dev = bnx2fc_from_ctlr(fip)->netdev;
2157 printk(KERN_ERR "fip mode not FABRIC\n");
/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h729 uint8_t fip[16]; /* foreign IP address (IPv4 in [3:0]) */ member in struct:ch_filter_tuple
H A Dcxgb4_main.c1398 memcpy(fwr->fip, f->fs.val.fip, sizeof(fwr->fip));
1399 memcpy(fwr->fipm, f->fs.mask.fip, sizeof(fwr->fipm));
H A Dt4fw_api.h159 __u8 fip[16]; member in struct:fw_filter_wr
/drivers/scsi/lpfc/
H A Dlpfc_sli.c8146 uint32_t fip; local
8161 fip = phba->hba_flag & HBA_FIP_SUPPORT;
8165 else if (fip && (iocbq->iocb_flag & LPFC_FIP_ELS_ID_MASK))
8493 fip = abrtiocbq->iocb_flag & LPFC_FIP_ELS_ID_MASK;
8495 fip = 0;
8497 if ((iocbq->iocb.ulpCommand == CMD_CLOSE_XRI_CN) || fip)

Completed in 229 milliseconds