Home
last modified time | relevance | path

Searched refs:nud_state (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c285 unsigned int nud_state; in reuse_entry() local
291 nud_state = neigh->nud_state; in reuse_entry()
293 !(nud_state & NUD_VALID)) in reuse_entry()
295 else if (nud_state & NUD_CONNECTED) in reuse_entry()
426 if (neigh->nud_state & NUD_FAILED) { in t3_l2t_update()
428 } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE)) in t3_l2t_update()
431 e->state = neigh->nud_state & NUD_CONNECTED ? in t3_l2t_update()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c219 u8 nud_state, ttl; in mlx5e_tc_tun_create_header_ipv4() local
271 nud_state = n->nud_state; in mlx5e_tc_tun_create_header_ipv4()
296 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv4()
339 u8 nud_state, ttl; in mlx5e_tc_tun_create_header_ipv6() local
390 nud_state = n->nud_state; in mlx5e_tc_tun_create_header_ipv6()
414 if (!(nud_state & NUD_VALID)) { in mlx5e_tc_tun_create_header_ipv6()
/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c205 e->state = (e->neigh->nud_state & NUD_STALE) ? in do_l2t_write_rpl()
403 unsigned int nud_state; in reuse_entry() local
408 nud_state = neigh->nud_state; in reuse_entry()
410 !(nud_state & NUD_VALID)) in reuse_entry()
412 else if (nud_state & NUD_CONNECTED) in reuse_entry()
563 if (neigh->nud_state & NUD_FAILED) { in t4_l2t_update()
565 } else if ((neigh->nud_state & (NUD_CONNECTED | NUD_STALE)) && in t4_l2t_update()
570 e->state = neigh->nud_state & NUD_CONNECTED ? in t4_l2t_update()
/drivers/infiniband/core/
Daddr.c336 if (!(n->nud_state & NUD_VALID)) { in dst_fetch_ha()
855 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c421 if (neigh->nud_state & NUD_VALID) { in qedr_addr4_resolve()
464 if (neigh->nud_state & NUD_VALID) { in qedr_addr6_resolve()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c648 u8 nud_state, dead; in mlx5e_rep_neigh_update() local
659 nud_state = n->nud_state; in mlx5e_rep_neigh_update()
663 neigh_connected = (nud_state & NUD_VALID) && !dead; in mlx5e_rep_neigh_update()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2467 u8 nud_state, dead; in mlxsw_sp_router_neigh_event_work() local
2475 nud_state = n->nud_state; in mlxsw_sp_router_neigh_event_work()
2482 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_router_neigh_event_work()
3467 u8 nud_state, dead; in mlxsw_sp_nexthop_dead_neigh_replace() local
3489 nud_state = n->nud_state; in mlxsw_sp_nexthop_dead_neigh_replace()
3492 entry_connected = nud_state & NUD_VALID && !dead; in mlxsw_sp_nexthop_dead_neigh_replace()
3564 u8 nud_state, dead; in mlxsw_sp_nexthop_neigh_init() local
3602 nud_state = n->nud_state; in mlxsw_sp_nexthop_neigh_init()
3605 __mlxsw_sp_nexthop_neigh_update(nh, !(nud_state & NUD_VALID && !dead)); in mlxsw_sp_nexthop_neigh_init()
Dspectrum_span.c125 if ((neigh->nud_state & NUD_VALID) && !neigh->dead) in mlxsw_sp_span_dmac()
/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c304 if (!(neigh->nud_state & NUD_VALID) || neigh->dead) { in nfp_tun_write_neigh()
/drivers/net/ethernet/rocker/
Drocker_ofdpa.c1366 if (n->nud_state & NUD_VALID) in ofdpa_port_ipv4_resolve()
2692 int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) | in ofdpa_port_neigh_update()
/drivers/infiniband/hw/i40iw/
Di40iw_utils.c292 if (neigh->nud_state & NUD_VALID) { in i40iw_net_event()
Di40iw_cm.c2007 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh()
2097 if (neigh->nud_state & NUD_VALID) { in i40iw_addr_resolve_neigh_ipv6()
/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c914 if (!(n->nud_state & NUD_VALID)) in cxgbit_offload_init()
/drivers/net/
Dvxlan.c1853 if (!(n->nud_state & NUD_CONNECTED)) { in arp_reduce()
2008 if (!(n->nud_state & NUD_CONNECTED)) { in neigh_reduce()
/drivers/s390/net/
Dqeth_l3_main.c2098 n->nud_state = NUD_NOARP; in qeth_l3_neigh_setup_noarp()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1723 if (!(n->nud_state & NUD_VALID)) in init_act_open()