Lines Matching refs:d_id

145 static void build_tachyon_header(struct fc_info *fi, u_int my_id, u_int r_ctl, u_int d_id, u_int ty…
149 static void build_ODB(struct fc_info *fi, u_char seq_id, u_int d_id, u_int len, u_int cntl, u_short…
178 …struct fc_info *fi, char *data, u_int len, u_int r_ctl, u_int type, u_int d_id, u_int mtu, int int…
179 static int tx_sequence(struct fc_info *fi, char *data, u_int len, u_int mtu, u_int d_id, u_short ox…
188 static void tx_logi(struct fc_info *fi, u_int logi, u_int d_id);
189 static void tx_logi_acc(struct fc_info *fi, u_int logi, u_int d_id, u_short received_ox_id);
190 static void tx_prli(struct fc_info *fi, u_int command_code, u_int d_id, u_short received_ox_id);
191 static void tx_logo(struct fc_info *fi, u_int d_id, u_short received_ox_id);
192 static void tx_adisc(struct fc_info *fi, u_int cmnd_code, u_int d_id, u_short received_ox_id);
193 static void tx_ls_rjt(struct fc_info *fi, u_int d_id, u_short received_ox_id, u_short reason_code, …
195 static void tx_acc(struct fc_info *fi, u_int d_id, u_short received_ox_id);
910 tx_logi(fi, ELS_PLOGI, q->d_id);
1178 if (q->d_id == s_id) {
2258 static void tx_logi(struct fc_info *fi, u_int logi, u_int d_id)
2269 if (d_id == fi->g.my_id)
2274 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]),sizeof(LOGIN), r_ctl, type, d_id, my_mtu, in…
2282 static void tx_logi_acc(struct fc_info *fi, u_int logi, u_int d_id, u_short received_ox_id)
2292 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]),sizeof(LOGIN), r_ctl, type, d_id, my_mtu, in…
2300 static void tx_prli(struct fc_info *fi, u_int command_code, u_int d_id, u_short received_ox_id)
2323 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]), sizeof(PRLI), r_ctl, type, d_id, my_mtu, in…
2331 static void tx_logo(struct fc_info *fi, u_int d_id, u_short received_ox_id)
2350 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]),size, r_ctl, type, d_id, my_mtu, int_require…
2357 static void tx_adisc(struct fc_info *fi, u_int cmnd_code, u_int d_id, u_short received_ox_id)
2378 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]),size, r_ctl, type, d_id, my_mtu, int_require…
2384 static void tx_ls_rjt(struct fc_info *fi, u_int d_id, u_short received_ox_id, u_short reason_code, …
2396 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]),size, r_ctl, type, d_id, my_mtu, int_require…
2403 static void tx_abts(struct fc_info *fi, u_int d_id, u_short ox_id)
2412 tx_exchange(fi, NULL, size, r_ctl, type, d_id, my_mtu, int_required, ox_id, RCTL_BASIC_ABTS);
2460 static void tx_acc(struct fc_info *fi, u_int d_id, u_short received_ox_id)
2471 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]),size, r_ctl, type, d_id, my_mtu, int_require…
2485 u_int my_mtu = fi->g.my_mtu, d_id = DIRECTORY_SERVER;
2513 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]),size, r_ctl, type, d_id, my_mtu, int_require…
2520 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]),size, r_ctl, type, d_id, my_mtu, int_require…
2535 u_int my_mtu = fi->g.my_mtu, d_id = FABRIC_CONTROLLER;
2541 …tx_exchange(fi, (char *)(fi->g.els_buffer[fi->g.e_i]),size, r_ctl, type, d_id, my_mtu, int_require…
2561 if ((temp_list->d_id & 0xFF0000) != 0xFF0000)
2562 tx_adisc(fi, ELS_ADISC, temp_list->d_id, OX_ID_FIRST_SEQUENCE);
2584 u_int d_id;
2594 d_id = ntohl(*addr) & 0x00FFFFFF;
2595 if (d_id != fi->g.my_id) {
2596 if (sid_logged_in(fi, d_id) == NODE_NOT_PRESENT)
2597 tx_logi(fi, ELS_PLOGI, d_id);
2599 if (sid_logged_in(fi, d_id) == NODE_LOGGED_OUT)
2600 tx_adisc(fi, ELS_ADISC, d_id, OX_ID_FIRST_SEQUENCE);
2605 DPRINTK1("cc = %x, d_id = %x", control_code, d_id);
2701 static void build_tachyon_header(struct fc_info *fi, u_int my_id, u_int r_ctl, u_int d_id, u_int ty…
2703 u_char alpa = d_id & 0x0000FF;
2704 u_int dest_ddaa = d_id &0xFFFF00;
2707 DPRINTK("d_id = %x, my_ddaa = %x", d_id, fi->g.my_ddaa);
2709 …if ((dest_ddaa != 0) && ((d_id == F_PORT) || (fi->g.fabric_present && (dest_ddaa != fi->g.my_ddaa)…
2719 fi->g.tach_header.r_ctl_and_d_id = htonl(r_ctl | d_id);
2755 static void build_ODB(struct fc_info *fi, u_char seq_id, u_int d_id, u_int len, u_int cntl, u_short…
2757 fi->g.odb.seq_d_id = htonl(seq_id << 24 | d_id);
2999 u_int d_id;
3010 d_id = q->d_id;
3011 DPRINTK("Look-Up Cache Succeeded for d_id = %x", d_id);
3015 …return tx_exchange(fi, skb->data, len, r_ctl, type, d_id, mtu, int_required, ox_id, virt_to_bus(sk…
3018 if (q->d_id == BROADCAST) {
3026 d_id = p->d_id;
3027 if ((d_id & 0xFFFF00) == fi->g.my_ddaa)
3028 …return_value |= tx_exchange(fi, skb->data, len, r_ctl, type, d_id, fi->g.my_mtu, int_required, ox_…
3036 DPRINTK1("Node not logged in... Txing PLOGI to %x", d_id);
3038 tx_logi(fi, ELS_PLOGI, d_id);
3049 u_int d_id;
3062 d_id = BROADCAST;
3063 …return_value |= tx_exchange(fi, data, len, r_ctl, type, d_id, my_mtu, int_required, ox_id, TYPE_LL…
3067 …return_value |= tx_exchange(fi, (char *)(fi->g.arp_buffer + 2*FC_ALEN), len, r_ctl, type, d_id, my…
3073 d_id = q->d_id;
3074 if ((d_id & 0xFFFF00) == fi->g.my_ddaa) {
3075 …return_value |= tx_exchange(fi, data, len, r_ctl, type, d_id, my_mtu, int_required, ox_id, TYPE_LL…
3079 …return_value |= tx_exchange(fi, (char *)(fi->g.arp_buffer + 2*FC_ALEN), len, r_ctl, type, d_id, my…
3091 d_id = q->d_id;
3092 DPRINTK("Look-Up Cache Succeeded for d_id = %x", d_id);
3095 tx_exchange(fi, data, len, r_ctl, type, d_id, mtu, int_required, ox_id, TYPE_LLC_SNAP);
3099 …return tx_exchange(fi, (char *)(fi->g.arp_buffer + 2*FC_ALEN), len, r_ctl, type, d_id, my_mtu, int…
3102 DPRINTK1("Node not logged in... Txing PLOGI to %x", d_id);
3103 tx_logi(fi, ELS_PLOGI, d_id); /* FIXME: we are dumping the frame here */
3177 …struct fc_info *fi, char *data, u_int len, u_int r_ctl, u_int type, u_int d_id, u_int mtu, int int…
3229 …build_tachyon_header(fi, my_id, r_ctl, d_id, type, fi->g.seq_id, df_ctl, tx_ox_id, rx_id, data - 2…
3236 build_tachyon_header(fi, my_id, r_ctl, d_id, type, fi->g.seq_id, df_ctl, tx_ox_id, rx_id, NULL);
3250 …return_value = tx_sequence(fi, data, len, mtu, d_id, tx_ox_id, rx_id, fi->g.seq_id, NW_flag, int_r…
3274 static int tx_sequence(struct fc_info *fi, char *data, u_int len, u_int mtu, u_int d_id, u_short ox…
3281 build_ODB(fi, seq_id, d_id, len, cntl, mtu, ox_id, rx_id, NW_flag, int_required, frame_class);
3364 if ((s_id != q->d_id) || (memcmp(node_name, q->node_name, NODE_NAME_LEN) != 0)) {
3395 if (s_id != q->d_id) {
3398 q->d_id = s_id;
3419 p->d_id = s_id;
3448 if (s_id == q->d_id) {
3490 if ((q->d_id & mask) == (node_id & mask))
3491 rscn_handler(fi, q->d_id);
3527 if (q->d_id == node_id) {
3556 if ((temp->d_id == s_id) && (temp->login == LOGIN_COMPLETED)) {
3563 if ((temp->d_id == s_id) && (temp->login != LOGIN_COMPLETED))
3578 if ((temp->d_id == s_id) && (temp->login == LOGIN_COMPLETED)) {
3630 if ((temp->d_id == s_id) && (memcmp(node_name, temp->node_name, NODE_NAME_LEN) == 0)) {
3664 q->d_id = BROADCAST;
3688 printk("FC_ID = %x, ", q->d_id);
3978 …i->q.ptr_fcp_cmnd[fi->q.fcp_cmnd_indx]), sizeof(fcp_cmd), r_ctl, type, q->d_id, q->mtu, int_requir…
4056 tx_abts(fi, q->d_id, ox_id);
4177 tx_logi(fi, ELS_PLOGI, temp->d_id);
4186 tx_prli(fi, ELS_PRLI, temp->d_id, OX_ID_FIRST_SEQUENCE);
4285 fi->g.outb_sest_entry.flags_and_did = htonl(OUTB_SEST_VED | ni->d_id);
4304 …build_tachyon_header(fi, fi->g.my_id, r_ctl, ni->d_id, type, fi->g.seq_id, df_ctl, fi->g.scsi_oxid…