From: Paolo Abeni <pabeni@redhat.com>
To: Jijie Shao <shaojijie@huawei.com>,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
shenjian15@huawei.com, salil.mehta@huawei.com
Cc: liuyonglong@huawei.com, wangpeiyang1@huawei.com,
lanhao@huawei.com, chenhao418@huawei.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2 net 2/9] net: hns3: add sync command to sync io-pgtable
Date: Thu, 24 Oct 2024 10:36:45 +0200 [thread overview]
Message-ID: <214d37cc-96c0-4d47-bea0-3985e920d88c@redhat.com> (raw)
In-Reply-To: <20241018101059.1718375-3-shaojijie@huawei.com>
On 10/18/24 12:10, Jijie Shao wrote:
> From: Jian Shen <shenjian15@huawei.com>
>
> To avoid errors in pgtable prefectch, add a sync command to sync
> io-pagtable.
>
> In the case of large traffic, the TX bounce buffer may be used up.
It's unclear to me what do you mean for large traffic. Is that large
packets instead?
Skimming over the previous patch, it looks like the for the bugger H/W
driver will use the bounce buffer for all packets with len < 64K. As
this driver does not support big tcp, such condition means all packets.
So its not clear to me the 'may' part - it looks like the critical path
will always happen on the bugged H/W
> At this point, we go to mapping/unmapping on TX path again.
> So we added the sync command in driver to avoid hardware issue.
I thought the goal of the previous patch was to avoid such sync-up.
So I don't understand why it's there.
A more verbose explanation will help.
> Signed-off-by: Jian Shen <shenjian15@huawei.com>
> Signed-off-by: Peiyang Wang <wangpeiyang1@huawei.com>
> Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Also we need a fixes tag.
Thanks,
Paolo
next prev parent reply other threads:[~2024-10-24 8:36 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 10:10 [PATCH V2 net 0/9] There are some bugfix for the HNS3 ethernet driver Jijie Shao
2024-10-18 10:10 ` [PATCH V2 net 1/9] net: hns3: default enable tx bounce buffer when smmu enabled Jijie Shao
2024-10-24 8:26 ` Paolo Abeni
2024-10-24 8:31 ` Jijie Shao
2024-10-24 16:04 ` Simon Horman
2024-10-25 1:10 ` Jijie Shao
2024-10-18 10:10 ` [PATCH V2 net 2/9] net: hns3: add sync command to sync io-pgtable Jijie Shao
2024-10-24 8:36 ` Paolo Abeni [this message]
2024-10-24 9:01 ` Jijie Shao
2024-10-24 9:38 ` shenjian (K)
2024-10-24 11:05 ` Paolo Abeni
2024-10-25 1:11 ` Jijie Shao
2024-10-18 10:10 ` [PATCH V2 net 3/9] net: hns3: fixed reset failure issues caused by the incorrect reset type Jijie Shao
2024-10-18 10:10 ` [PATCH V2 net 4/9] net: hns3: fix missing features due to dev->features configuration too early Jijie Shao
2024-10-18 10:10 ` [PATCH V2 net 5/9] net: hns3: Resolved the issue that the debugfs query result is inconsistent Jijie Shao
2024-10-18 10:10 ` [PATCH V2 net 6/9] net: hns3: don't auto enable misc vector Jijie Shao
2024-10-18 10:10 ` [PATCH V2 net 7/9] net: hns3: initialize reset_timer before hclgevf_misc_irq_init() Jijie Shao
2024-10-18 10:10 ` [PATCH V2 net 8/9] net: hns3: fixed hclge_fetch_pf_reg accesses bar space out of bounds issue Jijie Shao
2024-10-18 10:10 ` [PATCH V2 net 9/9] net: hns3: fix kernel crash when 1588 is sent on HIP08 devices Jijie Shao
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=214d37cc-96c0-4d47-bea0-3985e920d88c@redhat.com \
--to=pabeni@redhat.com \
--cc=chenhao418@huawei.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=lanhao@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liuyonglong@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=salil.mehta@huawei.com \
--cc=shaojijie@huawei.com \
--cc=shenjian15@huawei.com \
--cc=wangpeiyang1@huawei.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®