Home
last modified time | relevance | path

Searched refs:eswitch (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_ctx.c737 !(adapter->eswitch[id].flags & QLCNIC_SWITCH_ENABLE)) in qlcnic_config_port_mirroring()
824 int qlcnic_get_eswitch_stats(struct qlcnic_adapter *adapter, const u8 eswitch, in qlcnic_get_eswitch_stats() argument
846 esw_stats->context_id = eswitch; in qlcnic_get_eswitch_stats()
849 if (adapter->npars[i].phy_port != eswitch) in qlcnic_get_eswitch_stats()
Dqlcnic_main.c454 adapter->eswitch = kzalloc(sizeof(struct qlcnic_eswitch) * in qlcnic_init_pci_info()
456 if (!adapter->eswitch) { in qlcnic_init_pci_info()
477 adapter->eswitch[i].flags |= QLCNIC_SWITCH_ENABLE; in qlcnic_init_pci_info()
483 kfree(adapter->eswitch); in qlcnic_init_pci_info()
484 adapter->eswitch = NULL; in qlcnic_init_pci_info()
1619 if (adapter->eswitch != NULL) in qlcnic_remove()
1620 kfree(adapter->eswitch); in qlcnic_remove()
Dqlcnic.h1039 struct qlcnic_eswitch *eswitch; member