lkml.org 
[lkml]   [2019]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next v2] af_packet: refactoring code for prb_calc_retire_blk_tmo
From
From: Mao Wenan <maowenan@huawei.com>
Date: Mon, 23 Dec 2019 18:42:57 +0800

> If __ethtool_get_link_ksettings() is failed and with
> non-zero value, prb_calc_retire_blk_tmo() should return
> DEFAULT_PRB_RETIRE_TOV firstly.
>
> This patch is to refactory code and make it more readable.
>
> Signed-off-by: Mao Wenan <maowenan@huawei.com>

Applied, thanks.

\
 
 \ /
  Last update: 2019-12-27 00:20    [W:0.031 / U:4.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site