From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54C57C43381 for ; Tue, 19 Mar 2019 14:17:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2F512213F2 for ; Tue, 19 Mar 2019 14:17:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727227AbfCSORZ (ORCPT ); Tue, 19 Mar 2019 10:17:25 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47194 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726466AbfCSORZ (ORCPT ); Tue, 19 Mar 2019 10:17:25 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2JEENhC097617 for ; Tue, 19 Mar 2019 10:17:24 -0400 Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by mx0b-001b2d01.pphosted.com with ESMTP id 2rb1yygbdk-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Mar 2019 10:17:24 -0400 Received: from localhost by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 19 Mar 2019 14:17:21 -0000 Received: from b03cxnp08027.gho.boulder.ibm.com (9.17.130.19) by e36.co.us.ibm.com (192.168.1.136) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 19 Mar 2019 14:17:18 -0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x2JEHJBV48758912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Mar 2019 14:17:19 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7BDF87805C; Tue, 19 Mar 2019 14:17:19 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 76FBD7805E; Tue, 19 Mar 2019 14:17:18 +0000 (GMT) Received: from kashyyyk.br.ibm.com (unknown [9.18.239.177]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTPS; Tue, 19 Mar 2019 14:17:18 +0000 (GMT) Date: Tue, 19 Mar 2019 11:17:12 -0300 From: Mauro Rodrigues To: Murilo Fossa Vicentini Cc: netdev@vger.kernel.org, tlfalcon@linux.ibm.com, abdhalee@linux.vnet.ibm.com Subject: Re: [PATCH net-next] ibmvnic: Report actual backing device speed and duplex values References: <20190319132851.10345-1-muvic@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190319132851.10345-1-muvic@linux.ibm.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-TM-AS-GCONF: 00 x-cbid: 19031914-0020-0000-0000-00000ECAAB55 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010786; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000281; SDB=6.01176631; UDB=6.00615453; IPR=6.00957319; MB=3.00026052; MTD=3.00000008; XFM=3.00000015; UTC=2019-03-19 14:17:19 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19031914-0021-0000-0000-000065245B65 Message-Id: <20190319141712.GA29183@kashyyyk.br.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-19_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903190106 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Mar 19, 2019 at 10:28:51AM -0300, Murilo Fossa Vicentini wrote: > The ibmvnic driver currently reports a fixed value for both speed and > duplex settings regardless of the actual backing device that is being > used. By adding support to the QUERY_PHYS_PARMS command defined by the > PAPR+ we can query the current physical port state and report the proper > values for these feilds. > > Reported-by: Abdul Haleem > Signed-off-by: Murilo Fossa Vicentini Reviewed-by: Mauro S. M. Rodrigues