Searched refs:rev_tuple (Results 1 – 1 of 1) sorted by relevance
1044 struct mlx5_ct_tuple rev_tuple = entry->tuple; in mlx5_tc_ct_shared_counter_get() local1049 swap(rev_tuple.port.src, rev_tuple.port.dst); in mlx5_tc_ct_shared_counter_get()1051 if (rev_tuple.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mlx5_tc_ct_shared_counter_get()1052 __be32 tmp_addr = rev_tuple.ip.src_v4; in mlx5_tc_ct_shared_counter_get()1054 rev_tuple.ip.src_v4 = rev_tuple.ip.dst_v4; in mlx5_tc_ct_shared_counter_get()1055 rev_tuple.ip.dst_v4 = tmp_addr; in mlx5_tc_ct_shared_counter_get()1056 } else if (rev_tuple.addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) { in mlx5_tc_ct_shared_counter_get()1057 struct in6_addr tmp_addr = rev_tuple.ip.src_v6; in mlx5_tc_ct_shared_counter_get()1059 rev_tuple.ip.src_v6 = rev_tuple.ip.dst_v6; in mlx5_tc_ct_shared_counter_get()1060 rev_tuple.ip.dst_v6 = tmp_addr; in mlx5_tc_ct_shared_counter_get()[all …]