mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 00:55:28 +07:00
ec693d4701
The patch allows to enable/disable HW timestamping for incoming and/or outgoing packets. It adds and initializes all structs and callbacks needed by kernel TS API. To enable/disable HW timestamping appropriate ioctl should be used. Currently HWTSTAMP_FILTER_ALL/NONE and HWTSAMP_TX_ON/OFF only are supported. When enabling TS on receive flow - VLAN stripping will be disabled. Also were made all relevant changes in RX/TX flows to consider TS request and plant HW timestamps into relevant structures. mlx4_ib was fixed to compile with new mlx4_cq_alloc() signature. Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
11 lines
419 B
Makefile
11 lines
419 B
Makefile
obj-$(CONFIG_MLX4_CORE) += mlx4_core.o
|
|
|
|
mlx4_core-y := alloc.o catas.o cmd.o cq.o eq.o fw.o icm.o intf.o main.o mcg.o \
|
|
mr.o pd.o port.o profile.o qp.o reset.o sense.o srq.o resource_tracker.o
|
|
|
|
obj-$(CONFIG_MLX4_EN) += mlx4_en.o
|
|
|
|
mlx4_en-y := en_main.o en_tx.o en_rx.o en_ethtool.o en_port.o en_cq.o \
|
|
en_resources.o en_netdev.o en_selftest.o en_clock.o
|
|
mlx4_en-$(CONFIG_MLX4_EN_DCB) += en_dcb_nl.o
|