Home
last modified time | relevance | path

Searched refs:esw_cfg (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_main.c697 struct qlcnic_esw_func_cfg *esw_cfg) in qlcnic_set_vlan_config() argument
699 if (esw_cfg->discard_tagged) in qlcnic_set_vlan_config()
704 if (esw_cfg->vlan_id) in qlcnic_set_vlan_config()
705 adapter->pvid = esw_cfg->vlan_id; in qlcnic_set_vlan_config()
712 struct qlcnic_esw_func_cfg *esw_cfg) in qlcnic_set_eswitch_port_features() argument
717 if (esw_cfg->mac_anti_spoof) in qlcnic_set_eswitch_port_features()
720 if (!esw_cfg->mac_override) in qlcnic_set_eswitch_port_features()
723 if (!esw_cfg->promisc_mode) in qlcnic_set_eswitch_port_features()
726 qlcnic_set_netdev_features(adapter, esw_cfg); in qlcnic_set_eswitch_port_features()
732 struct qlcnic_esw_func_cfg esw_cfg; in qlcnic_set_eswitch_port_config() local
[all …]
Dqlcnic_ctx.c951 struct qlcnic_esw_func_cfg *esw_cfg) in qlcnic_config_switch_port() argument
959 pci_func = esw_cfg->pci_func; in qlcnic_config_switch_port()
968 switch (esw_cfg->op_mode) { in qlcnic_config_switch_port()
974 if (!(esw_cfg->discard_tagged)) in qlcnic_config_switch_port()
976 if (!(esw_cfg->promisc_mode)) in qlcnic_config_switch_port()
978 if (!(esw_cfg->mac_override)) in qlcnic_config_switch_port()
980 if (!(esw_cfg->mac_anti_spoof)) in qlcnic_config_switch_port()
982 if (!(esw_cfg->offload_flags & BIT_0)) in qlcnic_config_switch_port()
984 if (!(esw_cfg->offload_flags & BIT_1)) in qlcnic_config_switch_port()
986 if (!(esw_cfg->offload_flags & BIT_2)) in qlcnic_config_switch_port()
[all …]