From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) by dpdk.org (Postfix) with ESMTP id CC4C9989F for ; Mon, 21 May 2018 03:15:15 +0200 (CEST) X-QQ-mid: bizesmtp22t1526865309tna35190 Received: from air5005.lan (unknown [113.116.53.132]) by esmtp6.qq.com (ESMTP) with id ; Mon, 21 May 2018 09:15:09 +0800 (CST) X-QQ-SSF: 01100000000000F0F330000A0000000 X-QQ-FEAT: dRzckJEjyP7jr3QO1A1oG3KHhtOZvu/w47DROWumi02OqFh5OnNIlbRu29w4y T8UyElgMj1l0MOif6JLSUReujWbqFjRs3gobd3ohH6u5zdlyj3OBm0sD82MN+2cbjpKKGBc xzchSUK2wwqJBc+YZWvFhJkmUaYnv7hy86XJoVm+jzbAqeLeDBp51PQLwF/nF7GCQLLJ1Cy ncMnnUNIDRQAkXk+tBDHsiiM0tGo04rD+WxA2HVlrAoKGzKgGVmmTYhFOarInCtRyJd4HUF hQUFBCaeBjz0xkvZ3ipBOIZsY= X-QQ-GoodBg: 0 From: yaochuhong To: shijith.thotton@cavium.com Cc: dev@dpdk.org, yaochuhong Date: Mon, 21 May 2018 09:15:07 +0800 Message-Id: <1526865307-59470-1-git-send-email-ych@panath.cn> X-Mailer: git-send-email 1.8.3.1 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:panath.cn:qybgforeign:qybgforeign4 X-QQ-Bgrelay: 1 Subject: [dpdk-dev] [PATCH 2/2] fix Coding Style X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2018 01:15:17 -0000 --- drivers/net/liquidio/lio_ethdev.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) mode change 100755 => 100644 drivers/net/liquidio/lio_ethdev.c diff --git a/drivers/net/liquidio/lio_ethdev.c b/drivers/net/liquidio/lio_ethdev.c old mode 100755 new mode 100644 index bd47911..0a6eb55 --- a/drivers/net/liquidio/lio_ethdev.c +++ b/drivers/net/liquidio/lio_ethdev.c @@ -1405,10 +1405,7 @@ struct rte_lio_xstats_name_off { /* Configure RSS if device configured with multiple RX queues. */ lio_dev_mq_rx_configure(eth_dev); - /* Before update the link info, set link_status64 to 0, - * Otherwise, when eth_dev->data->mtu != mtu, the link state information cannot be obtained, - * and lio_dev->intf_open will be set to 0. - */ + /* Before update the link info, must set link_status64 to 0. */ lio_dev->linfo.link.link_status64 = 0; /* start polling for lsc */ -- 1.8.3.1