Home
last modified time | relevance | path

Searched refs:min_port (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/samples/pktgen/
Dfunctions.sh313 local min_port
318 min_port=${port_list[0]}
319 max_port=${port_list[1]:-$min_port}
321 echo $min_port $max_port
327 local min_port=$1
331 if (in_between $min_port 1 65535); then
333 if [[ $min_port -le $max_port ]]; then
339 err 5 "Invalid port(s): $min_port-$max_port"
/linux-6.12.1/samples/bpf/
Dxdp_tx_iptunnel_user.c113 static int parse_ports(const char *port_str, int *min_port, int *max_port) in parse_ports() argument
146 *min_port = tmp_min_port; in parse_ports()
154 int min_port = 0, max_port = 0, vip2tnl_map_fd; in main() local
191 if (parse_ports(optarg, &min_port, &max_port)) in main()
284 while (min_port <= max_port) { in main()
285 vip.dport = htons(min_port++); in main()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2784 bitmap_set(actv_ports.ports, dev->dev_vfs[vf].min_port - 1, in mlx4_get_active_ports()
2866 int min_port = find_first_bit(actv_ports.ports, dev->caps.num_ports) in mlx4_slaves_closest_port() local
2868 int max_port = min_port + in mlx4_slaves_closest_port()
2871 if (port < min_port) in mlx4_slaves_closest_port()
2872 port = min_port; in mlx4_slaves_closest_port()
3408 int min_port = find_first_bit(actv_ports.ports, in mlx4_vf_set_enable_smi_admin() local
3410 int max_port = min_port - 1 + in mlx4_vf_set_enable_smi_admin()
3421 if (min_port == max_port && dev->caps.num_ports > 1) { in mlx4_vf_set_enable_smi_admin()
Dmain.c3629 dev->dev_vfs[sum].min_port = i < 2 ? i + 1 : 1; in mlx4_load_one()
/linux-6.12.1/include/linux/mlx4/
Ddevice.h841 u8 min_port; member