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 88BB9A0C49 for ; Wed, 14 Jul 2021 08:06:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B16E4003E; Wed, 14 Jul 2021 08:06:00 +0200 (CEST) Received: from smtpbgbr2.qq.com (smtpbgbr2.qq.com [54.207.22.56]) by mails.dpdk.org (Postfix) with ESMTP id F081B4003E for ; Wed, 14 Jul 2021 08:05:58 +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-stable] [PATCH] net/txgbe: fix VLAN filter setting for VF X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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" 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