Lines Matching refs:udp_tunnels
570 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_probe()
571 nic_data->udp_tunnels[i].type = in efx_ef10_probe()
700 memset(nic_data->udp_tunnels, 0, sizeof(nic_data->udp_tunnels)); in efx_ef10_probe()
967 memset(nic_data->udp_tunnels, 0, sizeof(nic_data->udp_tunnels)); in efx_ef10_remove()
3761 BUILD_BUG_ON(ARRAY_SIZE(nic_data->udp_tunnels) > in efx_ef10_set_udp_tnl_ports()
3764 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) { in efx_ef10_set_udp_tnl_ports()
3765 if (nic_data->udp_tunnels[i].type != in efx_ef10_set_udp_tnl_ports()
3771 ntohs(nic_data->udp_tunnels[i].port), in efx_ef10_set_udp_tnl_ports()
3773 nic_data->udp_tunnels[i].type); in efx_ef10_set_udp_tnl_ports()
3875 nic_data->udp_tunnels[entry].type = efx_tunnel_type; in efx_ef10_udp_tnl_set_port()
3876 nic_data->udp_tunnels[entry].port = ti->port; in efx_ef10_udp_tnl_set_port()
3903 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_udp_tnl_has_port()
3904 if (nic_data->udp_tunnels[i].type != in efx_ef10_udp_tnl_has_port()
3906 nic_data->udp_tunnels[i].port == port) in efx_ef10_udp_tnl_has_port()
3927 nic_data->udp_tunnels[entry].type = TUNNEL_ENCAP_UDP_PORT_ENTRY_INVALID; in efx_ef10_udp_tnl_unset_port()
3928 nic_data->udp_tunnels[entry].port = 0; in efx_ef10_udp_tnl_unset_port()