Lines Matching refs:ifidx
605 if (oct->props[lio->ifidx].rx_on == start_stop) in send_rx_ctrl_cmd()
645 oct->props[lio->ifidx].rx_on = start_stop; in send_rx_ctrl_cmd()
660 static void liquidio_destroy_nic_device(struct octeon_device *oct, int ifidx) in liquidio_destroy_nic_device() argument
662 struct net_device *netdev = oct->props[ifidx].netdev; in liquidio_destroy_nic_device()
670 __func__, ifidx); in liquidio_destroy_nic_device()
681 if (oct->props[lio->ifidx].napi_enabled == 1) { in liquidio_destroy_nic_device()
685 oct->props[lio->ifidx].napi_enabled = 0; in liquidio_destroy_nic_device()
707 oct->props[ifidx].gmxport = -1; in liquidio_destroy_nic_device()
709 oct->props[ifidx].netdev = NULL; in liquidio_destroy_nic_device()
918 if (!oct->props[lio->ifidx].napi_enabled) { in liquidio_open()
924 oct->props[lio->ifidx].napi_enabled = 1; in liquidio_open()
987 if (oct->props[lio->ifidx].napi_enabled == 1) { in liquidio_stop()
991 oct->props[lio->ifidx].napi_enabled = 0; in liquidio_stop()
2068 lio->ifidx = ifidx_or_pfnum; in setup_nic_devices()