Lines Matching refs:fhash
1932 if (adapter->fhash.fnum) in __qlcnic_down()
2837 if (adapter->fhash.fmax && adapter->fhash.fhead) in qlcnic_alloc_lb_filters_mem()
2846 adapter->fhash.fbucket_size = QLCNIC_VF_LB_BUCKET_SIZE; in qlcnic_alloc_lb_filters_mem()
2849 adapter->fhash.fbucket_size = QLCNIC_LB_BUCKET_SIZE; in qlcnic_alloc_lb_filters_mem()
2852 adapter->fhash.fbucket_size = QLC_83XX_LB_BUCKET_SIZE; in qlcnic_alloc_lb_filters_mem()
2855 head = kcalloc(adapter->fhash.fbucket_size, in qlcnic_alloc_lb_filters_mem()
2861 adapter->fhash.fmax = (filter_size / act_pci_func); in qlcnic_alloc_lb_filters_mem()
2862 adapter->fhash.fhead = head; in qlcnic_alloc_lb_filters_mem()
2865 act_pci_func, adapter->fhash.fmax); in qlcnic_alloc_lb_filters_mem()
2867 for (i = 0; i < adapter->fhash.fbucket_size; i++) in qlcnic_alloc_lb_filters_mem()
2868 INIT_HLIST_HEAD(&adapter->fhash.fhead[i]); in qlcnic_alloc_lb_filters_mem()
2870 adapter->rx_fhash.fbucket_size = adapter->fhash.fbucket_size; in qlcnic_alloc_lb_filters_mem()
2887 if (adapter->fhash.fmax) in qlcnic_free_lb_filters_mem()
2888 kfree(adapter->fhash.fhead); in qlcnic_free_lb_filters_mem()
2890 adapter->fhash.fhead = NULL; in qlcnic_free_lb_filters_mem()
2891 adapter->fhash.fmax = 0; in qlcnic_free_lb_filters_mem()
3736 if (adapter->fhash.fnum) in qlcnic_fw_poll_work()