Lines Matching refs:vlan
19 struct fip_vlan *vlan;
33 vlan = (struct fip_vlan *)eth_fr;
35 memset(vlan, 0, sizeof(*vlan));
36 ether_addr_copy(vlan->eth.h_source, qedf->mac);
37 ether_addr_copy(vlan->eth.h_dest, my_fcoe_all_fcfs);
38 vlan->eth.h_proto = htons(ETH_P_FIP);
40 vlan->fip.fip_ver = FIP_VER_ENCAPS(FIP_VER);
41 vlan->fip.fip_op = htons(FIP_OP_VLAN);
42 vlan->fip.fip_subcode = FIP_SC_VL_REQ;
43 vlan->fip.fip_dl_len = htons(sizeof(vlan->desc) / FIP_BPW);
45 vlan->desc.mac.fd_desc.fip_dtype = FIP_DT_MAC;
46 vlan->desc.mac.fd_desc.fip_dlen = sizeof(vlan->desc.mac) / FIP_BPW;
47 ether_addr_copy(vlan->desc.mac.fd_mac, qedf->mac);
49 vlan->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME;
50 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW;
51 put_unaligned_be64(qedf->lport->wwnn, &vlan->desc.wwnn.fd_wwn);
53 skb_put(skb, sizeof(*vlan));
62 QEDF_WARN(&(qedf->dbg_ctx), "Cannot send vlan request "
151 "dest=%pM op=%x sub=%x vlan=%04x.", eth_hdr->h_dest, op, sub,
184 u16 vlan = 0;
192 "FIP frame received: skb=%p fiph=%p source=%pM destn=%pM op=%x sub=%x vlan=%04x",
194 sub, vlan);