Searched refs:min_port (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/samples/pktgen/ |
D | functions.sh | 307 local min_port 312 min_port=${port_list[0]} 313 max_port=${port_list[1]:-$min_port} 315 echo $min_port $max_port 321 local min_port=$1 325 if (in_between $min_port 1 65535); then 327 if [[ $min_port -le $max_port ]]; then 333 err 5 "Invalid port(s): $min_port-$max_port"
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_tx_iptunnel_user.c | 114 static int parse_ports(const char *port_str, int *min_port, int *max_port) in parse_ports() argument 147 *min_port = tmp_min_port; in parse_ports() 159 int min_port = 0, max_port = 0, vip2tnl_map_fd; in main() local 195 if (parse_ports(optarg, &min_port, &max_port)) in main() 288 while (min_port <= max_port) { in main() 289 vip.dport = htons(min_port++); in main()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 2004 int min_port = find_first_bit(actv_ports.ports, in mlx4_master_activate_admin_state() local 2006 int max_port = min_port - 1 + in mlx4_master_activate_admin_state() 2009 for (port = min_port; port <= max_port; port++) { in mlx4_master_activate_admin_state() 2070 int min_port = find_first_bit(actv_ports.ports, in mlx4_master_deactivate_admin_state() local 2072 int max_port = min_port - 1 + in mlx4_master_deactivate_admin_state() 2076 for (port = min_port; port <= max_port; port++) { in mlx4_master_deactivate_admin_state() 2785 bitmap_set(actv_ports.ports, dev->dev_vfs[vf].min_port - 1, in mlx4_get_active_ports() 2867 int min_port = find_first_bit(actv_ports.ports, dev->caps.num_ports) in mlx4_slaves_closest_port() local 2869 int max_port = min_port + in mlx4_slaves_closest_port() 2872 if (port < min_port) in mlx4_slaves_closest_port() [all …]
|
D | main.c | 3569 dev->dev_vfs[sum].min_port = i < 2 ? i + 1 : 1; in mlx4_load_one()
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
D | device.h | 841 u8 min_port; member
|