Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_pf.c33 struct qlcnic_info *npar_info, in qlcnic_sriov_pf_set_vport_info() argument
43 cmd.req.arg[2] = npar_info->bit_offsets; in qlcnic_sriov_pf_set_vport_info()
44 cmd.req.arg[2] |= npar_info->min_tx_bw << 16; in qlcnic_sriov_pf_set_vport_info()
45 cmd.req.arg[3] = npar_info->max_tx_bw | (npar_info->max_tx_ques << 16); in qlcnic_sriov_pf_set_vport_info()
46 cmd.req.arg[4] = npar_info->max_tx_mac_filters; in qlcnic_sriov_pf_set_vport_info()
47 cmd.req.arg[4] |= npar_info->max_rx_mcast_mac_filters << 16; in qlcnic_sriov_pf_set_vport_info()
48 cmd.req.arg[5] = npar_info->max_rx_ucast_mac_filters | in qlcnic_sriov_pf_set_vport_info()
49 (npar_info->max_rx_ip_addr << 16); in qlcnic_sriov_pf_set_vport_info()
50 cmd.req.arg[6] = npar_info->max_rx_lro_flow | in qlcnic_sriov_pf_set_vport_info()
51 (npar_info->max_rx_status_rings << 16); in qlcnic_sriov_pf_set_vport_info()
[all …]
H A Dqlcnic_sriov_common.c359 struct qlcnic_info *npar_info, u16 vport_id) in qlcnic_sriov_get_vf_vport_info() argument
381 npar_info->min_tx_bw = MSW(cmd.rsp.arg[2]); in qlcnic_sriov_get_vf_vport_info()
383 npar_info->max_tx_bw = LSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
385 npar_info->max_tx_ques = MSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
387 npar_info->max_tx_mac_filters = LSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
389 npar_info->max_rx_mcast_mac_filters = MSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
391 npar_info->max_rx_ucast_mac_filters = LSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
393 npar_info->max_rx_ip_addr = MSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
395 npar_info->max_rx_lro_flow = LSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
397 npar_info->max_rx_status_rings = MSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
[all …]
H A Dqlcnic_ctx.c854 struct qlcnic_info *npar_info, u8 func_id) in qlcnic_82xx_get_nic_info() argument
883 npar_info->pci_func = le16_to_cpu(nic_info->pci_func); in qlcnic_82xx_get_nic_info()
884 npar_info->op_mode = le16_to_cpu(nic_info->op_mode); in qlcnic_82xx_get_nic_info()
885 npar_info->min_tx_bw = le16_to_cpu(nic_info->min_tx_bw); in qlcnic_82xx_get_nic_info()
886 npar_info->max_tx_bw = le16_to_cpu(nic_info->max_tx_bw); in qlcnic_82xx_get_nic_info()
887 npar_info->phys_port = le16_to_cpu(nic_info->phys_port); in qlcnic_82xx_get_nic_info()
888 npar_info->switch_mode = le16_to_cpu(nic_info->switch_mode); in qlcnic_82xx_get_nic_info()
889 npar_info->max_tx_ques = le16_to_cpu(nic_info->max_tx_ques); in qlcnic_82xx_get_nic_info()
890 npar_info->max_rx_ques = le16_to_cpu(nic_info->max_rx_ques); in qlcnic_82xx_get_nic_info()
891 npar_info->capabilities = le32_to_cpu(nic_info->capabilities); in qlcnic_82xx_get_nic_info()
[all …]
H A Dqlcnic_83xx_hw.c2418 struct qlcnic_info *npar_info, u8 func_id) in qlcnic_83xx_get_nic_info() argument
2443 npar_info->op_type = cmd.rsp.arg[1]; in qlcnic_83xx_get_nic_info()
2444 npar_info->pci_func = cmd.rsp.arg[2] & 0xFFFF; in qlcnic_83xx_get_nic_info()
2445 npar_info->op_mode = (cmd.rsp.arg[2] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_nic_info()
2446 npar_info->phys_port = cmd.rsp.arg[3] & 0xFFFF; in qlcnic_83xx_get_nic_info()
2447 npar_info->switch_mode = (cmd.rsp.arg[3] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_nic_info()
2448 npar_info->capabilities = cmd.rsp.arg[4]; in qlcnic_83xx_get_nic_info()
2449 npar_info->max_mac_filters = cmd.rsp.arg[5] & 0xFF; in qlcnic_83xx_get_nic_info()
2450 npar_info->max_mtu = (cmd.rsp.arg[5] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_nic_info()
2451 npar_info->max_tx_ques = cmd.rsp.arg[6] & 0xFFFF; in qlcnic_83xx_get_nic_info()
[all …]