Home
last modified time | relevance | path

Searched refs:ESW_SOURCE_PORT_METADATA_BITS (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/mlx5/
H A Deswitch.h94 #define ESW_SOURCE_PORT_METADATA_BITS (ESW_PFNUM_BITS + ESW_VPORT_BITS) macro
95 #define ESW_SOURCE_PORT_METADATA_OFFSET (32 - ESW_SOURCE_PORT_METADATA_BITS)
96 #define ESW_REG_C0_USER_DATA_METADATA_BITS (32 - ESW_SOURCE_PORT_METADATA_BITS)
101 return GENMASK(31, 32 - ESW_SOURCE_PORT_METADATA_BITS); in mlx5_eswitch_get_vport_metadata_mask()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dint_port.c57 return int_port->match_metadata << (32 - ESW_SOURCE_PORT_METADATA_BITS); in mlx5e_tc_int_port_get_metadata_for_match()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_ofld.c83 ESW_SOURCE_PORT_METADATA_BITS); in esw_acl_ingress_mod_metadata_create()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c4119 return vport->metadata << (32 - ESW_SOURCE_PORT_METADATA_BITS); in mlx5_eswitch_get_vport_metadata_for_match()