Changeset 44918


Ignore:
Timestamp:
2015-03-21T13:08:07+01:00 (3 years ago)
Author:
nbd
Message:

ramips: increase NAPI weight for mt7621 to improve routing performance a bit more

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c

    r44741 r44918  
    14871487        napi_weight = 32; 
    14881488        if (priv->flags & FE_FLAG_NAPI_WEIGHT) { 
    1489                 napi_weight *= 2; 
    1490                 priv->tx_ring_size *= 2; 
    1491                 priv->rx_ring_size *= 2; 
     1489                napi_weight *= 4; 
     1490                priv->tx_ring_size *= 4; 
     1491                priv->rx_ring_size *= 4; 
    14921492        } 
    14931493        netif_napi_add(netdev, &priv->rx_napi, fe_poll, napi_weight); 
Note: See TracChangeset for help on using the changeset viewer.