Searched refs:rev_tuple (Results 1 – 1 of 1) sorted by relevance
1034 struct mlx5_ct_tuple rev_tuple = entry->tuple; in mlx5_tc_ct_shared_counter_get() local1039 swap(rev_tuple.port.src, rev_tuple.port.dst); in mlx5_tc_ct_shared_counter_get()1041 if (rev_tuple.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_shared_counter_get()1042 __be32 tmp_addr = rev_tuple.ip.src_v4; in mlx5_tc_ct_shared_counter_get()1044 rev_tuple.ip.src_v4 = rev_tuple.ip.dst_v4; in mlx5_tc_ct_shared_counter_get()1045 rev_tuple.ip.dst_v4 = tmp_addr; in mlx5_tc_ct_shared_counter_get()1046 } else if (rev_tuple.addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) { in mlx5_tc_ct_shared_counter_get()1047 struct in6_addr tmp_addr = rev_tuple.ip.src_v6; in mlx5_tc_ct_shared_counter_get()1049 rev_tuple.ip.src_v6 = rev_tuple.ip.dst_v6; in mlx5_tc_ct_shared_counter_get()1050 rev_tuple.ip.dst_v6 = tmp_addr; in mlx5_tc_ct_shared_counter_get()[all …]