Searched refs:netdev_count (Results 1 – 5 of 5) sorted by relevance
694 nesdev->netdev_count++; in nes_probe()695 nesdev->nesadapter->netdev_count++; in nes_probe()703 while (nesdev->netdev_count > 0) { in nes_probe()704 nesdev->netdev_count--; in nes_probe()705 nesdev->nesadapter->netdev_count--; in nes_probe()707 unregister_netdev(nesdev->netdev[nesdev->netdev_count]); in nes_probe()708 nes_netdev_destroy(nesdev->netdev[nesdev->netdev_count]); in nes_probe()712 nesdev->netdev_count, nesdev->nesadapter->netdev_count); in nes_probe()764 if (nesdev->netdev_count) { in nes_remove()772 nesdev->netdev_count--; in nes_remove()[all …]
1693 nesvnic->netdev_index = nesdev->netdev_count; in nes_netdev_init()1694 nesvnic->perfect_filter_index = nesdev->nesadapter->netdev_count; in nes_netdev_init()1698 nesvnic->nic.qp_id = curr_qp_map[nesdev->netdev_count].qpid; in nes_netdev_init()1699 nesvnic->nic_index = curr_qp_map[nesdev->netdev_count].nic_index; in nes_netdev_init()1700 nesvnic->logical_port = curr_qp_map[nesdev->netdev_count].logical_port; in nes_netdev_init()1756 if (nesdev->netdev_count == 0) { in nes_netdev_init()1766 nesdev->netdev[nesdev->netdev_count] = netdev; in nes_netdev_init()1772 if ((nesdev->netdev_count == 0) && in nes_netdev_init()
272 u8 netdev_count; member
1176 u8 netdev_count; member
1759 if (nesdev->nesadapter->netdev_count > 2) in nes_init_nic_qp()