Searched refs:m_neigh (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | neigh.c | 174 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()
|
D | neigh.h | 17 struct mlx5e_neigh *m_neigh); 19 struct mlx5e_neigh *m_neigh,
|
D | tc.h | 31 struct mlx5e_neigh *m_neigh,
|
D | tc.c | 36 struct mlx5e_neigh *m_neigh, in mlx5e_rep_encap_entry_attach() argument 50 nhe = mlx5e_rep_neigh_entry_lookup(priv, m_neigh); in mlx5e_rep_encap_entry_attach() 52 err = mlx5e_rep_neigh_entry_create(priv, m_neigh, neigh_dev, &nhe); in mlx5e_rep_encap_entry_attach()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 230 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()
|
D | tc_tun_encap.c | 383 struct mlx5e_neigh *m_neigh = &nhe->m_neigh; in mlx5e_tc_update_neigh_used_value() local 392 if (m_neigh->family == AF_INET) in mlx5e_tc_update_neigh_used_value() 395 else if (m_neigh->family == AF_INET6) in mlx5e_tc_update_neigh_used_value() 446 n = neigh_lookup(tbl, &m_neigh->dst_ip, READ_ONCE(nhe->neigh_dev)); in mlx5e_tc_update_neigh_used_value()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | en_rep_tracepoint.h | 24 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh;
|
D | en_tc_tracepoint.h | 85 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh;
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.h | 134 struct mlx5e_neigh m_neigh; member
|