Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ixgb/
A Dixgb_hw.c412 u32 hash_value; in ixgb_mc_addr_list_update() local
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()
508 hash_value &= 0xFFF; in ixgb_hash_mc_addr()
509 return hash_value; in ixgb_hash_mc_addr()
520 u32 hash_value) in ixgb_mta_set() argument
533 hash_reg = (hash_value >> 5) & 0x7F; in ixgb_mta_set()
[all …]
/linux/drivers/net/ethernet/intel/igbvf/
A 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/drivers/net/ethernet/intel/igc/
A 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/drivers/net/ethernet/ti/
A Ddavinci_emac.c619 u32 hash_value = hash_get(mac_addr); in emac_hash_add() local
633 if (hash_value < 32) { in emac_hash_add()
634 hash_bit = BIT(hash_value); in emac_hash_add()
637 hash_bit = BIT((hash_value - 32)); in emac_hash_add()
643 ++priv->multicast_hash_cnt[hash_value]; in emac_hash_add()
658 u32 hash_value; in emac_hash_del() local
661 hash_value = hash_get(mac_addr); in emac_hash_del()
664 --priv->multicast_hash_cnt[hash_value]; in emac_hash_del()
672 if (hash_value < 32) { in emac_hash_del()
673 hash_bit = BIT(hash_value); in emac_hash_del()
[all …]
/linux/drivers/net/ethernet/intel/igb/
A 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()
A De1000_mac.h44 void igb_mta_set(struct e1000_hw *hw, u32 hash_value);
/linux/drivers/net/ethernet/atheros/atlx/
A 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()
A 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()
A Datl2.h73 static void atl2_hash_set(struct atl2_hw *hw, u32 hash_value);
A Datl1.h47 static void atl1_hash_set(struct atl1_hw *hw, u32 hash_value);
A 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/drivers/net/ethernet/intel/e1000e/
A 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/drivers/net/ethernet/atheros/atl1e/
A 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()
A Datl1e_hw.h26 void atl1e_hash_set(struct atl1e_hw *hw, u32 hash_value);
A 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/include/uapi/linux/
A Dvirtio_net.h162 __le32 hash_value; member
/linux/drivers/net/ethernet/atheros/atl1c/
A 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()
A Datl1c_hw.h32 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value);
A 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/drivers/net/ethernet/intel/e1000/
A 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()
A De1000_main.c2239 u32 hash_value; in e1000_set_rx_mode() local
2297 hash_value = e1000_hash_mc_addr(hw, ha->addr); in e1000_set_rx_mode()
2298 hash_reg = (hash_value >> 5) & 0x7F; in e1000_set_rx_mode()
2299 hash_bit = hash_value & 0x1F; in e1000_set_rx_mode()
A De1000_hw.h355 void e1000_mta_set(struct e1000_hw *hw, u32 hash_value);
/linux/drivers/net/ethernet/microsoft/mana/
A Dmana_en.c918 u32 hash_value; in mana_rx_skb() local
949 hash_value = cqe->ppi[0].pkt_hash; in mana_rx_skb()
952 skb_set_hash(skb, hash_value, PKT_HASH_TYPE_L4); in mana_rx_skb()
954 skb_set_hash(skb, hash_value, PKT_HASH_TYPE_L3); in mana_rx_skb()
/linux/fs/ksmbd/
A Dsmb2pdu.c8431 __u8 *hash_value; in smb3_preauth_hash_rsp() local
8439 hash_value = preauth_sess->Preauth_HashValue; in smb3_preauth_hash_rsp()
8441 hash_value = sess->Preauth_HashValue; in smb3_preauth_hash_rsp()
8442 if (!hash_value) in smb3_preauth_hash_rsp()
8446 hash_value); in smb3_preauth_hash_rsp()

Completed in 121 milliseconds