Message ID | 20240405081547.20676-5-louis.peens@corigine.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | nfp: series of minor driver improvements | expand |
On Fri, Apr 05, 2024 at 10:15:47AM +0200, Louis Peens wrote: > From: Fei Qin <fei.qin@corigine.com> > > Latency comparison between EQE profiles and SPECIFIC_0 profiles > for 5 different runs: > > Latency (us) > EQE profiles | 132.85 136.32 131.31 131.37 133.51 > SPECIFIC_0 profiles | 92.09 92.16 95.58 98.26 89.79 Nice improvement :) > Signed-off-by: Fei Qin <fei.qin@corigine.com> > Signed-off-by: Louis Peens <louis.peens@corigine.com> Reviewed-by: Simon Horman <horms@kernel.org> ...
diff --git a/drivers/net/ethernet/netronome/nfp/nfp_net_common.c b/drivers/net/ethernet/netronome/nfp/nfp_net_common.c index 997cc4fcffdb..4c2dac1e1be4 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_net_common.c +++ b/drivers/net/ethernet/netronome/nfp/nfp_net_common.c @@ -1232,12 +1232,12 @@ static void nfp_net_open_stack(struct nfp_net *nn) if (r_vec->rx_ring) { INIT_WORK(&r_vec->rx_dim.work, nfp_net_rx_dim_work); - r_vec->rx_dim.mode = DIM_CQ_PERIOD_MODE_START_FROM_EQE; + r_vec->rx_dim.mode = DIM_CQ_PERIOD_MODE_SPECIFIC_0; } if (r_vec->tx_ring) { INIT_WORK(&r_vec->tx_dim.work, nfp_net_tx_dim_work); - r_vec->tx_dim.mode = DIM_CQ_PERIOD_MODE_START_FROM_EQE; + r_vec->tx_dim.mode = DIM_CQ_PERIOD_MODE_SPECIFIC_0; } napi_enable(&r_vec->napi);