Home
last modified time | relevance | path

Searched refs:hash_value (Results 1 – 25 of 25) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c20 static void ixgb_mta_set(struct ixgb_hw *hw, u32 hash_value);
412 u32 hash_value; in ixgb_mc_addr_list_update() local
448 hash_value = ixgb_hash_mc_addr(hw, mca); in ixgb_mc_addr_list_update()
450 pr_debug("Hash value = 0x%03X\n", hash_value); in ixgb_mc_addr_list_update()
452 ixgb_mta_set(hw, hash_value); in ixgb_mc_addr_list_update()
474 u32 hash_value = 0; in ixgb_hash_mc_addr() local
487 hash_value = in ixgb_hash_mc_addr()
491 hash_value = in ixgb_hash_mc_addr()
495 hash_value = in ixgb_hash_mc_addr()
499 hash_value = ((mc_addr[4]) | (((u16) mc_addr[5]) << 8)); in ixgb_hash_mc_addr()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/igbvf/
Dvf.c170 u32 hash_value, hash_mask; in e1000_hash_mc_addr_vf() local
182 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf()
185 return hash_value; in e1000_hash_mc_addr_vf()
208 u32 hash_value; in e1000_update_mc_addr_list_vf() local
226 hash_value = e1000_hash_mc_addr_vf(hw, mc_addr_list); in e1000_update_mc_addr_list_vf()
227 hash_list[i] = hash_value & 0x0FFFF; in e1000_update_mc_addr_list_vf()
/Linux-v6.1/drivers/net/ethernet/intel/igc/
Digc_mac.c790 u32 hash_value, hash_mask; in igc_hash_mc_addr() local
842 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igc_hash_mc_addr()
845 return hash_value; in igc_hash_mc_addr()
860 u32 hash_value, hash_bit, hash_reg; in igc_update_mc_addr_list() local
868 hash_value = igc_hash_mc_addr(hw, mc_addr_list); in igc_update_mc_addr_list()
870 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igc_update_mc_addr_list()
871 hash_bit = hash_value & 0x1F; in igc_update_mc_addr_list()
/Linux-v6.1/drivers/net/ethernet/ti/
Ddavinci_emac.c618 u32 hash_value = hash_get(mac_addr); in emac_hash_add() local
620 if (hash_value >= EMAC_NUM_MULTICAST_BITS) { in emac_hash_add()
624 hash_value, (EMAC_NUM_MULTICAST_BITS - 1)); in emac_hash_add()
630 if (priv->multicast_hash_cnt[hash_value] == 0) { in emac_hash_add()
632 if (hash_value < 32) { in emac_hash_add()
633 hash_bit = BIT(hash_value); in emac_hash_add()
636 hash_bit = BIT((hash_value - 32)); in emac_hash_add()
642 ++priv->multicast_hash_cnt[hash_value]; in emac_hash_add()
657 u32 hash_value; in emac_hash_del() local
660 hash_value = hash_get(mac_addr); in emac_hash_del()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/igb/
De1000_mac.c393 void igb_mta_set(struct e1000_hw *hw, u32 hash_value) in igb_mta_set() argument
406 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_mta_set()
407 hash_bit = hash_value & 0x1F; in igb_mta_set()
428 u32 hash_value, hash_mask; in igb_hash_mc_addr() local
480 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igb_hash_mc_addr()
483 return hash_value; in igb_hash_mc_addr()
527 u32 hash_value, hash_bit, hash_reg; in igb_update_mc_addr_list() local
535 hash_value = igb_hash_mc_addr(hw, mc_addr_list); in igb_update_mc_addr_list()
537 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in igb_update_mc_addr_list()
538 hash_bit = hash_value & 0x1F; in igb_update_mc_addr_list()
De1000_mac.h44 void igb_mta_set(struct e1000_hw *hw, u32 hash_value);
/Linux-v6.1/drivers/net/ethernet/atheros/atlx/
Datlx.c119 u32 hash_value; in atlx_set_multi() local
139 hash_value = atlx_hash_mc_addr(hw, ha->addr); in atlx_set_multi()
140 atlx_hash_set(hw, hash_value); in atlx_set_multi()
Datl2.c121 u32 hash_value; in atl2_set_multi() local
142 hash_value = atl2_hash_mc_addr(hw, ha->addr); in atl2_set_multi()
143 atl2_hash_set(hw, hash_value); in atl2_set_multi()
2327 static void atl2_hash_set(struct atl2_hw *hw, u32 hash_value) in atl2_hash_set() argument
2340 hash_reg = (hash_value >> 31) & 0x1; in atl2_hash_set()
2341 hash_bit = (hash_value >> 26) & 0x1F; in atl2_hash_set()
Datl2.h73 static void atl2_hash_set(struct atl2_hw *hw, u32 hash_value);
Datl1.h47 static void atl1_hash_set(struct atl1_hw *hw, u32 hash_value);
Datl1.c560 static void atl1_hash_set(struct atl1_hw *hw, u32 hash_value) in atl1_hash_set() argument
574 hash_reg = (hash_value >> 31) & 0x1; in atl1_hash_set()
575 hash_bit = (hash_value >> 26) & 0x1F; in atl1_hash_set()
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/
Dmac.c248 u32 hash_value, hash_mask; in e1000_hash_mc_addr() local
300 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr()
303 return hash_value; in e1000_hash_mc_addr()
318 u32 hash_value, hash_bit, hash_reg; in e1000e_update_mc_addr_list_generic() local
326 hash_value = e1000_hash_mc_addr(hw, mc_addr_list); in e1000e_update_mc_addr_list_generic()
328 hash_reg = (hash_value >> 5) & (hw->mac.mta_reg_count - 1); in e1000e_update_mc_addr_list_generic()
329 hash_bit = hash_value & 0x1F; in e1000e_update_mc_addr_list_generic()
/Linux-v6.1/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c172 void atl1e_hash_set(struct atl1e_hw *hw, u32 hash_value) in atl1e_hash_set() argument
186 hash_reg = (hash_value >> 31) & 0x1; in atl1e_hash_set()
187 hash_bit = (hash_value >> 26) & 0x1F; in atl1e_hash_set()
Datl1e_hw.h26 void atl1e_hash_set(struct atl1e_hw *hw, u32 hash_value);
Datl1e_main.c272 u32 hash_value; in atl1e_set_multi() local
294 hash_value = atl1e_hash_mc_addr(hw, ha->addr); in atl1e_set_multi()
295 atl1e_hash_set(hw, hash_value); in atl1e_set_multi()
/Linux-v6.1/include/uapi/linux/
Dvirtio_net.h162 __le32 hash_value; member
/Linux-v6.1/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c221 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value) in atl1c_hash_set() argument
235 hash_reg = (hash_value >> 31) & 0x1; in atl1c_hash_set()
236 hash_bit = (hash_value >> 26) & 0x1F; in atl1c_hash_set()
Datl1c_hw.h32 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value);
Datl1c_main.c403 u32 hash_value; in atl1c_set_multi() local
425 hash_value = atl1c_hash_mc_addr(hw, ha->addr); in atl1c_set_multi()
426 atl1c_hash_set(hw, hash_value); in atl1c_set_multi()
/Linux-v6.1/drivers/net/ethernet/intel/e1000/
De1000_hw.c4296 u32 hash_value = 0; in e1000_hash_mc_addr() local
4308 hash_value = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); in e1000_hash_mc_addr()
4312 hash_value = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); in e1000_hash_mc_addr()
4316 hash_value = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); in e1000_hash_mc_addr()
4320 hash_value = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); in e1000_hash_mc_addr()
4324 hash_value &= 0xFFF; in e1000_hash_mc_addr()
4325 return hash_value; in e1000_hash_mc_addr()
De1000_main.c2240 u32 hash_value; in e1000_set_rx_mode() local
2298 hash_value = e1000_hash_mc_addr(hw, ha->addr); in e1000_set_rx_mode()
2299 hash_reg = (hash_value >> 5) & 0x7F; in e1000_set_rx_mode()
2300 hash_bit = hash_value & 0x1F; in e1000_set_rx_mode()
De1000_hw.h355 void e1000_mta_set(struct e1000_hw *hw, u32 hash_value);
/Linux-v6.1/drivers/net/ethernet/microsoft/mana/
Dmana_en.c1112 u32 hash_value; in mana_rx_skb() local
1148 hash_value = cqe->ppi[0].pkt_hash; in mana_rx_skb()
1151 skb_set_hash(skb, hash_value, PKT_HASH_TYPE_L4); in mana_rx_skb()
1153 skb_set_hash(skb, hash_value, PKT_HASH_TYPE_L3); in mana_rx_skb()
/Linux-v6.1/fs/ksmbd/
Dsmb2pdu.c8523 __u8 *hash_value; in smb3_preauth_hash_rsp() local
8531 hash_value = preauth_sess->Preauth_HashValue; in smb3_preauth_hash_rsp()
8533 hash_value = sess->Preauth_HashValue; in smb3_preauth_hash_rsp()
8534 if (!hash_value) in smb3_preauth_hash_rsp()
8538 hash_value); in smb3_preauth_hash_rsp()
/Linux-v6.1/drivers/net/
Dvirtio_net.c1235 skb_set_hash(skb, __le32_to_cpu(hdr_hash->hash_value), rss_hash_type); in virtio_skb_set_hash()