DPDK patches and discussions
 help / color / mirror / Atom feed
* about RTL8168 PMD on ARM SoC
@ 2022-08-25  2:53 王星
  2022-08-25 14:41 ` Honnappa Nagarahalli
  0 siblings, 1 reply; 7+ messages in thread
From: 王星 @ 2022-08-25  2:53 UTC (permalink / raw)
  To: dev; +Cc: 陈立, 王颢

[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]

Hi DPDK,

I am a pmd driver developer from Realtek NIC department,
when I was porting r8168pmd already verified on x86 to an ARM64 SoC Unisoc: UIS8650
I found that after NIC Rx init (in general, Rx ring and buffers should have been prepared for NIC to DMA read),
the NIC status reg showed RDU (Rx Descriptor Unavailable), which means NIC cannot read the proper desc content,

later I sended some packets to NIC hold by testpmd rx_only mode, HW internal Rx packet counter can grow to some value, then stuck, 8168pmd Rx debug print reported it received less packets than that value, and the print showed up even some minutes later!

I doubt the phenomenon is caused by improper HW-based IO coherency support on this ARM SoC,
I have read the ARM SoC support list on DPDK website, to name it: NV Bluefield, NXP DPAA, Marvell Octeon TX …

Does DPDK (or UIO/VFIO driver or hugetlb driver) need special HW IO cache coherency support on ARM platform, say, ACE and Device side MMU etc?
Should the SoC provide specialized UIO/VFIO driver or hugetlb driver and/or specific DPDK lib to support such user mode DMA?
Will you please give suggestions, thanks a lot!

BRs

[-- Attachment #2: Type: text/html, Size: 4485 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-02  7:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25  2:53 about RTL8168 PMD on ARM SoC 王星
2022-08-25 14:41 ` Honnappa Nagarahalli
2022-08-26  2:06   ` 答复: " 王星
2022-08-26  2:36   ` 王星
2022-08-26 16:44     ` Honnappa Nagarahalli
2022-08-29 15:40       ` Hau
2022-09-02  7:17         ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).