Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/
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 …]
Dqlcnic_sriov_common.c357 struct qlcnic_info *npar_info, u16 vport_id) in qlcnic_sriov_get_vf_vport_info() argument
379 npar_info->min_tx_bw = MSW(cmd.rsp.arg[2]); in qlcnic_sriov_get_vf_vport_info()
381 npar_info->max_tx_bw = LSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
383 npar_info->max_tx_ques = MSW(cmd.rsp.arg[3]); in qlcnic_sriov_get_vf_vport_info()
385 npar_info->max_tx_mac_filters = LSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
387 npar_info->max_rx_mcast_mac_filters = MSW(cmd.rsp.arg[4]); in qlcnic_sriov_get_vf_vport_info()
389 npar_info->max_rx_ucast_mac_filters = LSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
391 npar_info->max_rx_ip_addr = MSW(cmd.rsp.arg[5]); in qlcnic_sriov_get_vf_vport_info()
393 npar_info->max_rx_lro_flow = LSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
395 npar_info->max_rx_status_rings = MSW(cmd.rsp.arg[6]); in qlcnic_sriov_get_vf_vport_info()
[all …]
Dqlcnic_ctx.c848 struct qlcnic_info *npar_info, u8 func_id) in qlcnic_82xx_get_nic_info() argument
877 npar_info->pci_func = le16_to_cpu(nic_info->pci_func); in qlcnic_82xx_get_nic_info()
878 npar_info->op_mode = le16_to_cpu(nic_info->op_mode); in qlcnic_82xx_get_nic_info()
879 npar_info->min_tx_bw = le16_to_cpu(nic_info->min_tx_bw); in qlcnic_82xx_get_nic_info()
880 npar_info->max_tx_bw = le16_to_cpu(nic_info->max_tx_bw); in qlcnic_82xx_get_nic_info()
881 npar_info->phys_port = le16_to_cpu(nic_info->phys_port); in qlcnic_82xx_get_nic_info()
882 npar_info->switch_mode = le16_to_cpu(nic_info->switch_mode); in qlcnic_82xx_get_nic_info()
883 npar_info->max_tx_ques = le16_to_cpu(nic_info->max_tx_ques); in qlcnic_82xx_get_nic_info()
884 npar_info->max_rx_ques = le16_to_cpu(nic_info->max_rx_ques); in qlcnic_82xx_get_nic_info()
885 npar_info->capabilities = le32_to_cpu(nic_info->capabilities); in qlcnic_82xx_get_nic_info()
[all …]
Dqlcnic_83xx_hw.c2411 struct qlcnic_info *npar_info, u8 func_id) in qlcnic_83xx_get_nic_info() argument
2436 npar_info->op_type = cmd.rsp.arg[1]; in qlcnic_83xx_get_nic_info()
2437 npar_info->pci_func = cmd.rsp.arg[2] & 0xFFFF; in qlcnic_83xx_get_nic_info()
2438 npar_info->op_mode = (cmd.rsp.arg[2] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_nic_info()
2439 npar_info->phys_port = cmd.rsp.arg[3] & 0xFFFF; in qlcnic_83xx_get_nic_info()
2440 npar_info->switch_mode = (cmd.rsp.arg[3] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_nic_info()
2441 npar_info->capabilities = cmd.rsp.arg[4]; in qlcnic_83xx_get_nic_info()
2442 npar_info->max_mac_filters = cmd.rsp.arg[5] & 0xFF; in qlcnic_83xx_get_nic_info()
2443 npar_info->max_mtu = (cmd.rsp.arg[5] & 0xFFFF0000) >> 16; in qlcnic_83xx_get_nic_info()
2444 npar_info->max_tx_ques = cmd.rsp.arg[6] & 0xFFFF; in qlcnic_83xx_get_nic_info()
[all …]