• Home
  • Raw
  • Download

Lines Matching refs:vpid

73 	int ret = -EIO, vpid, id;  in qlcnic_sriov_pf_cal_res_limit()  local
77 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func); in qlcnic_sriov_pf_cal_res_limit()
78 if (vpid < 0) in qlcnic_sriov_pf_cal_res_limit()
129 ret = qlcnic_sriov_pf_set_vport_info(adapter, info, vpid); in qlcnic_sriov_pf_cal_res_limit()
293 int vpid; in qlcnic_sriov_pf_config_vport() local
301 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func); in qlcnic_sriov_pf_config_vport()
302 if (vpid < 0) { in qlcnic_sriov_pf_config_vport()
306 cmd.req.arg[3] = ((vpid & 0xffff) << 8) | 1; in qlcnic_sriov_pf_config_vport()
318 vpid = cmd.rsp.arg[2] & 0xffff; in qlcnic_sriov_pf_config_vport()
319 qlcnic_sriov_pf_set_vport_handle(adapter, vpid, func); in qlcnic_sriov_pf_config_vport()
798 int vpid; in qlcnic_sriov_cfg_vf_def_mac() local
811 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, vf->pci_func); in qlcnic_sriov_cfg_vf_def_mac()
812 if (vpid < 0) { in qlcnic_sriov_cfg_vf_def_mac()
822 cmd->req.arg[1] |= ((vpid & 0xffff) << 16) | BIT_31; in qlcnic_sriov_cfg_vf_def_mac()
1528 u16 vpid; in qlcnic_pf_set_interface_id_create_rx_ctx() local
1530 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, in qlcnic_pf_set_interface_id_create_rx_ctx()
1532 *int_id |= vpid; in qlcnic_pf_set_interface_id_create_rx_ctx()
1538 u16 vpid; in qlcnic_pf_set_interface_id_del_rx_ctx() local
1540 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, in qlcnic_pf_set_interface_id_del_rx_ctx()
1542 *int_id |= vpid << 16; in qlcnic_pf_set_interface_id_del_rx_ctx()
1548 int vpid; in qlcnic_pf_set_interface_id_create_tx_ctx() local
1550 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, in qlcnic_pf_set_interface_id_create_tx_ctx()
1552 *int_id |= vpid << 16; in qlcnic_pf_set_interface_id_create_tx_ctx()
1558 u16 vpid; in qlcnic_pf_set_interface_id_del_tx_ctx() local
1560 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, in qlcnic_pf_set_interface_id_del_tx_ctx()
1562 *int_id |= vpid << 16; in qlcnic_pf_set_interface_id_del_tx_ctx()
1568 u16 vpid; in qlcnic_pf_set_interface_id_promisc() local
1570 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, in qlcnic_pf_set_interface_id_promisc()
1572 *int_id |= (vpid << 16) | BIT_31; in qlcnic_pf_set_interface_id_promisc()
1578 u16 vpid; in qlcnic_pf_set_interface_id_ipaddr() local
1580 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, in qlcnic_pf_set_interface_id_ipaddr()
1582 *int_id |= (vpid << 16) | BIT_31; in qlcnic_pf_set_interface_id_ipaddr()
1588 u16 vpid; in qlcnic_pf_set_interface_id_macaddr() local
1590 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, in qlcnic_pf_set_interface_id_macaddr()
1592 *int_id |= (vpid << 16) | BIT_31; in qlcnic_pf_set_interface_id_macaddr()
1599 int vpid; in qlcnic_sriov_del_rx_ctx() local
1607 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, vf->pci_func); in qlcnic_sriov_del_rx_ctx()
1608 if (vpid >= 0) { in qlcnic_sriov_del_rx_ctx()
1609 cmd.req.arg[1] = vf->rx_ctx_id | (vpid & 0xffff) << 16; in qlcnic_sriov_del_rx_ctx()
1625 int vpid; in qlcnic_sriov_del_tx_ctx() local
1633 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, vf->pci_func); in qlcnic_sriov_del_tx_ctx()
1634 if (vpid >= 0) { in qlcnic_sriov_del_tx_ctx()
1635 cmd.req.arg[1] |= vf->tx_ctx_id | (vpid & 0xffff) << 16; in qlcnic_sriov_del_tx_ctx()
1857 u16 vpid; in qlcnic_sriov_set_vf_tx_rate() local
1867 vpid = vp->handle; in qlcnic_sriov_set_vf_tx_rate()
1890 if (qlcnic_sriov_get_vf_vport_info(adapter, &nic_info, vpid)) in qlcnic_sriov_set_vf_tx_rate()
1897 if (qlcnic_sriov_pf_set_vport_info(adapter, &nic_info, vpid)) in qlcnic_sriov_set_vf_tx_rate()