Home
last modified time | relevance | path

Searched refs:fhash (Results 1 – 10 of 10) sorted by relevance

/linux/net/ipv6/
H A Dinet6_hashtables.c30 u32 lhash, fhash; in inet6_ehashfn() local
36 fhash = __ipv6_addr_jhash(faddr, tcp_ipv6_hash_secret); in inet6_ehashfn()
38 return __inet6_ehashfn(lhash, lport, fhash, fport, in inet6_ehashfn()
H A Dudp.c82 u32 lhash, fhash; in udp6_ehashfn() local
90 fhash = __ipv6_addr_jhash(faddr, udp_ipv6_hash_secret); in udp6_ehashfn()
92 return __inet6_ehashfn(lhash, lport, fhash, fport, in udp6_ehashfn()
/linux/include/net/
H A Dinet6_hashtables.h29 const u32 fhash, in __inet6_ehashfn() argument
34 return jhash_3words(lhash, fhash, ports, initval); in __inet6_ehashfn()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_main.c1932 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()
[all …]
H A Dqlcnic_hw.c638 for (i = 0; i < adapter->fhash.fbucket_size; i++) { in qlcnic_prune_lb_filters()
639 head = &(adapter->fhash.fhead[i]); in qlcnic_prune_lb_filters()
650 adapter->fhash.fnum--; in qlcnic_prune_lb_filters()
682 for (i = 0; i < adapter->fhash.fbucket_size; i++) { in qlcnic_delete_lb_filters()
683 head = &(adapter->fhash.fhead[i]); in qlcnic_delete_lb_filters()
692 adapter->fhash.fnum--; in qlcnic_delete_lb_filters()
H A Dqlcnic_io.c207 (adapter->fhash.fbucket_size - 1); in qlcnic_add_lb_filter()
235 head = &adapter->fhash.fhead[hindex]; in qlcnic_add_lb_filter()
247 adapter->fhash.fnum--; in qlcnic_add_lb_filter()
330 hindex = hval & (adapter->fhash.fbucket_size - 1); in qlcnic_send_filter()
331 head = &(adapter->fhash.fhead[hindex]); in qlcnic_send_filter()
344 if (unlikely(adapter->fhash.fnum >= adapter->fhash.fmax)) { in qlcnic_send_filter()
359 adapter->fhash.fnum++; in qlcnic_send_filter()
H A Dqlcnic.h1173 struct qlcnic_filter_hash fhash; member
H A Dqlcnic_sriov_common.c1897 if (adapter->fhash.fnum) in qlcnic_sriov_vf_periodic_tasks()
H A Dqlcnic_83xx_init.c1090 if (adapter->fhash.fnum) in qlcnic_83xx_periodic_tasks()
/linux/net/rds/
H A Dconnection.c60 u32 lhash, fhash, hash; in rds_conn_bucket() local
67 fhash = __ipv6_addr_jhash(faddr, rds6_hash_secret); in rds_conn_bucket()
69 fhash = (__force u32)faddr->s6_addr32[3]; in rds_conn_bucket()
71 hash = __inet_ehashfn(lhash, 0, fhash, 0, rds_hash_secret); in rds_conn_bucket()