Lines Matching refs:udp_tunnels
820 memset(nic_data->udp_tunnels, 0, sizeof(nic_data->udp_tunnels)); in efx_ef10_probe()
1101 memset(nic_data->udp_tunnels, 0, sizeof(nic_data->udp_tunnels)); in efx_ef10_remove()
6358 BUILD_BUG_ON(ARRAY_SIZE(nic_data->udp_tunnels) > in efx_ef10_set_udp_tnl_ports()
6361 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) { in efx_ef10_set_udp_tnl_ports()
6362 if (nic_data->udp_tunnels[i].count && in efx_ef10_set_udp_tnl_ports()
6363 nic_data->udp_tunnels[i].port) { in efx_ef10_set_udp_tnl_ports()
6368 ntohs(nic_data->udp_tunnels[i].port), in efx_ef10_set_udp_tnl_ports()
6370 nic_data->udp_tunnels[i].type); in efx_ef10_set_udp_tnl_ports()
6455 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) { in __efx_ef10_udp_tnl_lookup_port()
6456 if (!nic_data->udp_tunnels[i].count) in __efx_ef10_udp_tnl_lookup_port()
6458 if (nic_data->udp_tunnels[i].port == port) in __efx_ef10_udp_tnl_lookup_port()
6459 return &nic_data->udp_tunnels[i]; in __efx_ef10_udp_tnl_lookup_port()
6506 for (i = 0; i < ARRAY_SIZE(nic_data->udp_tunnels); ++i) in efx_ef10_udp_tnl_add_port()
6507 if (!nic_data->udp_tunnels[i].count) { in efx_ef10_udp_tnl_add_port()
6508 nic_data->udp_tunnels[i] = tnl; in efx_ef10_udp_tnl_add_port()
6509 nic_data->udp_tunnels[i].count = 1; in efx_ef10_udp_tnl_add_port()