Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp11054361pxu; Wed, 30 Dec 2020 21:27:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3T0kLm4WH1577DM/rS9LiX2m/oucZcBAmYmYzpPPeQ5P7kz5kI+O8MObgztmzDxarhp1U X-Received: by 2002:a50:fc8b:: with SMTP id f11mr53703866edq.11.1609392425849; Wed, 30 Dec 2020 21:27:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609392425; cv=none; d=google.com; s=arc-20160816; b=eIF/fkHmvr+FR6jLcDuYk7RtXe2uv5TNBG65ws7PL4Lgikwm1fPr27xBscs5ZUXqxK bmmflnwfTL2iVi/cXdiR4iNl9ypPbb90/KE3vZB4j9jVP48NXbs3g//bqFPEz+934HEs CoMgBiCFKVERlppzdNvJ8iK635U1opfkl+F9mhbzBH/ulc9Yu0RYEBcwS0dE5DtUGVd8 RwnZUsbkl5O19+xV17rVh2Wwnf7TtZ6vvERER0yjfiu53Ozu+FXKFVvvmVjGbatMVs3B TiwiX5cz7F13tPcE40bu6U/97Fk9vZgEkSrK5p5cing+xsHCyrzKYjrMcFECdrvpQxn8 R3KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=RIc44+c3YEkg/IldDEKf0sBTUdVnrPFU3OYUl/jyWMQ=; b=TvtpJr8H94gyiCJPmu5LZZza6/ZjXJBZcKorApV1vWISQhYZeuP7gMj9f+otR82Gn8 jzJrncOO5NVeQnQG0/SmH6Vq4OGpbXuXxzcXsKYT9eiqefBGv/cKqRwYzDSLQn28y3mm yNnKJr7KimgQP7S8OPenpyyuoeAeTYTX5Lc4X4G2+XC3P8ZoLolxdHzRrg5nQ5AnLRfu nzE7XjcYWdpsmy77zrNnXXNC2rT6f4Zd1YTwj3E3NesdaKuzi5tOE5R7gAgfM0yGzk9P FRU/1yrYjzebjm1twg07DPHJjehtuyMlwnsGS6tXZLxrBg/3BA+C2g39w9bofCbygm+P foBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ESONkeY3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 97si25636218edr.112.2020.12.30.21.26.25; Wed, 30 Dec 2020 21:27:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ESONkeY3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726363AbgLaFXh (ORCPT + 99 others); Thu, 31 Dec 2020 00:23:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbgLaFXh (ORCPT ); Thu, 31 Dec 2020 00:23:37 -0500 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CD7FC061573; Wed, 30 Dec 2020 21:22:57 -0800 (PST) Received: by mail-io1-xd36.google.com with SMTP id 81so16348005ioc.13; Wed, 30 Dec 2020 21:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RIc44+c3YEkg/IldDEKf0sBTUdVnrPFU3OYUl/jyWMQ=; b=ESONkeY34QnDOUXJGNPrRPqfRE+cE7h5CX1YsyUv2MldHKKA8ZakrfIcqcwGsjJtYX FFE/1oHNNwpQ7O+DW5ZjsLSeSwSP1UBUBsC1Pb7OnJkS8yDl3TVFEOJW7ynl99HNN6TU fMnMXxD0vVTEKgK+7ZeSuiqpZLsEt2GjMHJ6aplUqeV6xnx4onafP49pBsOOu7Cym+cn YCv2E5NhpSk8MI7IwH76cu6QQBM1Q2U7HSlKQJyZ4HKeVypsHO8jon5AOeXkhr3EjBIq maaBXDPDyawGt29XGbgqgUQmmb3PeG2ejzU7d3ADNPBQ7JcyYkWh6vfV2tiwdE5p/8dV M1cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RIc44+c3YEkg/IldDEKf0sBTUdVnrPFU3OYUl/jyWMQ=; b=M+wdcapUEiKIhxYNEPyBxm4MLaXoKC9t1/qNo6CfQk29xEotcWIVjIzHtjNRbJnVEV jltG4W4IBxyQzX2Uo+fO5CFckGs6sbz3Jcz2vwQbzf5X9qusYeXxrXMtCJZ5mYyThstR Y+YdwkDxe4hj0gNE9Yf8747p5mNdrdOaJic9hKh5BbE9UqZZlCrBBGditCyO7AqOXBvK wj77dmwbluvivctKUI/kM3BifGsPgTcl+094NwU/+p5xUb5eWX9r25+Fhu92sAHHF0Jk pAP5urbf4KFg6TvCndtcV5zmu9nHZqzsaJwkbsShEZTvfhvqIqk/S7o335Fmv8rByDlo 4rEg== X-Gm-Message-State: AOAM5326YyBjwXDmKk4LpUW2mkWXNsDg1gYwlXVTo79He9tqU8ggJUu4 LJ7/YlwTPB4hnYEafMpax9nvCLwHPrIramPph9M= X-Received: by 2002:a6b:3115:: with SMTP id j21mr44671212ioa.55.1609392176219; Wed, 30 Dec 2020 21:22:56 -0800 (PST) MIME-Version: 1.0 References: <20201228094507.32141-1-bongsu.jeon@samsung.com> <20201228131657.562606a0@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201228131657.562606a0@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> From: Bongsu Jeon Date: Thu, 31 Dec 2020 14:22:45 +0900 Message-ID: Subject: Re: [PATCH net-next] nfc: Add a virtual nci device driver To: Jakub Kicinski Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfc@lists.01.org, Bongsu Jeon Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 29, 2020 at 6:16 AM Jakub Kicinski wrote: > > On Mon, 28 Dec 2020 18:45:07 +0900 Bongsu Jeon wrote: > > From: Bongsu Jeon > > > > A NCI virtual device can be made to simulate a NCI device in user space. > > Using the virtual NCI device, The NCI module and application can be > > validated. This driver supports to communicate between the virtual NCI > > device and NCI module. > > > > Signed-off-by: Bongsu Jeon > > net-next is still closed: > > http://vger.kernel.org/~davem/net-next.html > > Please repost in a few days. > > As far as the patch goes - please include some tests for the NCI/NFC > subsystem based on this virtual device, best if they live in tree under > tools/testing/selftest. thank you for your answer. I think that neard(NFC deamon) is necessary to test the NCI subsystem meaningfully. The NCI virtual device in user space can communicate with neard through this driver. Is it enough to make NCI virtual device at tools/nfc for some test?