Lines Matching defs:index

1028 	unsigned int index = stp->st_index;
1038 ddi_driver_name(dip), index);
1087 sfxge_tx_qinit(sfxge_t *sp, unsigned int index, sfxge_txq_type_t type,
1094 ASSERT3U(index, <, EFX_ARRAY_SIZE(sp->s_stp));
1106 stp->st_index = index;
1132 ASSERT3P(sp->s_stp[index], ==, NULL);
1133 sp->s_stp[index] = stp;
1159 sfxge_tx_qstart(sfxge_t *sp, unsigned int index)
1161 sfxge_txq_t *stp = sp->s_stp[index];
1208 if ((rc = efx_tx_qcreate(enp, index, stp->st_label, esmp,
2458 sfxge_tx_qflush(sfxge_t *sp, unsigned int index, boolean_t wait_for_flush)
2460 sfxge_txq_t *stp = sp->s_stp[index];
2490 sfxge_tx_qstop(sfxge_t *sp, unsigned int index)
2492 sfxge_txq_t *stp = sp->s_stp[index];
2510 index, stp->st_sp->s_tx_flush_pending);
2514 SFXGE_CMN_ERR "txq[%d] flush failed", index);
2557 sfxge_tx_qfini(sfxge_t *sp, unsigned int index)
2559 sfxge_txq_t *stp = sp->s_stp[index];
2566 sp->s_stp[index] = NULL;
2607 int index;
2682 index = EFX_ARRAY_SIZE(sp->s_stp);
2683 while (--index >= 0) {
2684 if (sp->s_stp[index] != NULL)
2685 sfxge_tx_qfini(sp, index);
2707 int index;
2714 for (index = 0; index < EFX_ARRAY_SIZE(sp->s_stp); index++) {
2715 if (sp->s_stp[index] != NULL)
2716 if ((rc = sfxge_tx_qstart(sp, index)) != 0)
2756 int index;
2835 index = srsp->srs_tbl[hash %
2847 index = srsp->srs_tbl[hash %
2855 index = srsp->srs_tbl[0];
2863 index = srsp->srs_tbl[0];
2871 index;
2873 ASSERT3U(stp->st_evq, ==, index);
2875 index = 0;
2877 index;
2882 index = 0;
2883 txq = sp->s_tx_scale_base[SFXGE_TXQ_IP_CKSUM] + index;
2914 index = srsp->srs_tbl[hash];
2917 * The RSS table (indexed by hash) gives the RXQ index,
2922 >, index);
2923 txq = sp->s_tx_scale_base[SFXGE_TXQ_NON_CKSUM] + index;
2925 ASSERT3U(stp->st_evq, ==, index);
2928 index = 0;
2929 txq = sp->s_tx_scale_base[SFXGE_TXQ_NON_CKSUM] + index;
3020 int index;
3038 index = EFX_ARRAY_SIZE(sp->s_stp);
3039 while (--index >= 0) {
3040 if (sp->s_stp[index] != NULL)
3041 sfxge_tx_qflush(sp, index, wait_for_flush);
3068 index = EFX_ARRAY_SIZE(sp->s_stp);
3069 while (--index >= 0) {
3070 if (sp->s_stp[index] != NULL)
3071 sfxge_tx_qstop(sp, index);
3081 int index;
3083 index = EFX_ARRAY_SIZE(sp->s_stp);
3084 while (--index >= 0) {
3085 if (sp->s_stp[index] != NULL)
3086 sfxge_tx_qfini(sp, index);