Lines Matching defs:ifidx
602 if (oct->props[lio->ifidx].rx_on == start_stop)
642 oct->props[lio->ifidx].rx_on = start_stop;
652 * @ifidx: which interface to destroy
657 static void liquidio_destroy_nic_device(struct octeon_device *oct, int ifidx)
659 struct net_device *netdev = oct->props[ifidx].netdev;
666 __func__, ifidx);
677 if (oct->props[lio->ifidx].napi_enabled == 1) {
681 oct->props[lio->ifidx].napi_enabled = 0;
703 oct->props[ifidx].gmxport = -1;
705 oct->props[ifidx].netdev = NULL;
913 if (!oct->props[lio->ifidx].napi_enabled) {
919 oct->props[lio->ifidx].napi_enabled = 1;
981 if (oct->props[lio->ifidx].napi_enabled == 1) {
985 oct->props[lio->ifidx].napi_enabled = 0;
1897 dev_err(&oct->pci_dev->dev, "Malformed NIC_INFO, len=%d, ifidx=%d\n",
2057 lio->ifidx = ifidx_or_pfnum;
2198 "Setup NIC ifidx:%d mac:%02x%02x%02x%02x%02x%02x\n",
2215 "NIC ifidx:%d Setup successful\n", i);
2226 "NIC ifidx:%d Setup failed\n", i);