Home
last modified time | relevance | path

Searched refs:vn (Results 1 – 7 of 7) sorted by relevance

/drivers/net/
Dvxlan.c140 struct vxlan_net *vn = net_generic(net, vxlan_net_id); in vni_head() local
142 return &vn->vni_list[hash_32(id, VNI_HASH_BITS)]; in vni_head()
612 static bool vxlan_group_used(struct vxlan_net *vn, in vxlan_group_used() argument
619 hlist_for_each_entry(vxlan, &vn->vni_list[h], hlist) { in vxlan_group_used()
637 struct vxlan_net *vn = net_generic(dev_net(dev), vxlan_net_id); in vxlan_join_group() local
638 struct sock *sk = vn->sock->sk; in vxlan_join_group()
646 if (vxlan_group_used(vn, vxlan)) in vxlan_join_group()
664 struct vxlan_net *vn = net_generic(dev_net(dev), vxlan_net_id); in vxlan_leave_group() local
666 struct sock *sk = vn->sock->sk; in vxlan_leave_group()
673 if (vxlan_group_used(vn, vxlan)) in vxlan_leave_group()
[all …]
/drivers/scsi/fcoe/
Dfcoe_ctlr.c505 struct fip_vn_desc *vn; in fcoe_ctlr_send_keep_alive() local
515 len = sizeof(*kal) + ports * sizeof(*vn); in fcoe_ctlr_send_keep_alive()
530 ports * sizeof(*vn)) / FIP_BPW); in fcoe_ctlr_send_keep_alive()
539 vn = (struct fip_vn_desc *)(kal + 1); in fcoe_ctlr_send_keep_alive()
540 vn->fd_desc.fip_dtype = FIP_DT_VN_ID; in fcoe_ctlr_send_keep_alive()
541 vn->fd_desc.fip_dlen = sizeof(*vn) / FIP_BPW; in fcoe_ctlr_send_keep_alive()
542 memcpy(vn->fd_mac, fip->get_src_addr(lport), ETH_ALEN); in fcoe_ctlr_send_keep_alive()
543 hton24(vn->fd_fc_id, lport->port_id); in fcoe_ctlr_send_keep_alive()
544 put_unaligned_be64(lport->wwpn, &vn->fd_wwpn); in fcoe_ctlr_send_keep_alive()
1954 struct fip_vn_desc vn; in fcoe_ctlr_vn_send() member
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h951 static inline int func_by_vn(struct bnx2x *bp, int vn) in func_by_vn() argument
953 return 2 * vn + BP_PORT(bp); in func_by_vn()
1360 int vn; in bnx2x_link_sync_notify() local
1363 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_link_sync_notify()
1364 if (vn == BP_VN(bp)) in bnx2x_link_sync_notify()
1367 func = func_by_vn(bp, vn); in bnx2x_link_sync_notify()
Dbnx2x_main.c2364 int vn; in bnx2x_calc_vn_min() local
2366 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_calc_vn_min()
2367 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_min()
2380 input->vnic_min_rate[vn] = vn_min_rate; in bnx2x_calc_vn_min()
2398 static void bnx2x_calc_vn_max(struct bnx2x *bp, int vn, in bnx2x_calc_vn_max() argument
2402 u32 vn_cfg = bp->mf_config[vn]; in bnx2x_calc_vn_max()
2417 DP(NETIF_MSG_IFUP, "vn %d: vn_max_rate %d\n", vn, vn_max_rate); in bnx2x_calc_vn_max()
2419 input->vnic_max_rate[vn] = vn_max_rate; in bnx2x_calc_vn_max()
2435 int vn, n = (CHIP_MODE_IS_4_PORT(bp) ? 2 : 1); in bnx2x_read_mf_cfg() local
2451 for (vn = VN_0; vn < BP_MAX_VN_NUM(bp); vn++) { in bnx2x_read_mf_cfg()
[all …]
Dbnx2x.h1276 #define BP_FW_MB_IDX_VN(bp, vn) (BP_PORT(bp) +\ argument
1277 (vn) * ((CHIP_IS_E1x(bp) || (CHIP_MODE_IS_4_PORT(bp))) ? 2 : 1))
/drivers/gpu/drm/i915/
Dintel_drv.h373 uint8_t vn[8]; member
Dintel_hdmi.c366 strcpy(spd_if.body.spd.vn, "Intel"); in intel_hdmi_set_spd_infoframe()