lkml.org 
[lkml]   [2020]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/2] net: qed*: Reduce RX and TX default ring count when running inside kdump kernel
From
From: Bhupesh Sharma <bhsharma@redhat.com>
Date: Wed, 6 May 2020 00:34:40 +0530

> -#define NUM_RX_BDS_DEF ((u16)BIT(10) - 1)
> +#define NUM_RX_BDS_DEF ((is_kdump_kernel()) ? ((u16)BIT(6) - 1) : ((u16)BIT(10) - 1))

These parenthesis are very excessive and unnecessary. At the
very least remove the parenthesis around is_kdump_kernel().

\
 
 \ /
  Last update: 2020-05-05 23:25    [W:0.987 / U:1.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site