Home
last modified time | relevance | path

Searched refs:ESW_VPORT_BITS (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/include/linux/mlx5/
Deswitch.h92 #define ESW_VPORT_BITS 12 macro
94 #define ESW_SOURCE_PORT_METADATA_BITS (ESW_PFNUM_BITS + ESW_VPORT_BITS)
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dint_port.c136 *id |= 0xf << ESW_VPORT_BITS; in mlx5e_int_port_metadata_alloc()
144 id &= (1 << ESW_VPORT_BITS) - 1; in mlx5e_int_port_metadata_free()
323 (1 << ESW_VPORT_BITS) - 1, true); in mlx5e_tc_int_port_init()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c3109 u32 vport_end_ida = (1 << ESW_VPORT_BITS) - 1; in mlx5_esw_match_metadata_alloc()
3127 id = (pf_num << ESW_VPORT_BITS) | id; in mlx5_esw_match_metadata_alloc()
3133 u32 vport_bit_mask = (1 << ESW_VPORT_BITS) - 1; in mlx5_esw_match_metadata_free()