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()
3759 BUILD_BUG_ON(ARRAY_SIZE(nic_data->udp_tunnels) > in efx_ef10_set_udp_tnl_ports()
3762 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) { in efx_ef10_set_udp_tnl_ports()
3763 if (nic_data->udp_tunnels[i].type != in efx_ef10_set_udp_tnl_ports()
3769 ntohs(nic_data->udp_tunnels[i].port), in efx_ef10_set_udp_tnl_ports()
3771 nic_data->udp_tunnels[i].type); in efx_ef10_set_udp_tnl_ports()
3873 nic_data->udp_tunnels[entry].type = efx_tunnel_type; in efx_ef10_udp_tnl_set_port()
3874 nic_data->udp_tunnels[entry].port = ti->port; in efx_ef10_udp_tnl_set_port()
3901 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_udp_tnl_has_port()
3902 if (nic_data->udp_tunnels[i].type != in efx_ef10_udp_tnl_has_port()
3904 nic_data->udp_tunnels[i].port == port) in efx_ef10_udp_tnl_has_port()
3925 nic_data->udp_tunnels[entry].type = TUNNEL_ENCAP_UDP_PORT_ENTRY_INVALID; in efx_ef10_udp_tnl_unset_port()
3926 nic_data->udp_tunnels[entry].port = 0; in efx_ef10_udp_tnl_unset_port()