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()
3779 BUILD_BUG_ON(ARRAY_SIZE(nic_data->udp_tunnels) > in efx_ef10_set_udp_tnl_ports()
3782 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) { in efx_ef10_set_udp_tnl_ports()
3783 if (nic_data->udp_tunnels[i].type != in efx_ef10_set_udp_tnl_ports()
3789 ntohs(nic_data->udp_tunnels[i].port), in efx_ef10_set_udp_tnl_ports()
3791 nic_data->udp_tunnels[i].type); in efx_ef10_set_udp_tnl_ports()
3893 nic_data->udp_tunnels[entry].type = efx_tunnel_type; in efx_ef10_udp_tnl_set_port()
3894 nic_data->udp_tunnels[entry].port = ti->port; in efx_ef10_udp_tnl_set_port()
3921 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_udp_tnl_has_port()
3922 if (nic_data->udp_tunnels[i].type != in efx_ef10_udp_tnl_has_port()
3924 nic_data->udp_tunnels[i].port == port) in efx_ef10_udp_tnl_has_port()
3945 nic_data->udp_tunnels[entry].type = TUNNEL_ENCAP_UDP_PORT_ENTRY_INVALID; in efx_ef10_udp_tnl_unset_port()
3946 nic_data->udp_tunnels[entry].port = 0; in efx_ef10_udp_tnl_unset_port()