Re: [v1,1/5] raw/zxdh: introduce zxdh raw device driver

2024-08-11 Thread zhang.yong25
>> +struct zxdh_gdma_buff_desc {>> +uint SrcAddr_L;>> +uint >> DstAddr_L;>> +uint Xpara;>> +uint ZY_para;>> +uint ZY_SrcStep;>> >> +uint ZY_DstStep;>> +uint ExtAddr;>> +uint LLI_Addr_L;>> + >> uint LLI_Addr_H;>> +uint ChCont;>> +uint LLI_User;>> +ui

[PATCH v1] net/ice: initialize PHC time with current time of day

2024-08-11 Thread Soumyadeep Hore
The PHC main timer for ice pmd enabled drivers should be initialised to current time of day on enabling timesync else it will be initialized to 0 giving wrong timestamps. Signed-off-by: Soumyadeep Hore --- drivers/net/ice/ice_ethdev.c | 26 ++ 1 file changed, 26 insertion

RE: [EXTERNAL] Re: [PATCH v3 1/1] examples/l2fwd-jobstats: fix lock availability

2024-08-11 Thread Rakesh Kudurumalla
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, August 8, 2024 5:52 PM > To: Rakesh Kudurumalla > Cc: ferruh.yi...@amd.com; andrew.rybche...@oktetlabs.ru; > or...@nvidia.com; dev@dpdk.org; Jerin Jacob ; Nithin > Kumar Dabilpuram ; sta...@dpdk.org > Subject: Re: [EXTERNAL

[PATCH v5 1/1] examples/l2fwd-jobstats: fix lock availability

2024-08-11 Thread Rakesh Kudurumalla
Race condition between jobstats and time metrics for forwarding and flushing is maintained using spinlock. Timer metrics are not displayed properly due to the frequent unavailability of the lock.This patch fixes the issue by introducing a delay before acquiring the lock in the loop. This delay allo