Searched refs:m_neigh (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | neigh.c | 172 struct mlx5e_neigh m_neigh = {}; in mlx5e_alloc_neigh_update_work() local 178 m_neigh.dev = n->dev; in mlx5e_alloc_neigh_update_work() 179 m_neigh.family = n->ops->family; in mlx5e_alloc_neigh_update_work() 180 memcpy(&m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_alloc_neigh_update_work() 186 nhe = mlx5e_rep_neigh_entry_lookup(priv, &m_neigh); in mlx5e_alloc_neigh_update_work() 249 if (p->dev == nhe->m_neigh.dev) { in mlx5e_rep_netevent_event() 270 .key_offset = offsetof(struct mlx5e_neigh_hash_entry, m_neigh), 352 struct mlx5e_neigh *m_neigh) in mlx5e_rep_neigh_entry_lookup() argument 358 nhe = rhashtable_lookup_fast(&neigh_update->neigh_ht, m_neigh, in mlx5e_rep_neigh_entry_lookup() 374 memcpy(&(*nhe)->m_neigh, &e->m_neigh, sizeof(e->m_neigh)); in mlx5e_rep_neigh_entry_create()
|
D | neigh.h | 17 struct mlx5e_neigh *m_neigh);
|
D | tc.c | 42 nhe = mlx5e_rep_neigh_entry_lookup(priv, &e->m_neigh); in mlx5e_rep_encap_entry_attach()
|
/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | en_rep_tracepoint.h | 18 TP_STRUCT__entry(__string(devname, nhe->m_neigh.dev->name) 24 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh;
|
D | en_tc_tracepoint.h | 80 TP_STRUCT__entry(__string(devname, nhe->m_neigh.dev->name) 85 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh;
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 232 e->m_neigh.dev = n->dev; in mlx5e_tc_tun_create_header_ipv4() 233 e->m_neigh.family = n->ops->family; in mlx5e_tc_tun_create_header_ipv4() 234 memcpy(&e->m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_tc_tun_create_header_ipv4() 397 e->m_neigh.dev = n->dev; in mlx5e_tc_tun_create_header_ipv6() 398 e->m_neigh.family = n->ops->family; in mlx5e_tc_tun_create_header_ipv6() 399 memcpy(&e->m_neigh.dst_ip, n->primary_key, n->tbl->key_len); in mlx5e_tc_tun_create_header_ipv6()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.h | 123 struct mlx5e_neigh m_neigh; member 178 struct mlx5e_neigh m_neigh; member
|
D | en_tc.c | 1703 struct mlx5e_neigh *m_neigh = &nhe->m_neigh; in mlx5e_tc_update_neigh_used_value() local 1712 if (m_neigh->family == AF_INET) in mlx5e_tc_update_neigh_used_value() 1715 else if (m_neigh->family == AF_INET6) in mlx5e_tc_update_neigh_used_value() 1766 n = neigh_lookup(tbl, &m_neigh->dst_ip, m_neigh->dev); in mlx5e_tc_update_neigh_used_value()
|