lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190301142807.GK29992@unicorn.suse.cz>
Date:   Fri, 1 Mar 2019 15:28:07 +0100
From:   Michal Kubecek <mkubecek@...e.cz>
To:     Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc:     linville@...driver.com,
        Nicholas Nunley <nicholas.d.nunley@...el.com>,
        netdev@...r.kernel.org
Subject: Re: [PATCH v3 5/6] ethtool: support per-queue sub command --coalesce

On Fri, Mar 01, 2019 at 12:15:31AM -0800, Jeff Kirsher wrote:
> From: Nicholas Nunley <nicholas.d.nunley@...el.com>
> 
> This patch adds the ability to configure the coalesce settings from
> do_scoalesce on a per-queue basis.
> 
> For each masked queue the current settings are read, modified, and written
> back to the kernel.
> 
> Example:
> 
>  $ sudo ./ethtool --per-queue eth5 queue_mask 0x1 --coalesce
>  rx-usecs 10 tx-usecs 5
>  $ sudo ./ethtool --per-queue eth5 queue_mask 0x1 --show-coalesce
> 
>  Queue: 0
>  Adaptive RX: on  TX: on
>  stats-block-usecs: 0
>  sample-interval: 0
>  pkt-rate-low: 0
>  pkt-rate-high: 0
> 
>  rx-usecs: 10
>  rx-frames: 0
>  rx-usecs-irq: 0
>  rx-frames-irq: 256
> 
>  tx-usecs: 5
>  tx-frames: 0
>  tx-usecs-irq: 0
>  tx-frames-irq: 256
> 
>  rx-usecs-low: 0
>  rx-frame-low: 0
>  tx-usecs-low: 0
>  tx-frame-low: 0
> 
>  rx-usecs-high: 0
>  rx-frame-high: 0
>  tx-usecs-high: 0
>  tx-frame-high: 0
> 
> Based on patch by Kan Liang <kan.liang@...el.com>
> 
> Signed-off-by: Nicholas Nunley <nicholas.d.nunley@...el.com>

Reviewed-by: Michal Kubecek <mkubecek@...e.cz>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ