Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net/mlx5: Add TLP emulation device capabilities

Introduce the hardware structures and definitions needed for the driver
support of TLP emulation in mlx5_ifc.

Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>

authored by

Maher Sanalla and committed by
Leon Romanovsky
01b77685 11439c46

+22 -1
+22 -1
include/linux/mlx5/mlx5_ifc.h
··· 1389 1389 u8 reserved_at_1c0[0x640]; 1390 1390 }; 1391 1391 1392 + struct mlx5_ifc_tlp_dev_emu_capabilities_bits { 1393 + u8 reserved_at_0[0x20]; 1394 + 1395 + u8 reserved_at_20[0x13]; 1396 + u8 log_tlp_rsp_gw_page_stride[0x5]; 1397 + u8 reserved_at_38[0x8]; 1398 + 1399 + u8 reserved_at_40[0xc0]; 1400 + 1401 + u8 reserved_at_100[0xc]; 1402 + u8 tlp_rsp_gw_num_pages[0x4]; 1403 + u8 reserved_at_110[0x10]; 1404 + 1405 + u8 reserved_at_120[0xa0]; 1406 + 1407 + u8 tlp_rsp_gw_pages_bar_offset[0x40]; 1408 + 1409 + u8 reserved_at_200[0x600]; 1410 + }; 1411 + 1392 1412 enum { 1393 1413 MLX5_ATOMIC_CAPS_ATOMIC_SIZE_QP_1_BYTE = 0x0, 1394 1414 MLX5_ATOMIC_CAPS_ATOMIC_SIZE_QP_2_BYTES = 0x2, ··· 1981 1961 u8 log_max_rqt[0x5]; 1982 1962 u8 reserved_at_390[0x3]; 1983 1963 u8 log_max_rqt_size[0x5]; 1984 - u8 reserved_at_398[0x1]; 1964 + u8 tlp_device_emulation_manager[0x1]; 1985 1965 u8 vnic_env_cnt_bar_uar_access[0x1]; 1986 1966 u8 vnic_env_cnt_odp_page_fault[0x1]; 1987 1967 u8 log_max_tis_per_sq[0x5]; ··· 3850 3830 struct mlx5_ifc_tls_cap_bits tls_cap; 3851 3831 struct mlx5_ifc_device_mem_cap_bits device_mem_cap; 3852 3832 struct mlx5_ifc_virtio_emulation_cap_bits virtio_emulation_cap; 3833 + struct mlx5_ifc_tlp_dev_emu_capabilities_bits tlp_dev_emu_capabilities; 3853 3834 struct mlx5_ifc_macsec_cap_bits macsec_cap; 3854 3835 struct mlx5_ifc_crypto_cap_bits crypto_cap; 3855 3836 struct mlx5_ifc_ipsec_cap_bits ipsec_cap;