From: Logan Gunthorpe <logang@deltatee.com>
To: Jiasen Lin <linjiasen@hygon.cn>,
linux-kernel@vger.kernel.org, linux-ntb@googlegroups.com,
jdmason@kudzu.us
Cc: allenbh@gmail.com, dave.jiang@intel.com, sanju.mehta@amd.com
Subject: Re: [PATCH] NTB: ntb_perf: Add more debugfs entries for ntb_perf
Date: Tue, 17 Dec 2019 09:42:48 -0700 [thread overview]
Message-ID: <d4f679cd-739b-fd80-8344-7da475937835@deltatee.com> (raw)
In-Reply-To: <1576550536-84697-1-git-send-email-linjiasen@hygon.cn>
On 2019-12-16 7:42 p.m., Jiasen Lin wrote:
> Currently, read input and output buffer is not supported yet in
> debugfs of ntb_perf. We can not confirm whether the output data is
> transmitted to the input buffer at peer memory through NTB.
>
> This patch add new entries in debugfs which implement interface to read
> a part of input and out buffer. User can dump output and input data at
> local and peer system by hexdump command, and then compare them manually.
Do we even initialize inbuf and outbuf? Probably not a good idea to
expose them to userspace if it's not initialized.
Really, ntb_tool should be used to check if memory windows work,
ntb_perf is just to see the maximum transfer rate.
Logan
next prev parent reply other threads:[~2019-12-17 16:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 2:42 Jiasen Lin
2019-12-17 16:42 ` Logan Gunthorpe [this message]
2019-12-18 7:32 ` Jiasen Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d4f679cd-739b-fd80-8344-7da475937835@deltatee.com \
--to=logang@deltatee.com \
--cc=allenbh@gmail.com \
--cc=dave.jiang@intel.com \
--cc=jdmason@kudzu.us \
--cc=linjiasen@hygon.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-ntb@googlegroups.com \
--cc=sanju.mehta@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®