Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/diag/
Den_rep_tracepoint.h18 TP_STRUCT__entry(__string(devname, nhe->m_neigh.dev->name)
24 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh;
Den_tc_tracepoint.h80 TP_STRUCT__entry(__string(devname, nhe->m_neigh.dev->name)
85 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh;
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c255 e->m_neigh.dev = n->dev; in mlx5e_tc_tun_create_header_ipv4()
256 e->m_neigh.family = n->ops->family; in mlx5e_tc_tun_create_header_ipv4()
257 memcpy(&e->m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_tc_tun_create_header_ipv4()
374 e->m_neigh.dev = n->dev; in mlx5e_tc_tun_create_header_ipv6()
375 e->m_neigh.family = n->ops->family; in mlx5e_tc_tun_create_header_ipv6()
376 memcpy(&e->m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_tc_tun_create_header_ipv6()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h113 struct mlx5e_neigh m_neigh; member
158 struct mlx5e_neigh m_neigh; member
Den_rep.c903 struct mlx5e_neigh *m_neigh);
914 struct mlx5e_neigh m_neigh = {}; in mlx5e_rep_netevent_event() local
929 m_neigh.dev = n->dev; in mlx5e_rep_netevent_event()
930 m_neigh.family = n->ops->family; in mlx5e_rep_netevent_event()
931 memcpy(&m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_rep_netevent_event()
934 nhe = mlx5e_rep_neigh_entry_lookup(priv, &m_neigh); in mlx5e_rep_netevent_event()
959 if (p->dev == nhe->m_neigh.dev) { in mlx5e_rep_netevent_event()
980 .key_offset = offsetof(struct mlx5e_neigh_hash_entry, m_neigh),
1062 struct mlx5e_neigh *m_neigh) in mlx5e_rep_neigh_entry_lookup() argument
1068 nhe = rhashtable_lookup_fast(&neigh_update->neigh_ht, m_neigh, in mlx5e_rep_neigh_entry_lookup()
[all …]
Den_tc.c1481 struct mlx5e_neigh *m_neigh = &nhe->m_neigh; in mlx5e_tc_update_neigh_used_value() local
1490 if (m_neigh->family == AF_INET) in mlx5e_tc_update_neigh_used_value()
1493 else if (m_neigh->family == AF_INET6) in mlx5e_tc_update_neigh_used_value()
1544 n = neigh_lookup(tbl, &m_neigh->dst_ip, m_neigh->dev); in mlx5e_tc_update_neigh_used_value()