Home
last modified time | relevance | path

Searched refs:ENC_OPTS_BITS (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.h171 #define ENC_OPTS_BITS 11 macro
172 #define ENC_OPTS_BITS_MASK GENMASK(ENC_OPTS_BITS - 1, 0)
173 #define TUNNEL_ID_BITS (TUNNEL_INFO_BITS + ENC_OPTS_BITS)
H A Den_tc.c2313 value = tun_id << ENC_OPTS_BITS | enc_opts_id; in mlx5e_get_flow_tunnel_id()
2346 u32 tun_id = flow->attr->tunnel_id >> ENC_OPTS_BITS; in mlx5e_put_flow_tunnel_id()
5595 tun_id = tunnel_id >> ENC_OPTS_BITS; in mlx5e_tc_restore_tunnel()