Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1017443imu; Fri, 7 Dec 2018 12:42:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/W4O03CS/GOuS6z8U4m49IdzcBz55/mK+V2cl0D++E4ZbSk/hY8qSht5Iaf+xuQSf6cwT3A X-Received: by 2002:a62:7504:: with SMTP id q4mr3617469pfc.180.1544215325671; Fri, 07 Dec 2018 12:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544215325; cv=none; d=google.com; s=arc-20160816; b=AtYkOaB/LDInXvyA+hKDvkbyCcPanzuwvbUPymzH6zfh7G2DiQlqHrOR0LtSk4rvPX +msD18FjyxinZBobNA50sFTQs5JEcie019NFZkOqV2lZVnZMkBgMpizuurgNXEeb4vge 3NC/EuwVqK+gmyUsJMKh6pOGfKb6Vuh7S+7tV/XluEbbYA2ZQQgWlWuTeREQaNcPzOf4 L8vksL69BOSOGQQk12wxpco/5Wr9T0bGyiy+9jJz54n1ZI7wXIngRZkxOIxJVylmt9zU FrObQ2MridP5aUHy5nJWSOZGcLLx8tu5KkBwDvNvFhItPNpahDirbl+d7iAWVYMKPSTR o5Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=xISEHR5wIl0hoGtSICe9xPdAz764qxluh+UkDSeQ/to=; b=aM88Pell3LGOiZY2hVlIIUJqP7JmVpEosci9VcFpxK7jKmkD/aQ6emO6wHryUEupds vkn1kQGsypgtQU/HERKFdyCklUyW9f8nKvVM1fl/U9KtovKltplXrtPUfhGk3yMEKRO9 tsFbxxAqdDYPGfbRv2BCEOOl1x5+TlUNwFAwe05x6G+VswE+D0bwls41s7C6JeaW0lhy T8wuV+1FBGt0aZqRQ55Zcms0w8YYI/xwocBJ+VIkcnJ7de8roDsqOcqDL3Uhq58g2zSJ xPMBv80YwzOrk60lWRMv66dE/Rc4QTgHCdxuyCA8RARtfwKWR8xZpAsggsO11aegKPA5 kYSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h129si4214757pfb.253.2018.12.07.12.41.50; Fri, 07 Dec 2018 12:42:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726142AbeLGUlO (ORCPT + 99 others); Fri, 7 Dec 2018 15:41:14 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:37114 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726041AbeLGUlO (ORCPT ); Fri, 7 Dec 2018 15:41:14 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::bf5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id A59C7126ABC51; Fri, 7 Dec 2018 12:41:13 -0800 (PST) Date: Fri, 07 Dec 2018 12:41:13 -0800 (PST) Message-Id: <20181207.124113.261240958376681894.davem@davemloft.net> To: tarick@google.com Cc: eranbe@mellanox.com, tariqt@mellanox.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net/mlx4_core: Correctly set PFC param if global pause is turned off. From: David Miller In-Reply-To: <20181207083026.173789-1-tarick@google.com> References: <20181207083026.173789-1-tarick@google.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 07 Dec 2018 12:41:13 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tarick Bedeir Date: Fri, 7 Dec 2018 00:30:26 -0800 > rx_ppp and tx_ppp can be set between 0 and 255, so don't clamp to 1. > > Fixes: 6e8814ceb7e8 ("net/mlx4_en: Fix mixed PFC and Global pause user control requests") > Signed-off-by: Tarick Bedeir Tariq and co., please review.