Home
last modified time | relevance | path

Searched refs:lookup_type (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.h25 #define DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, value) do { \ argument
27 MLX5_SET(ste_##lookup_type, tag, t_fname, value); \
33 #define DR_STE_SET_TAG(lookup_type, tag, t_fname, spec, s_fname) \ argument
34 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, spec->s_fname)
37 #define DR_STE_SET_ONES(lookup_type, tag, t_fname, spec, s_fname) \ argument
38 DR_STE_SET_VAL(lookup_type, tag, t_fname, spec, s_fname, -1)
40 #define DR_STE_SET_TCP_FLAGS(lookup_type, tag, spec) do { \ argument
41 MLX5_SET(ste_##lookup_type, tag, tcp_ns, !!((spec)->tcp_flags & (1 << 8))); \
42 MLX5_SET(ste_##lookup_type, tag, tcp_cwr, !!((spec)->tcp_flags & (1 << 7))); \
43 MLX5_SET(ste_##lookup_type, tag, tcp_ece, !!((spec)->tcp_flags & (1 << 6))); \
[all …]
Ddr_ste_v0.c37 #define DR_STE_CALC_LU_TYPE(lookup_type, rx, inner) \ argument
38 ((inner) ? DR_STE_V0_LU_TYPE_##lookup_type##_I : \
39 (rx) ? DR_STE_V0_LU_TYPE_##lookup_type##_D : \
40 DR_STE_V0_LU_TYPE_##lookup_type##_O)
Ddr_ste_v1.c8 #define DR_STE_CALC_DFNR_TYPE(lookup_type, inner) \ argument
9 ((inner) ? DR_STE_V1_LU_TYPE_##lookup_type##_I : \
10 DR_STE_V1_LU_TYPE_##lookup_type##_O)
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_mps.c149 u8 lookup_type, in cxgb4_free_raw_mac_filt() argument
157 mask, idx, lookup_type, in cxgb4_free_raw_mac_filt()
168 u8 lookup_type, in cxgb4_alloc_raw_mac_filt() argument
175 mask, idx, lookup_type, in cxgb4_alloc_raw_mac_filt()
183 mask, idx, lookup_type, in cxgb4_alloc_raw_mac_filt()
204 u8 dip_hit, u8 lookup_type, bool sleep_ok) in cxgb4_alloc_encap_mac_filt() argument
209 dip_hit, lookup_type, sleep_ok); in cxgb4_alloc_encap_mac_filt()
Dcxgb4.h2008 u8 lookup_type, u8 port_id, bool sleep_ok);
2013 unsigned int vni_mask, u8 dip_hit, u8 lookup_type,
2017 u8 lookup_type, u8 port_id, bool sleep_ok);
2154 u8 dip_hit, u8 lookup_type, bool sleep_ok);
2162 u8 lookup_type,
2170 u8 lookup_type,
Dcudbg_entity.h218 u8 lookup_type; member
Dcxgb4_debugfs.c1703 u8 lookup_type = 0, port_num = 0; in mps_tcam_show() local
1724 lookup_type = DATALKPTYPE_G(data2); in mps_tcam_show()
1729 if (lookup_type && (lookup_type != DATALKPTYPE_M)) { in mps_tcam_show()
1748 if (lookup_type && (lookup_type != DATALKPTYPE_M)) { in mps_tcam_show()
1814 if (lookup_type && (lookup_type != DATALKPTYPE_M)) { in mps_tcam_show()
1840 lookup_type ? 'I' : 'O', port_num, in mps_tcam_show()
Dcudbg_lib.c2566 tcam->lookup_type = DATALKPTYPE_G(data2); in cudbg_collect_tcam_index()
2572 if (tcam->lookup_type && tcam->lookup_type != DATALKPTYPE_M) { in cudbg_collect_tcam_index()
2591 if (tcam->lookup_type && tcam->lookup_type != DATALKPTYPE_M) { in cudbg_collect_tcam_index()
Dt4_hw.c7812 u8 lookup_type, u8 port_id, bool sleep_ok) in t4_free_raw_mac_filt() argument
7832 p->data0_pkd = cpu_to_be32(DATALKPTYPE_V(lookup_type) | in t4_free_raw_mac_filt()
7863 unsigned int vni_mask, u8 dip_hit, u8 lookup_type, in t4_alloc_encap_mac_filt() argument
7886 FW_VI_MAC_CMD_LOOKUP_TYPE_V(lookup_type)); in t4_alloc_encap_mac_filt()
7911 u8 lookup_type, u8 port_id, bool sleep_ok) in t4_alloc_raw_mac_filt() argument
7930 p->data0_pkd = cpu_to_be32(DATALKPTYPE_V(lookup_type) | in t4_alloc_raw_mac_filt()