Searched refs:profile_ix (Results 1 - 22 of 22) sorted by relevance

/linux-master/lib/dim/
H A Drdma_dim.c11 if (dim->profile_ix == (RDMA_DIM_PARAMS_NUM_PROFILES - 1))
13 dim->profile_ix++;
17 if (dim->profile_ix == 0)
19 dim->profile_ix--;
46 int prev_ix = dim->profile_ix;
58 dim->profile_ix = 0;
73 return dim->profile_ix != prev_ix;
H A Dnet_dim.c77 u8 profile_ix = cq_period_mode == DIM_CQ_PERIOD_MODE_START_FROM_CQE ? local
80 return net_dim_get_rx_moderation(cq_period_mode, profile_ix);
97 u8 profile_ix = cq_period_mode == DIM_CQ_PERIOD_MODE_START_FROM_CQE ? local
100 return net_dim_get_tx_moderation(cq_period_mode, profile_ix);
114 if (dim->profile_ix == (NET_DIM_PARAMS_NUM_PROFILES - 1))
116 dim->profile_ix++;
120 if (dim->profile_ix == 0)
122 dim->profile_ix--;
133 dim->tune_state = dim->profile_ix ? DIM_GOING_LEFT : DIM_GOING_RIGHT;
168 int prev_ix = dim->profile_ix;
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_dim.c24 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
H A Dbnxt_debugfs.c34 "profile_ix = %d\n" \
41 dim->profile_ix,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dim.c49 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
59 net_dim_get_tx_moderation(dim->mode, dim->profile_ix);
/linux-master/include/linux/
H A Ddim.h95 * @profile_ix: Current moderation profile
109 u8 profile_ix; member in struct:dim
/linux-master/drivers/infiniband/core/
H A Dcq.c44 u16 usec = rdma_dim_prof[dim->profile_ix].usec;
45 u16 comps = rdma_dim_prof[dim->profile_ix].comps;
67 dim->profile_ix = RDMA_DIM_START_PROFILE;
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_trace.h78 __entry->dim->profile_ix,
105 __entry->dim->profile_ix,
H A Dice_main.c6464 WARN_ON(dim->profile_ix >= ARRAY_SIZE(tx_profile));
6467 itr = tx_profile[dim->profile_ix].itr;
6484 WARN_ON(dim->profile_ix >= ARRAY_SIZE(rx_profile));
6487 itr = rx_profile[dim->profile_ix].itr;
6515 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX;
6521 tx_profile[rc->dim.profile_ix].itr : rc->itr_setting);
6526 rc->dim.profile_ix = ICE_DIM_DEFAULT_PROFILE_IX;
6531 ice_write_itr(rc, rx_dynamic ? rx_profile[rc->dim.profile_ix].itr :
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c3725 itr = vport->tx_itr_profile[qv->tx_dim.profile_ix];
3733 itr = vport->rx_itr_profile[qv->rx_dim.profile_ix];
3771 if (dim->profile_ix >= ARRAY_SIZE(vport->tx_itr_profile))
3772 dim->profile_ix = ARRAY_SIZE(vport->tx_itr_profile) - 1;
3775 itr = vport->tx_itr_profile[dim->profile_ix];
3797 if (dim->profile_ix >= ARRAY_SIZE(vport->rx_itr_profile))
3798 dim->profile_ix = ARRAY_SIZE(vport->rx_itr_profile) - 1;
3801 itr = vport->rx_itr_profile[dim->profile_ix];
3816 qv->tx_dim.profile_ix = IDPF_DIM_DEFAULT_PROFILE_IX;
3820 qv->rx_dim.profile_ix
[all...]
/linux-master/drivers/soc/fsl/dpio/
H A Ddpio-service.c116 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c1170 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
1200 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix);
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c508 sprintf(result[j++], "%u", dim->profile_ix);
H A Dhns3_enet.c4633 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
4653 net_dim_get_tx_moderation(dim->mode, dim->profile_ix);
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c65 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
67 cur_moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix);
/linux-master/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1131 dim->profile_ix);
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c3584 dim->profile_ix);
3615 dim->profile_ix);
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc.c700 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
/linux-master/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c2422 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_pf.c1749 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c1362 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
/linux-master/drivers/net/
H A Dvirtio_net.c3570 * in response to NAPI traffic changes. Note that dim->profile_ix
3583 update_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix);

Completed in 348 milliseconds