Lines Matching refs:slice

955 	 * slice 0.  It must also be called *after*
1549 /* an interrupt on a non-zero receive-only slice is implicitly
1592 /* Only slice 0 updates stats */
1746 "----------- slice ---------",
1796 int slice;
1820 /* firmware stats are useful only in the first slice */
1837 for (slice = 0; slice < mgp->num_slices; slice++) {
1838 ss = &mgp->ss[slice];
1839 data[i++] = slice;
1943 int i, slice, status;
1947 slice = ss - mgp->ss;
1948 cmd.data0 = slice;
1951 cmd.data0 = slice;
2021 netdev_err(dev, "slice-%d: alloced only %d small bufs\n",
2022 slice, ss->rx_small.fill_cnt);
2028 netdev_err(dev, "slice-%d: alloced only %d big bufs\n",
2029 slice, ss->rx_big.fill_cnt);
2185 "%s:slice-%d", netdev->name, i);
2191 "slice %d failed to allocate IRQ\n", i);
2231 static int myri10ge_get_txrx(struct myri10ge_priv *mgp, int slice)
2237 ss = &mgp->ss[slice];
2239 if (slice == 0 || (mgp->dev->real_num_tx_queues > 1)) {
2240 cmd.data0 = slice;
2246 cmd.data0 = slice;
2252 cmd.data0 = slice;
2258 (mgp->sram + MXGEFW_ETH_SEND_GO + 64 * slice);
2260 (mgp->sram + MXGEFW_ETH_SEND_STOP + 64 * slice);
2265 static int myri10ge_set_stats(struct myri10ge_priv *mgp, int slice)
2271 ss = &mgp->ss[slice];
2274 cmd.data2 = sizeof(struct mcp_irq_data) | (slice << 16);
2278 if (slice != 0)
2299 int i, status, big_pow2, slice;
2388 /* setup the per-slice data structures */
2389 for (slice = 0; slice < mgp->num_slices; slice++) {
2390 ss = &mgp->ss[slice];
2392 status = myri10ge_get_txrx(mgp, slice);
2404 if (slice == 0 || mgp->dev->real_num_tx_queues > 1)
2405 status = myri10ge_set_stats(mgp, slice);
2458 while (slice) {
2459 slice--;
2460 napi_disable(&mgp->ss[slice].napi);
2855 * current slice */
3346 int slice = ss - mgp->ss;
3354 netdev_warn(mgp->dev, "slice %d: TX paused, "
3355 "check link partner\n", slice);
3358 "slice %d: TX stuck %d %d %d %d %d %d\n",
3359 slice, ss->tx.queue_active, ss->tx.req,
3362 (int)ntohl(mgp->ss[slice].fw_stats->
3434 /* Perhaps it is a software error. See if stuck slice
3619 /* try to load the slice aware rss firmware */
3835 dev_err(&pdev->dev, "failed to alloc slice state\n");