RE: [xdp-hints] Re: [PATCH bpf-next v3 3/3] selftests/bpf: add Launch Time request to xdp_hw_metadata

From
Song, Yoong Siang <hidden>
Date
2023-12-05 14:55:27
Also in
bpf, linux-doc, linux-kselftest, lkml, netdev
Reply to
Willem de Bruijn, 2023-12-04
On Monday, December 4, 2023 11:00 PM, Willem de Bruijn wrote:
Jesper Dangaard Brouer wrote:
quoted

On 12/3/23 17:51, Song Yoong Siang wrote:
quoted
This patch is tested with stmmac on Intel Tiger Lake platform. Refer to
result below, the delta between pre-determined launch time and actual HW
transmit complete time is around 24 us.
Is there any NIC setup (e.g. ethtool/qdisc) requirements to enable HW
for this feature?
Judging from how we currently use this with FQ and ETF, no.

See for instance tools/testing/selftests/net/so_txtime.sh
For stmmac, we need to enable per queue launch time support
by using tc qdisc etf offload command.
I believe igc also using the same way.
I will add into documentation to make it clear that
XDP_TXMD_FLAGS_LAUNCH_TIME only used to pass the
launch time value, not enable launch time feature.
  
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (19 messages) 19 messages, 6 authors, last reply 2023-12-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help