Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dneigh.c174 struct mlx5e_neigh m_neigh = {}; in mlx5e_alloc_neigh_update_work() local
180 m_neigh.family = n->ops->family; in mlx5e_alloc_neigh_update_work()
181 memcpy(&m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_alloc_neigh_update_work()
187 nhe = mlx5e_rep_neigh_entry_lookup(priv, &m_neigh); in mlx5e_alloc_neigh_update_work()
271 .key_offset = offsetof(struct mlx5e_neigh_hash_entry, m_neigh),
361 struct mlx5e_neigh *m_neigh) in mlx5e_rep_neigh_entry_lookup() argument
367 nhe = rhashtable_lookup_fast(&neigh_update->neigh_ht, m_neigh, in mlx5e_rep_neigh_entry_lookup()
373 struct mlx5e_neigh *m_neigh, in mlx5e_rep_neigh_entry_create() argument
384 memcpy(&(*nhe)->m_neigh, m_neigh, sizeof(*m_neigh)); in mlx5e_rep_neigh_entry_create()
Dneigh.h17 struct mlx5e_neigh *m_neigh);
19 struct mlx5e_neigh *m_neigh,
Dtc.h31 struct mlx5e_neigh *m_neigh,
Dtc.c35 struct mlx5e_neigh *m_neigh, in mlx5e_rep_encap_entry_attach() argument
49 nhe = mlx5e_rep_neigh_entry_lookup(priv, m_neigh); in mlx5e_rep_encap_entry_attach()
51 err = mlx5e_rep_neigh_entry_create(priv, m_neigh, neigh_dev, &nhe); in mlx5e_rep_encap_entry_attach()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c230 struct mlx5e_neigh m_neigh = {}; in mlx5e_tc_tun_create_header_ipv4() local
266 m_neigh.family = attr.n->ops->family; in mlx5e_tc_tun_create_header_ipv4()
267 memcpy(&m_neigh.dst_ip, attr.n->primary_key, attr.n->tbl->key_len); in mlx5e_tc_tun_create_header_ipv4()
276 err = mlx5e_rep_encap_entry_attach(netdev_priv(attr.out_dev), e, &m_neigh, attr.n->dev); in mlx5e_tc_tun_create_header_ipv4()
500 struct mlx5e_neigh m_neigh = {}; in mlx5e_tc_tun_create_header_ipv6() local
535 m_neigh.family = attr.n->ops->family; in mlx5e_tc_tun_create_header_ipv6()
536 memcpy(&m_neigh.dst_ip, attr.n->primary_key, attr.n->tbl->key_len); in mlx5e_tc_tun_create_header_ipv6()
545 err = mlx5e_rep_encap_entry_attach(netdev_priv(attr.out_dev), e, &m_neigh, attr.n->dev); in mlx5e_tc_tun_create_header_ipv6()
Dtc_tun_encap.c384 struct mlx5e_neigh *m_neigh = &nhe->m_neigh; in mlx5e_tc_update_neigh_used_value() local
393 if (m_neigh->family == AF_INET) in mlx5e_tc_update_neigh_used_value()
396 else if (m_neigh->family == AF_INET6) in mlx5e_tc_update_neigh_used_value()
447 n = neigh_lookup(tbl, &m_neigh->dst_ip, READ_ONCE(nhe->neigh_dev)); in mlx5e_tc_update_neigh_used_value()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/diag/
Den_rep_tracepoint.h24 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh;
Den_tc_tracepoint.h85 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh;
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h140 struct mlx5e_neigh m_neigh; member