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 BF6E6A034E; Thu, 17 Feb 2022 17:11:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E8CF841172; Thu, 17 Feb 2022 17:10:58 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 4E99240042 for ; Thu, 17 Feb 2022 17:06:48 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id d187so49861pfa.10 for ; Thu, 17 Feb 2022 08:06:48 -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=KoA7WVw3Vhf+g5MAZiKbpMXvHJBVLWp2bfvAeMIq8Ao=; b=ZZzJpr02gfbVOAwbxFqKzaKx8kXZphTbVv8tFcWunmkdj0Wqwyj8DuRks5YVcWGL7n jCdcgVIExNKeR6n0DtYcUcT1K27U6MojP0bjIRIor2j9JoNcZ7oCFohBdjFkfgo0nErG TpNd9+ZgjGgYZktwvggDPSSHtAJp+ZFK07fL4= 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=KoA7WVw3Vhf+g5MAZiKbpMXvHJBVLWp2bfvAeMIq8Ao=; b=pSSwNQ8Q9Q+RRw/cJeSTStIfnq4yYYV3ysI6LnzJDmCKfqVHaRU4FOWmLlz2SLfryV seFBUiwiuM+LiEU0CmWmcfUDOnUzQ3DcdtNxSuP9fV2S0tq9SmVqa5hgfzyGN7UQILUH cavwSBDlwbkYHDWmnHQXbdjEfPsC7XKCQDbwMOBs/+ukQVkXBUSC53wHY63hvFUCbFx3 N1EDs5R5KxqCm0Rmz7hXlW2uI8BRqzlUPa0/r4CVeYIUDTwmWpAlxbufW2apiMwt57oj bSjYtAm4r8bb/CaB+u8doGxFfT36x1IzwP7+r10LSA5rb6guj06MBbZ4X33IdATlKAPa +z2A== X-Gm-Message-State: AOAM530Dk7LAyhmo1Urfy89b1VOpcnImCa22VEgEahZsLpKfU94Pyrkv UhLDTsxYQvTbYfRW6mzKxvsSPQ== X-Google-Smtp-Source: ABdhPJwgAbhAQ24ATWgtkmqFyXAwrX10D42oElYXjXAYH/4ISK+v7Jix7NHG08cqhbtt/O2XVr/ZkA== X-Received: by 2002:a63:27c7:0:b0:343:984e:3428 with SMTP id n190-20020a6327c7000000b00343984e3428mr2997350pgn.528.1645114007560; Thu, 17 Feb 2022 08:06:47 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 08:06:47 -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 07/15] bus/vmbus: add stub for subchannel support API Date: Thu, 17 Feb 2022 21:36:05 +0530 Message-Id: <20220217160613.70161-8-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 subchannels are always supported and so making vmbus_uio_subchannels_supported() always return true. Signed-off-by: Srikanth Kaka Signed-off-by: Vag Singh Signed-off-by: Anand Thulasiram --- drivers/bus/vmbus/freebsd/vmbus_uio.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/bus/vmbus/freebsd/vmbus_uio.c b/drivers/bus/vmbus/freebsd/vmbus_uio.c index b0c011dd9a..95b030c749 100644 --- a/drivers/bus/vmbus/freebsd/vmbus_uio.c +++ b/drivers/bus/vmbus/freebsd/vmbus_uio.c @@ -296,3 +296,11 @@ int vmbus_uio_map_rings(struct vmbus_channel *chan) vmbus_br_setup(&chan->rxbr, (char *)ring_buf + ring_size, ring_size); return 0; } + +bool vmbus_uio_subchannels_supported(const struct rte_vmbus_device *dev, + const struct vmbus_channel *chan) +{ + RTE_SET_USED(dev); + RTE_SET_USED(chan); + return true; +} -- 2.30.2