Lines Matching refs:udp_tunnels
569 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_probe()
570 nic_data->udp_tunnels[i].type = in efx_ef10_probe()
699 memset(nic_data->udp_tunnels, 0, sizeof(nic_data->udp_tunnels)); in efx_ef10_probe()
966 memset(nic_data->udp_tunnels, 0, sizeof(nic_data->udp_tunnels)); in efx_ef10_remove()
3811 BUILD_BUG_ON(ARRAY_SIZE(nic_data->udp_tunnels) > in efx_ef10_set_udp_tnl_ports()
3814 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) { in efx_ef10_set_udp_tnl_ports()
3815 if (nic_data->udp_tunnels[i].type != in efx_ef10_set_udp_tnl_ports()
3821 ntohs(nic_data->udp_tunnels[i].port), in efx_ef10_set_udp_tnl_ports()
3823 nic_data->udp_tunnels[i].type); in efx_ef10_set_udp_tnl_ports()
3925 nic_data->udp_tunnels[entry].type = efx_tunnel_type; in efx_ef10_udp_tnl_set_port()
3926 nic_data->udp_tunnels[entry].port = ti->port; in efx_ef10_udp_tnl_set_port()
3953 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_udp_tnl_has_port()
3954 if (nic_data->udp_tunnels[i].type != in efx_ef10_udp_tnl_has_port()
3956 nic_data->udp_tunnels[i].port == port) in efx_ef10_udp_tnl_has_port()
3977 nic_data->udp_tunnels[entry].type = TUNNEL_ENCAP_UDP_PORT_ENTRY_INVALID; in efx_ef10_udp_tnl_unset_port()
3978 nic_data->udp_tunnels[entry].port = 0; in efx_ef10_udp_tnl_unset_port()