Home
last modified time | relevance | path

Searched refs:npar_info (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c28 struct qlcnic_info *npar_info, in qlcnic_sriov_pf_set_vport_info() argument
38 cmd.req.arg[2] = npar_info->bit_offsets; in qlcnic_sriov_pf_set_vport_info()
39 cmd.req.arg[2] |= npar_info->min_tx_bw << 16; in qlcnic_sriov_pf_set_vport_info()
40 cmd.req.arg[3] = npar_info->max_tx_bw | (npar_info->max_tx_ques << 16); in qlcnic_sriov_pf_set_vport_info()
41 cmd.req.arg[4] = npar_info->max_tx_mac_filters; in qlcnic_sriov_pf_set_vport_info()
42 cmd.req.arg[4] |= npar_info->max_rx_mcast_mac_filters << 16; in qlcnic_sriov_pf_set_vport_info()
43 cmd.req.arg[5] = npar_info->max_rx_ucast_mac_filters | in qlcnic_sriov_pf_set_vport_info()
44 (npar_info->max_rx_ip_addr << 16); in qlcnic_sriov_pf_set_vport_info()
45 cmd.req.arg[6] = npar_info->max_rx_lro_flow | in qlcnic_sriov_pf_set_vport_info()
46 (npar_info->max_rx_status_rings << 16); in qlcnic_sriov_pf_set_vport_info()
[all …]
Dqlcnic_sriov_common.c386 struct qlcnic_info *npar_info, u16 vport_id) in qlcnic_sriov_get_vf_vport_info() argument
408 npar_info->min_tx_bw = MSW(cmd.rsp.arg[2]); in qlcnic_sriov_get_vf_vport_info()
410 npar_info->max_tx_bw = LSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
412 npar_info->max_tx_ques = MSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
414 npar_info->max_tx_mac_filters = LSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
416 npar_info->max_rx_mcast_mac_filters = MSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
418 npar_info->max_rx_ucast_mac_filters = LSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
420 npar_info->max_rx_ip_addr = MSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
422 npar_info->max_rx_lro_flow = LSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
424 npar_info->max_rx_status_rings = MSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
[all …]
Dqlcnic_ctx.c733 struct qlcnic_info *npar_info, u8 func_id) in qlcnic_82xx_get_nic_info() argument
759 npar_info->pci_func = le16_to_cpu(nic_info->pci_func); in qlcnic_82xx_get_nic_info()
760 npar_info->op_mode = le16_to_cpu(nic_info->op_mode); in qlcnic_82xx_get_nic_info()
761 npar_info->min_tx_bw = le16_to_cpu(nic_info->min_tx_bw); in qlcnic_82xx_get_nic_info()
762 npar_info->max_tx_bw = le16_to_cpu(nic_info->max_tx_bw); in qlcnic_82xx_get_nic_info()
763 npar_info->phys_port = le16_to_cpu(nic_info->phys_port); in qlcnic_82xx_get_nic_info()
764 npar_info->switch_mode = le16_to_cpu(nic_info->switch_mode); in qlcnic_82xx_get_nic_info()
765 npar_info->max_tx_ques = le16_to_cpu(nic_info->max_tx_ques); in qlcnic_82xx_get_nic_info()
766 npar_info->max_rx_ques = le16_to_cpu(nic_info->max_rx_ques); in qlcnic_82xx_get_nic_info()
767 npar_info->capabilities = le32_to_cpu(nic_info->capabilities); in qlcnic_82xx_get_nic_info()
[all …]
Dqlcnic_83xx_hw.c2076 struct qlcnic_info *npar_info, u8 func_id) in qlcnic_83xx_get_nic_info() argument
2097 npar_info->op_type = cmd.rsp.arg[1]; in qlcnic_83xx_get_nic_info()
2098 npar_info->pci_func = cmd.rsp.arg[2] & 0xFFFF; in qlcnic_83xx_get_nic_info()
2099 npar_info->op_mode = (cmd.rsp.arg[2] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_nic_info()
2100 npar_info->phys_port = cmd.rsp.arg[3] & 0xFFFF; in qlcnic_83xx_get_nic_info()
2101 npar_info->switch_mode = (cmd.rsp.arg[3] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_nic_info()
2102 npar_info->capabilities = cmd.rsp.arg[4]; in qlcnic_83xx_get_nic_info()
2103 npar_info->max_mac_filters = cmd.rsp.arg[5] & 0xFF; in qlcnic_83xx_get_nic_info()
2104 npar_info->max_mtu = (cmd.rsp.arg[5] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_nic_info()
2105 npar_info->max_tx_ques = cmd.rsp.arg[6] & 0xFFFF; in qlcnic_83xx_get_nic_info()
[all …]