Lines Matching refs:num_slices
200 int num_slices; member
960 if (mgp->num_slices > 1) { in myri10ge_reset()
975 cmd.data0 = mgp->num_slices; in myri10ge_reset()
987 cmd.data0 = mgp->num_slices; in myri10ge_reset()
1001 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_reset()
1012 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_reset()
1033 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_reset()
1047 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_reset()
1127 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_setup_dca()
1767 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_get_strings()
1783 mgp->num_slices * MYRI10GE_SLICE_STATS_LEN; in myri10ge_get_sset_count()
1837 for (slice = 0; slice < mgp->num_slices; slice++) { in myri10ge_get_ethtool_stats()
2160 if (mgp->num_slices > 1) { in myri10ge_request_irq()
2162 mgp->num_slices, mgp->num_slices); in myri10ge_request_irq()
2182 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_request_irq()
2220 for (i = 0; i < mgp->num_slices; i++) in myri10ge_free_irq()
2312 if (mgp->num_slices > 1) { in myri10ge_open()
2313 cmd.data0 = mgp->num_slices; in myri10ge_open()
2324 cmd.data0 = mgp->num_slices; in myri10ge_open()
2338 for (i = 0; i < mgp->num_slices; i++) in myri10ge_open()
2389 for (slice = 0; slice < mgp->num_slices; slice++) { in myri10ge_open()
2462 for (i = 0; i < mgp->num_slices; i++) in myri10ge_open()
2487 for (i = 0; i < mgp->num_slices; i++) in myri10ge_close()
2508 for (i = 0; i < mgp->num_slices; i++) in myri10ge_close()
2930 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_get_stats()
3437 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_watchdog()
3486 i < mgp->num_slices && reset_needed == 0; ++i) { in myri10ge_watchdog_timer()
3537 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_free_slices()
3567 bytes = sizeof(*mgp->ss) * mgp->num_slices; in myri10ge_alloc_slices()
3573 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_alloc_slices()
3612 mgp->num_slices = 1; in myri10ge_probe_slices()
3664 mgp->num_slices = cmd.data0; in myri10ge_probe_slices()
3677 if (mgp->num_slices > myri10ge_max_slices) in myri10ge_probe_slices()
3678 mgp->num_slices = myri10ge_max_slices; in myri10ge_probe_slices()
3684 mgp->msix_vectors = kcalloc(mgp->num_slices, sizeof(*mgp->msix_vectors), in myri10ge_probe_slices()
3688 for (i = 0; i < mgp->num_slices; i++) { in myri10ge_probe_slices()
3692 while (mgp->num_slices > 1) { in myri10ge_probe_slices()
3693 mgp->num_slices = rounddown_pow_of_two(mgp->num_slices); in myri10ge_probe_slices()
3694 if (mgp->num_slices == 1) in myri10ge_probe_slices()
3698 mgp->num_slices, in myri10ge_probe_slices()
3699 mgp->num_slices); in myri10ge_probe_slices()
3705 if (status == mgp->num_slices) { in myri10ge_probe_slices()
3710 mgp->num_slices = status; in myri10ge_probe_slices()
3721 mgp->num_slices = 1; in myri10ge_probe_slices()
3838 netif_set_real_num_tx_queues(netdev, mgp->num_slices); in myri10ge_probe()
3839 netif_set_real_num_rx_queues(netdev, mgp->num_slices); in myri10ge_probe()
3898 mgp->num_slices, mgp->tx_boundary, mgp->fw_name, in myri10ge_probe()