Thread (7 messages) 7 messages, 2 authors, 2021-11-01

Re: [dpdk-dev] [PATCH v4] net/ice: fix performance issue for Rx timestamp

From: Zhang, Qi Z <hidden>
Date: 2021-11-01 01:20:39

-----Original Message-----
From: Su, Simei <redacted>
Sent: Friday, October 29, 2021 8:56 PM
To: Zhang, Qi Z <redacted>
Cc: dev@dpdk.org; Van Haaren, Harry <redacted>; Wu,
Wenjun1 [off-list ref]; Su, Simei [off-list ref]
Subject: [PATCH v4] net/ice: fix performance issue for Rx timestamp

In Rx data path, it reads hardware registers per packet, resulting in big
performance drop. This patch improves performance from two aspects:
(1) replace per packet hardware register read by per burst.
(2) reduce hardware register read time from 3 to 2 when the low value of
    time is not close to overflow.

Meanwhile, this patch refines "ice_timesync_read_rx_timestamp" and
"ice_timesync_read_tx_timestamp" API in which
"ice_tstamp_convert_32b_64b"
is also used.

Fixes: 953e74e6b73a ("net/ice: enable Rx timestamp on flex descriptor")
Fixes: 646dcbe6c701 ("net/ice: support IEEE 1588 PTP")

Suggested-by: Harry van Haaren <redacted>
Signed-off-by: Simei Su <redacted>
Acked-by: Qi Zhang <redacted>

Applied to dpdk-next-net-intel.

Thanks
Qi

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help