Lines Matching refs:ifidx
608 if (oct->props[lio->ifidx].rx_on == start_stop) in send_rx_ctrl_cmd()
643 oct->props[lio->ifidx].rx_on = start_stop; in send_rx_ctrl_cmd()
656 static void liquidio_destroy_nic_device(struct octeon_device *oct, int ifidx) in liquidio_destroy_nic_device() argument
658 struct net_device *netdev = oct->props[ifidx].netdev; in liquidio_destroy_nic_device()
666 __func__, ifidx); in liquidio_destroy_nic_device()
677 if (oct->props[lio->ifidx].napi_enabled == 1) { in liquidio_destroy_nic_device()
681 oct->props[lio->ifidx].napi_enabled = 0; in liquidio_destroy_nic_device()
703 oct->props[ifidx].gmxport = -1; in liquidio_destroy_nic_device()
705 oct->props[ifidx].netdev = NULL; in liquidio_destroy_nic_device()
913 if (!oct->props[lio->ifidx].napi_enabled) { in liquidio_open()
919 oct->props[lio->ifidx].napi_enabled = 1; in liquidio_open()
977 if (oct->props[lio->ifidx].napi_enabled == 1) { in liquidio_stop()
981 oct->props[lio->ifidx].napi_enabled = 0; in liquidio_stop()
2050 lio->ifidx = ifidx_or_pfnum; in setup_nic_devices()