/linux-master/lib/dim/ |
H A D | rdma_dim.c | 11 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 D | net_dim.c | 77 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 D | bnxt_dim.c | 24 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
|
H A D | bnxt_debugfs.c | 34 "profile_ix = %d\n" \ 41 dim->profile_ix,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dim.c | 49 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 D | dim.h | 95 * @profile_ix: Current moderation profile 109 u8 profile_ix; member in struct:dim
|
/linux-master/drivers/infiniband/core/ |
H A D | cq.c | 44 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 D | ice_trace.h | 78 __entry->dim->profile_ix, 105 __entry->dim->profile_ix,
|
H A D | ice_main.c | 6464 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 D | idpf_txrx.c | 3725 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 D | dpio-service.c | 116 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_common.c | 1170 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 D | hns3_debugfs.c | 508 sprintf(result[j++], "%u", dim->profile_ix);
|
H A D | hns3_enet.c | 4633 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 D | ionic_lif.c | 65 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 D | bcmsysport.c | 1131 dim->profile_ix);
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 3584 dim->profile_ix); 3615 dim->profile_ix);
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 700 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
|
/linux-master/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 2422 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 1749 cur_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
|
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.c | 1362 net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
|
/linux-master/drivers/net/ |
H A D | virtio_net.c | 3570 * in response to NAPI traffic changes. Note that dim->profile_ix 3583 update_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
|