Searched refs:dst_opt_type (Results 1 – 7 of 7) sorted by relevance
1544 if (key->enc_opts.dst_opt_type && in fl_set_enc_opt()1545 key->enc_opts.dst_opt_type != in fl_set_enc_opt()1551 key->enc_opts.dst_opt_type = IP_TUNNEL_GENEVE_OPT_BIT; in fl_set_enc_opt()1562 mask->enc_opts.dst_opt_type = IP_TUNNEL_GENEVE_OPT_BIT; in fl_set_enc_opt()1576 if (key->enc_opts.dst_opt_type) { in fl_set_enc_opt()1581 key->enc_opts.dst_opt_type = IP_TUNNEL_VXLAN_OPT_BIT; in fl_set_enc_opt()1592 mask->enc_opts.dst_opt_type = IP_TUNNEL_VXLAN_OPT_BIT; in fl_set_enc_opt()1606 if (key->enc_opts.dst_opt_type) { in fl_set_enc_opt()1611 key->enc_opts.dst_opt_type = IP_TUNNEL_ERSPAN_OPT_BIT; in fl_set_enc_opt()1622 mask->enc_opts.dst_opt_type = IP_TUNNEL_ERSPAN_OPT_BIT; in fl_set_enc_opt()[all …]
113 u32 dst_opt_type; member
128 if (enc_opts.key->dst_opt_type != IP_TUNNEL_VXLAN_OPT_BIT) { in mlx5e_tc_tun_parse_vxlan_gbp_option()
192 if (enc_opts.key->dst_opt_type != IP_TUNNEL_GENEVE_OPT_BIT) { in mlx5e_tc_tun_parse_geneve_options()
2727 IP_TUNNEL_DECLARE_FLAGS(dst_opt_type) = { }; in validate_and_copy_set_tun()2748 __set_bit(IP_TUNNEL_GENEVE_OPT_BIT, dst_opt_type); in validate_and_copy_set_tun()2751 __set_bit(IP_TUNNEL_VXLAN_OPT_BIT, dst_opt_type); in validate_and_copy_set_tun()2754 __set_bit(IP_TUNNEL_ERSPAN_OPT_BIT, dst_opt_type); in validate_and_copy_set_tun()2799 key.tun_opts_len, dst_opt_type); in validate_and_copy_set_tun()
492 enc_opt->dst_opt_type = val < __IP_TUNNEL_FLAG_NUM ? val : 0; in skb_flow_dissect_tunnel_info()
5666 if (enc_opts.key.dst_opt_type) in mlx5e_tc_restore_tunnel()5667 __set_bit(enc_opts.key.dst_opt_type, flags); in mlx5e_tc_restore_tunnel()