From owner-freebsd-drivers@freebsd.org Wed Dec 5 17:57:52 2018 Return-Path: Delivered-To: freebsd-drivers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D56951322ADD; Wed, 5 Dec 2018 17:57:51 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C342809D9; Wed, 5 Dec 2018 17:57:51 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: by mail-io1-xd32.google.com with SMTP id r200so17391363iod.11; Wed, 05 Dec 2018 09:57:51 -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; bh=6e+OSncp9CoFmzhyuKi5awk/bqsmJG3o5u1U1kIVDws=; b=opJJShFBflBY6Wv1E2gxeC/++9n5lDAcqqEdjzr3cjpmD6rwVeglT0I+5uM2OUCGMF aTT70XDx2TgPo+ncu3HcDFhLyAimiWOK9sG53TVnF0lHUaJet0InKjZoU80kd8IU1Z4p 3Xgv9kBO1oCKrHiL7tuZwhuCFT3ay3OxYHfmse/j3KK8RdAHq/UbQ0LZIPAoeipcBa6X Ki7h2GDBerFMLBDQQUL8Lp4fc9JPjkEslE9iMsZ3Lkhntu23YZ8jGnqK7PJNryuv8OZd xf9UuXmPBib3mVGYuQ/OYy6nKA1lVOUhkNHrowUODCbziW1clZKJYfwd3GxfcWXBImag pm5Q== 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; bh=6e+OSncp9CoFmzhyuKi5awk/bqsmJG3o5u1U1kIVDws=; b=uFwiGLICNpLmC75zVzm07YkhUmEsWGLYsHVszt2XPHAXb8gMdwVE5jstmQRhiD51pq ITySjWZcalxJk+B0wITH3rNDv3KCtA9s819BD+TNHNVZhFMtQUv0bTigDPfZxgDnFF7w TVhc2i99pfC3S1xlmvWOEqFcWCuh8gaO/XcrP1KG4MOloU8ayD4bl/b8j8zOyG5rdC03 2+7uPznKlDxwhorNaTjqDXNSSZ73Oq8ruYPJDJsFaB1urREO7+Wh1j3q0aRWa+Jexg9f gqqLOwllW2QWiV+Jw/ARQgCyHqhIpqP950hZEAIEe9swxIQkuO31GpAsI/IWkFVS609g BZOQ== X-Gm-Message-State: AA+aEWa90qvitR7N5mNL2yvNgSF2xoqRwE5IDFWl9Bu4o8iIJ7BzAzTj +hAUAuJA0zu+q1vgCJyj2w3GBtTVhGYBdkf6vyTVjQ== X-Google-Smtp-Source: AFSGD/Wc1k4uMJkDMxrA5Pl7LZLr3o8Dh7/psB5THnb9tlTtOn74UBopiij8bfy27a4okSPcO5vNgOHr2li4rh6vUdI= X-Received: by 2002:a5e:a708:: with SMTP id b8mr21313808iod.126.1544032670522; Wed, 05 Dec 2018 09:57:50 -0800 (PST) MIME-Version: 1.0 References: <20181007233304.GS75530@funkthat.com> In-Reply-To: <20181007233304.GS75530@funkthat.com> From: Rajesh Kumar Date: Wed, 5 Dec 2018 23:27:38 +0530 Message-ID: Subject: Re: Is there any tools/applications to validate Non-Transparent Bridge (NTB) functions? To: freebsd-drivers@freebsd.org, freebsd-amd64@freebsd.org X-Rspamd-Queue-Id: 3C342809D9 X-Spamd-Result: default: False [-4.87 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-1.90)[ip: (-6.58), ipnet: 2607:f8b0::/32(-1.53), asn: 15169(-1.29), country: US(-0.09)]; RCVD_IN_DNSWL_NONE(0.00)[2.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2018 17:57:52 -0000 Thanks John, Sorry about the so late response. I could use the if_ntb driver to verify the ntb functions. I could able to ping between the ntb interfaces. Is there any way, we can measure the performance of the NTB transactions in FreeBSD. Like we have the ntb_perf driver in Linux, is there any other generic tool which can be used in FreeBSD? On Mon, Oct 8, 2018 at 5:03 AM John-Mark Gurney wrote: > Rajesh Kumar wrote this message on Thu, Oct 04, 2018 at 16:42 +0530: > > Does anyone have any prior experience working on NTB driver in FreeBSD? > If > > so, do we have any tools/applications to verify the NTB driver functions. > > In Linux, there are tools like ntb_perf, ntb_pingpong, ntb_tool for > various > > purposes. Do we have any equivalent in FreeBSD? > > Looks like you can try to bring up an interface on them to connect > the two: > > https://www.freebsd.org/cgi/man.cgi?query=if_ntb&sektion=4&manpath=FreeBSD+11.2-RELEASE+and+Ports > > There are various links to other manpages talking about how to use > them... > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." >