Searched refs:npar (Results 1 – 3 of 3) sorted by relevance
876 struct qlcnic_npar_info *npar; in qlcnic_set_default_offload_settings() local894 npar = &adapter->npars[i]; in qlcnic_set_default_offload_settings()895 npar->pvid = esw_cfg.vlan_id; in qlcnic_set_default_offload_settings()896 npar->mac_override = esw_cfg.mac_override; in qlcnic_set_default_offload_settings()897 npar->mac_anti_spoof = esw_cfg.mac_anti_spoof; in qlcnic_set_default_offload_settings()898 npar->discard_tagged = esw_cfg.discard_tagged; in qlcnic_set_default_offload_settings()899 npar->promisc_mode = esw_cfg.promisc_mode; in qlcnic_set_default_offload_settings()900 npar->offload_flags = esw_cfg.offload_flags; in qlcnic_set_default_offload_settings()908 struct qlcnic_npar_info *npar, int pci_func) in qlcnic_reset_eswitch_config() argument913 esw_cfg.vlan_id = npar->pvid; in qlcnic_reset_eswitch_config()[all …]
769 struct qlcnic_pci_info *npar; in qlcnic_get_pci_info() local780 npar = pci_info_addr; in qlcnic_get_pci_info()790 for (i = 0; i < QLCNIC_MAX_PCI_FUNC; i++, npar++, pci_info++) { in qlcnic_get_pci_info()791 pci_info->id = le16_to_cpu(npar->id); in qlcnic_get_pci_info()792 pci_info->active = le16_to_cpu(npar->active); in qlcnic_get_pci_info()793 pci_info->type = le16_to_cpu(npar->type); in qlcnic_get_pci_info()795 le16_to_cpu(npar->default_port); in qlcnic_get_pci_info()797 le16_to_cpu(npar->tx_min_bw); in qlcnic_get_pci_info()799 le16_to_cpu(npar->tx_max_bw); in qlcnic_get_pci_info()800 memcpy(pci_info->mac, npar->mac, ETH_ALEN); in qlcnic_get_pci_info()
66 __u8 npar; member75 __u8 npar; member96 return ((struct info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar()98 return ((struct x_info_blk_hdr *)hdr)->npar; in info_blk_hdr__npar()