Re: [PATCH 09/10 net-next] net/mlx5: Add page_pool stats to the Mellanox driver

2019-10-18 Thread Jonathan Lemon
On 17 Oct 2019, at 4:09, Jesper Dangaard Brouer wrote: On Wed, 16 Oct 2019 15:50:27 -0700 Jonathan Lemon wrote: Replace the now deprecated inernal cache stats with the page pool stats. I can see that the stats you introduced are useful, but they have to be implemented in way that does

Re: [PATCH 09/10 net-next] net/mlx5: Add page_pool stats to the Mellanox driver

2019-10-17 Thread Jesper Dangaard Brouer
On Wed, 16 Oct 2019 15:50:27 -0700 Jonathan Lemon wrote: > Replace the now deprecated inernal cache stats with the page pool stats. I can see that the stats you introduced are useful, but they have to be implemented in way that does not hurt performance. > # ethtool -S eth0 | grep rx_pool >

[PATCH 09/10 net-next] net/mlx5: Add page_pool stats to the Mellanox driver

2019-10-16 Thread Jonathan Lemon
Replace the now deprecated inernal cache stats with the page pool stats. # ethtool -S eth0 | grep rx_pool rx_pool_cache_hit: 1646798 rx_pool_cache_full: 0 rx_pool_cache_empty: 15723566 rx_pool_ring_produce: 474958 rx_pool_ring_consume: 0 rx_pool_ring_return: 474958