Home
last modified time | relevance | path

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

/drivers/staging/fsl-dpaa2/ethsw/
Ddpsw-cmd.h103 __le16 max_vlans; member
174 __le16 max_vlans; member
Ddpsw.h160 u16 max_vlans; member
Ddpsw.c345 attr->max_vlans = le16_to_cpu(rsp_params->max_vlans); in dpsw_get_attributes()
Dethsw.c998 if (attr->max_vlans - attr->num_vlans < new_vlans) in dpaa2_switch_port_vlans_add()
/drivers/net/ethernet/emulex/benet/
Dbe.h411 u16 max_vlans; /* Number of vlans supported */ member
694 #define be_max_vlans(adapter) (adapter->res.max_vlans)
Dbe_main.c4107 if (res_mod.max_vlans == FIELD_MODIFIABLE) in be_calculate_vf_res()
4108 vft_res->max_vlans = res.max_vlans / (num_vfs + 1); in be_calculate_vf_res()
4347 res->max_vlans = BE_NUM_VLANS_SUPPORTED/8; in BEx_get_resources()
4352 res->max_vlans = (BE_NUM_VLANS_SUPPORTED / 4) - 1; in BEx_get_resources()
4354 res->max_vlans = BE_NUM_VLANS_SUPPORTED; in BEx_get_resources()
Dbe_cmds.c4326 res->max_vlans = le16_to_cpu(desc->vlan_count); in be_copy_nic_desc()
4665 if (vft_res->max_vlans) in be_cmd_set_sriov_config()
4666 desc.nic_vft.vlan_count = cpu_to_le16(vft_res->max_vlans); in be_cmd_set_sriov_config()