aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netkit.c
diff options
context:
space:
mode:
authorSong Yoong Siang <[email protected]>2024-12-05 05:19:36 +0000
committerMartin KaFai Lau <[email protected]>2024-12-06 00:37:16 +0000
commit2309132fc5d9d87deb15bda3497326aded6bfe4a (patch)
treef436289f1a0334fb85e6c0f4c1e9200d46f5f2ba /drivers/net/netkit.c
parentselftests/bpf: Actuate tx_metadata_len in xdp_hw_metadata (diff)
downloadkernel-2309132fc5d9d87deb15bda3497326aded6bfe4a.tar.gz
kernel-2309132fc5d9d87deb15bda3497326aded6bfe4a.zip
selftests/bpf: Enable Tx hwtstamp in xdp_hw_metadata
Currently, user needs to manually enable transmit hardware timestamp feature of certain Ethernet drivers, e.g. stmmac and igc drivers, through following command after running the xdp_hw_metadata app. sudo hwstamp_ctl -i eth0 -t 1 To simplify the step test of xdp_hw_metadata, set tx_type to HWTSTAMP_TX_ON to enable hardware timestamping for all outgoing packets, so that user no longer need to execute hwstamp_ctl command. Signed-off-by: Song Yoong Siang <[email protected]> Signed-off-by: Martin KaFai Lau <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions