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 52E88A034E; Thu, 17 Feb 2022 17:11:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCCE741186; Thu, 17 Feb 2022 17:11:00 +0100 (CET) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id 0373E40042 for ; Thu, 17 Feb 2022 17:06:54 +0100 (CET) Received: by mail-pj1-f42.google.com with SMTP id v13-20020a17090ac90d00b001b87bc106bdso9836030pjt.4 for ; Thu, 17 Feb 2022 08:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneconvergence.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=22ld7iGtLypbWNKcrTv7ZEI6V4+hiA0tI66k2StuwMc=; b=cj3CqI5Pg+HOwsEiWyY4p08YAx0Edze2eVuBYcggZmSsczBtUmh0cZBMnhjfKqACvi 8PzHAPbIyx9oJAw9oYs9VVVWOqc+mmA5tRf7KV8J/VFDj1FSpXIJBNHH+CTiyNhcGjBH dgY1zPPKW4NNUJVpduzJTuyZg6WcOTvpmQ7Mg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=22ld7iGtLypbWNKcrTv7ZEI6V4+hiA0tI66k2StuwMc=; b=tlYoP3SURF48jyHsYkaKIovjss60U59Y5NHI3KPdmh60ENxvbzzFmg87yQsu7dQ74E HJvXO/TVL9kI0v7Xe5HR6X0mXh7Tws3ecHTd87uVehzW3vWkdOJBVNkGOq0tFtSEb4lO 913OkcmVymC/+u31Ulod9Wc+n+ItxM3t4+kI+YsroH7/3z3XOctdsdl8j9qabp4sZ4c8 TGsdNU7Ha+feMBFr0jb1uY5XF8glq/asA0D8UF31/XD0ufBNzVwO+VaKj3mVSqIjdscS YOQxM6Ha16q3XNnpOmqbyOnfuuqCLv4skf1fLLpYKMPhXhQz9a6577XThxG0KH4rgz92 K/5w== X-Gm-Message-State: AOAM532lZ7iT3M7d29OqjfISlTllckdJVb+eUSDGVoUy6xoTJKQsxsAK Ftr4JQVGxQsBvIqVb1tJYrvOmA== X-Google-Smtp-Source: ABdhPJwf8Wnt1My5wfRMrQXuDM7Hg3ftL9qYIqmq6cCGaifIihX2kCv3ChrF/yH/6D5EnVgP2CjJFQ== X-Received: by 2002:a17:90b:3698:b0:1b9:e011:b942 with SMTP id mj24-20020a17090b369800b001b9e011b942mr7902966pjb.189.1645114013263; Thu, 17 Feb 2022 08:06:53 -0800 (PST) Received: from srikanth-ThinkPad-T450.. ([49.37.144.122]) by smtp.gmail.com with ESMTPSA id z14sm47807pfh.173.2022.02.17.08.06.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 08:06:52 -0800 (PST) From: Srikanth Kaka To: sthemmin@microsoft.com, longli@microsoft.com Cc: dev@dpdk.org, vag.singh@oneconvergence.com, avelu@juniper.net, Srikanth Kaka Subject: [PATCH v3 09/15] net/netvsc: make IOCTL call to open subchannels Date: Thu, 17 Feb 2022 21:36:07 +0530 Message-Id: <20220217160613.70161-10-srikanth.k@oneconvergence.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220217160613.70161-1-srikanth.k@oneconvergence.com> References: <20210927134231.11177-1-srikanth.k@oneconvergence.com> <20220217160613.70161-1-srikanth.k@oneconvergence.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 17 Feb 2022 17:10:51 +0100 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 make IOCTL call to open subchannels Signed-off-by: Srikanth Kaka Signed-off-by: Vag Singh Signed-off-by: Anand Thulasiram --- drivers/net/netvsc/hn_ethdev.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethdev.c index 8b1e07b775..104c7aebc5 100644 --- a/drivers/net/netvsc/hn_ethdev.c +++ b/drivers/net/netvsc/hn_ethdev.c @@ -516,6 +516,10 @@ static int hn_subchan_configure(struct hn_data *hv, if (err) return err; + err = rte_vmbus_ioctl(hv->vmbus, subchan); + if (err) + return err; + while (subchan > 0) { struct vmbus_channel *new_sc; uint16_t chn_index; -- 2.30.2