From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9E1C8A0C49; Wed, 14 Jul 2021 08:06:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 880FB4014E; Wed, 14 Jul 2021 08:06:05 +0200 (CEST) Received: from smtpbg501.qq.com (smtpbg501.qq.com [203.205.250.101]) by mails.dpdk.org (Postfix) with ESMTP id 148E54014E for ; Wed, 14 Jul 2021 08:06:02 +0200 (CEST) X-QQ-mid: bizesmtp46t1626242752t76c7i2f Received: from jiawenwu.trustnetic.com (unknown [183.129.236.74]) by esmtp6.qq.com (ESMTP) with id ; Wed, 14 Jul 2021 14:05:49 +0800 (CST) X-QQ-SSF: 01400000002000E0F000B00A0000000 X-QQ-FEAT: O9RHVi+JMbK1Sr2Ud3J0GuuKY5hUFRIUBaTC3dLAZZIg6KWcsoQluvvXJF1qD QyQA5twm6u5tWVWCJK7VBlp11ChB8luW3rWayAjwJT75KQfBcriaR6cShoVDORbfE74J3vR YMwpscRaRnbOVqk/I8f8Zficis0bYC2dG/aEsof8/Y/LnnBGljOwQ4d5PgfzmRE+mcpfuur SFYKARbzIgQnQ/TT5kZqzHb+Kzt+QGIUnXtWod5tl0WUYeoGGRlhrhZuMgZg2hrVzPzIIKy pGTvTCY058/rj4u0cFMtk43LE7Lr5kTT6HMTasGRMpnyqr+8KLr42qAwalioDBeDunc+h+s TW0Z0zzW3UJyP0eXnY= X-QQ-GoodBg: 2 From: Jiawen Wu To: dev@dpdk.org Cc: Jiawen Wu , stable@dpdk.org Date: Wed, 14 Jul 2021 14:05:48 +0800 Message-Id: <20210714060548.14448-1-jiawenwu@trustnetic.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:trustnetic.com:qybgforeign:qybgforeign5 X-QQ-Bgrelay: 1 Subject: [dpdk-dev] [PATCH] net/txgbe: fix VLAN filter setting for VF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Fix the function call error on VLAN filter table address setting for VF. Fixes: aa1ae7941e71 ("net/txgbe: support VF VLAN") Cc: stable@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/txgbe_ethdev_vf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/txgbe/txgbe_ethdev_vf.c b/drivers/net/txgbe/txgbe_ethdev_vf.c index 6f577f4c80..0bae6ffd1f 100644 --- a/drivers/net/txgbe/txgbe_ethdev_vf.c +++ b/drivers/net/txgbe/txgbe_ethdev_vf.c @@ -823,7 +823,7 @@ static void txgbevf_set_vfta_all(struct rte_eth_dev *dev, bool on) mask = 1; for (j = 0; j < 32; j++) { if (vfta & mask) - txgbe_set_vfta(hw, (i << 5) + j, 0, + hw->mac.set_vfta(hw, (i << 5) + j, 0, on, false); mask <<= 1; } -- 2.21.0.windows.1