num_vport 1582 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c u16 i, num_vport; num_vport 1584 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c num_vport = hdev->num_vmdq_vport + hdev->num_req_vfs + 1; num_vport 1585 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < num_vport; i++) { num_vport 1622 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int num_vport, i; num_vport 1626 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c num_vport = hdev->num_vmdq_vport + hdev->num_req_vfs + 1; num_vport 1628 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hdev->num_tqps < num_vport) { num_vport 1630 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->num_tqps, num_vport); num_vport 1635 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tqp_per_vport = hdev->num_tqps / num_vport; num_vport 1636 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tqp_main_vport = tqp_per_vport + hdev->num_tqps % num_vport; num_vport 1638 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c vport = devm_kcalloc(&pdev->dev, num_vport, sizeof(struct hclge_vport), num_vport 1644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->num_alloc_vport = num_vport; num_vport 1649 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < num_vport; i++) { num_vport 2360 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int err, vport, num_vport; num_vport 2402 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c num_vport = --vport; num_vport 2403 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_esw_for_each_host_func_vport_reverse(esw, vport, num_vport)