From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 1F0BBA0096 for ; Fri, 7 Jun 2019 18:08:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B64D1B9B2; Fri, 7 Jun 2019 18:08:21 +0200 (CEST) Received: from mx0a-00191d01.pphosted.com (mx0b-00191d01.pphosted.com [67.231.157.136]) by dpdk.org (Postfix) with ESMTP id E24971B9B2; Fri, 7 Jun 2019 18:08:19 +0200 (CEST) Received: from pps.filterd (m0049459.ppops.net [127.0.0.1]) by m0049459.ppops.net-00191d01. (8.16.0.27/8.16.0.27) with SMTP id x57FxvPg043376; Fri, 7 Jun 2019 12:08:19 -0400 Received: from tlpd255.enaf.dadc.sbc.com (sbcsmtp3.sbc.com [144.160.112.28]) by m0049459.ppops.net-00191d01. with ESMTP id 2sytdchkwn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Jun 2019 12:08:18 -0400 Received: from enaf.dadc.sbc.com (localhost [127.0.0.1]) by tlpd255.enaf.dadc.sbc.com (8.14.5/8.14.5) with ESMTP id x57G8Fe9084743; Fri, 7 Jun 2019 11:08:18 -0500 Received: from zlp30499.vci.att.com (zlp30499.vci.att.com [135.46.181.149]) by tlpd255.enaf.dadc.sbc.com (8.14.5/8.14.5) with ESMTP id x57G8B0o084569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 7 Jun 2019 11:08:11 -0500 Received: from zlp30499.vci.att.com (zlp30499.vci.att.com [127.0.0.1]) by zlp30499.vci.att.com (Service) with ESMTP id 828C1400B57C; Fri, 7 Jun 2019 16:08:11 +0000 (GMT) Received: from clpi183.sldc.sbc.com (unknown [135.41.1.46]) by zlp30499.vci.att.com (Service) with ESMTP id 6531A400B57B; Fri, 7 Jun 2019 16:08:11 +0000 (GMT) Received: from sldc.sbc.com (localhost [127.0.0.1]) by clpi183.sldc.sbc.com (8.14.5/8.14.5) with ESMTP id x57G8Av8009346; Fri, 7 Jun 2019 11:08:11 -0500 Received: from mail-green.research.att.com (mail-green.research.att.com [135.207.255.15]) by clpi183.sldc.sbc.com (8.14.5/8.14.5) with ESMTP id x57G83AU008932; Fri, 7 Jun 2019 11:08:03 -0500 Received: from bd-228-25.research.att.com (bd-228-25.research.att.com [135.197.228.25]) by mail-green.research.att.com (Postfix) with ESMTP id 9D623E1229; Fri, 7 Jun 2019 12:07:08 -0400 (EDT) Date: Fri, 7 Jun 2019 12:08:01 -0400 (EDT) From: Scott Daniels To: Haiyue Wang cc: dev@dpdk.org, qi.z.zhang@intel.com, wenzhuo.lu@intel.com, liang-min.wang@intel.com, ktraynor@redhat.com, stable@dpdk.org In-Reply-To: <1559922981-101848-1-git-send-email-haiyue.wang@intel.com> Message-ID: References: <1559922981-101848-1-git-send-email-haiyue.wang@intel.com> User-Agent: Alpine 2.20.12 (LSU 116 2015-12-14) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-07_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=751 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906070109 Subject: Re: [dpdk-stable] [PATCH v2] net/ixgbevf: add an option pflink_fullchk to get link status nowait X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Acked-by: Scott Daniels daniels@research.att.com On Fri, 7 Jun 2019, Haiyue Wang wrote: > To get the VF's link status by calling 'rte_eth_link_get_nowait()', the > VF not only check PF's physical link status, but also check the mailbox > running status. And mailbox checking will generate mailbox interrupt in > PF, it will be worse if many VFs are running in the system, the PF will > have to handle many interrrupts. > > Normally, checking the PF's physical link status is enough for nowait. > For different scenarios, adding an 'pflink_fullchk' option to control > whether to check the link fully or not. > > Fixes: 91546fb62e67 ("net/ixgbevf: fix link state") > Cc: stable@dpdk.org > > Signed-off-by: Haiyue Wang