Searched refs:min_port (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/samples/pktgen/ |
D | functions.sh | 312 local min_port 317 min_port=${port_list[0]} 318 max_port=${port_list[1]:-$min_port} 320 echo $min_port $max_port 326 local min_port=$1 330 if (in_between $min_port 1 65535); then 332 if [[ $min_port -le $max_port ]]; then 338 err 5 "Invalid port(s): $min_port-$max_port"
|
/linux-6.1.9/samples/bpf/ |
D | xdp_tx_iptunnel_user.c | 113 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.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 2783 bitmap_set(actv_ports.ports, dev->dev_vfs[vf].min_port - 1, in mlx4_get_active_ports() 2865 int min_port = find_first_bit(actv_ports.ports, dev->caps.num_ports) in mlx4_slaves_closest_port() local 2867 int max_port = min_port + in mlx4_slaves_closest_port() 2870 if (port < min_port) in mlx4_slaves_closest_port() 2871 port = min_port; in mlx4_slaves_closest_port() 3407 int min_port = find_first_bit(actv_ports.ports, in mlx4_vf_set_enable_smi_admin() local 3409 int max_port = min_port - 1 + in mlx4_vf_set_enable_smi_admin() 3420 if (min_port == max_port && dev->caps.num_ports > 1) { in mlx4_vf_set_enable_smi_admin()
|
D | main.c | 3574 dev->dev_vfs[sum].min_port = i < 2 ? i + 1 : 1; in mlx4_load_one()
|
/linux-6.1.9/include/linux/mlx4/ |
D | device.h | 840 u8 min_port; member
|