Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c809 adapter->vfinfo[vf].vlan_count++; in ixgbe_set_vf_vlan_msg()
810 else if (adapter->vfinfo[vf].vlan_count) in ixgbe_set_vf_vlan_msg()
811 adapter->vfinfo[vf].vlan_count--; in ixgbe_set_vf_vlan_msg()
1173 adapter->vfinfo[vf].vlan_count++; in ixgbe_enable_port_vlan()
1205 if (adapter->vfinfo[vf].vlan_count) in ixgbe_disable_port_vlan()
1206 adapter->vfinfo[vf].vlan_count--; in ixgbe_disable_port_vlan()
1388 if (adapter->vfinfo[vf].vlan_count) { in ixgbe_ndo_set_vf_spoofchk()
Dixgbe.h152 u16 vlan_count; member
/linux-4.1.27/drivers/net/ethernet/adaptec/
Dstarfire.c1718 int vlan_count = 0; in set_vlan_mode() local
1721 if (vlan_count == 32) in set_vlan_mode()
1725 vlan_count++; in set_vlan_mode()
1727 if (vlan_count == 32) { in set_vlan_mode()
1729 while (vlan_count < 32) { in set_vlan_mode()
1732 vlan_count++; in set_vlan_mode()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c400 atomic_set(&bnx2x_vfq(vf, qid, vlan_count), 0); in bnx2x_vf_vlan_mac_clear()
434 (atomic_read(&bnx2x_vfq(vf, qid, vlan_count)) >= in bnx2x_vf_mac_vlan_config()
437 atomic_read(&bnx2x_vfq(vf, qid, vlan_count)), in bnx2x_vf_mac_vlan_config()
461 &bnx2x_vfq(vf, qid, vlan_count)); in bnx2x_vf_mac_vlan_config()
878 u16 vlan_count = 0; in bnx2x_iov_static_resc() local
889 vlan_count = bp->vlans_pool.check(&bp->vlans_pool); in bnx2x_iov_static_resc()
890 vlan_count = 1 << ilog2(vlan_count); in bnx2x_iov_static_resc()
892 vlan_count / BNX2X_NR_VIRTFN(bp)); in bnx2x_iov_static_resc()
Dbnx2x_sriov.h78 atomic_t vlan_count; /* 0 means vlan-0 is set ~ untagged */ member
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c3578 res->max_vlans = le16_to_cpu(desc->vlan_count); in be_copy_nic_desc()
3759 nic->vlan_count = 0xFFFF; in be_reset_nic_desc()
3871 nic_vft->vlan_count = cpu_to_le16(pool_res.max_vlans / in be_fill_vf_res_template()
Dbe_cmds.h2084 u16 vlan_count; member