Searched refs:geneve (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | geneve.c | 63 int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) in mlx5_geneve_tlv_option_add() argument 67 if (IS_ERR_OR_NULL(geneve)) in mlx5_geneve_tlv_option_add() 70 mutex_lock(&geneve->sync_lock); in mlx5_geneve_tlv_option_add() 72 if (geneve->refcount) { in mlx5_geneve_tlv_option_add() 73 if (geneve->opt_class == opt->opt_class && in mlx5_geneve_tlv_option_add() 74 geneve->opt_type == opt->type) { in mlx5_geneve_tlv_option_add() 76 geneve->refcount++; in mlx5_geneve_tlv_option_add() 82 mlx5_core_warn(geneve->mdev, in mlx5_geneve_tlv_option_add() 93 res = mlx5_geneve_tlv_option_create(geneve->mdev, in mlx5_geneve_tlv_option_add() 98 mlx5_core_warn(geneve->mdev, in mlx5_geneve_tlv_option_add() [all …]
|
D | geneve.h | 15 void mlx5_geneve_destroy(struct mlx5_geneve *geneve); 17 int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt); 18 void mlx5_geneve_tlv_option_del(struct mlx5_geneve *geneve); 25 mlx5_geneve_destroy(struct mlx5_geneve *geneve) {} in mlx5_geneve_destroy() argument 27 mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) { return 0; } in mlx5_geneve_tlv_option_add() argument 29 mlx5_geneve_tlv_option_del(struct mlx5_geneve *geneve) {} in mlx5_geneve_tlv_option_del() argument
|
/drivers/net/ |
D | geneve.c | 48 struct geneve_dev *geneve; member 139 if (eq_tun_id_and_vni((u8 *)&node->geneve->cfg.info.key.tun_id, vni) && in geneve_lookup() 140 addr == node->geneve->cfg.info.key.u.ipv4.dst) in geneve_lookup() 141 return node->geneve; in geneve_lookup() 158 if (eq_tun_id_and_vni((u8 *)&node->geneve->cfg.info.key.tun_id, vni) && in geneve6_lookup() 159 ipv6_addr_equal(&addr6, &node->geneve->cfg.info.key.u.ipv6.dst)) in geneve6_lookup() 160 return node->geneve; in geneve6_lookup() 215 static void geneve_rx(struct geneve_dev *geneve, struct geneve_sock *gs, in geneve_rx() argument 234 geneve->dev->stats.rx_dropped++; in geneve_rx() 246 geneve->dev->stats.rx_frame_errors++; in geneve_rx() [all …]
|
D | Makefile | 33 obj-$(CONFIG_GENEVE) += geneve.o
|
D | Kconfig | 253 This allows one to create geneve virtual interfaces that provide 257 http://tools.ietf.org/html/draft-gross-geneve-02 260 will be called geneve.
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | Makefile | 37 mlx5_core-$(CONFIG_MLX5_ESWITCH) += lag_mp.o lib/geneve.o lib/port_tun.o \
|
D | main.c | 854 dev->geneve = mlx5_geneve_create(dev); in mlx5_init_once() 905 mlx5_geneve_destroy(dev->geneve); in mlx5_init_once() 934 mlx5_geneve_destroy(dev->geneve); in mlx5_cleanup_once()
|
D | en_tc.c | 1489 mlx5_geneve_tlv_option_del(priv->mdev->geneve); in mlx5e_tc_del_fdb_flow()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_geneve.c | 253 res = mlx5_geneve_tlv_option_add(priv->mdev->geneve, option_key); in mlx5e_tc_tun_parse_geneve_options()
|