Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/drivers/net/ethernet/mellanox/mlx5/core/ !
Deswitch_offloads.c2940 u32 vport_end_ida = (1 << ESW_VPORT_BITS) - 1; in mlx5_esw_match_metadata_alloc()
2958 id = (pf_num << ESW_VPORT_BITS) | id; in mlx5_esw_match_metadata_alloc()
2964 u32 vport_bit_mask = (1 << ESW_VPORT_BITS) - 1; in mlx5_esw_match_metadata_free()