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()
3808 BUILD_BUG_ON(ARRAY_SIZE(nic_data->udp_tunnels) > in efx_ef10_set_udp_tnl_ports()
3811 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) { in efx_ef10_set_udp_tnl_ports()
3812 if (nic_data->udp_tunnels[i].type != in efx_ef10_set_udp_tnl_ports()
3818 ntohs(nic_data->udp_tunnels[i].port), in efx_ef10_set_udp_tnl_ports()
3820 nic_data->udp_tunnels[i].type); in efx_ef10_set_udp_tnl_ports()
3922 nic_data->udp_tunnels[entry].type = efx_tunnel_type; in efx_ef10_udp_tnl_set_port()
3923 nic_data->udp_tunnels[entry].port = ti->port; in efx_ef10_udp_tnl_set_port()
3950 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_udp_tnl_has_port()
3951 if (nic_data->udp_tunnels[i].type != in efx_ef10_udp_tnl_has_port()
3953 nic_data->udp_tunnels[i].port == port) in efx_ef10_udp_tnl_has_port()
3974 nic_data->udp_tunnels[entry].type = TUNNEL_ENCAP_UDP_PORT_ENTRY_INVALID; in efx_ef10_udp_tnl_unset_port()
3975 nic_data->udp_tunnels[entry].port = 0; in efx_ef10_udp_tnl_unset_port()