lkml.org 
[lkml]   [2023]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH net-next 1/6] net: hns3: add support for page_pool_get_stats
    On Mon, 11 Dec 2023 10:08:11 +0800 Jijie Shao wrote:
    > Add support for page_pool_get_stats, then the hns3 driver
    > can get page pool statistics by ethtool.

    Sorry, you're late to the party :( We have now added the ability to
    read page pool stats via netlink. The support was merged as
    a379972973a80924b1d03443e20f113ff76a94c7.

    If you use the page pools in your driver in a normal way (each page
    pool only used by one NAPI instance and one netdev) you should use
    that instead of dumping the stats into ethtool -S.
    --
    pw-bot: cr

    \
     
     \ /
      Last update: 2023-12-12 04:21    [W:2.352 / U:1.208 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site