/linux-6.1.9/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 20 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-6.1.9/drivers/net/ethernet/intel/igbvf/ |
D | vf.c | 170 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-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_mac.c | 790 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-6.1.9/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 618 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-6.1.9/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 393 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()
|
D | e1000_mac.h | 44 void igb_mta_set(struct e1000_hw *hw, u32 hash_value);
|
/linux-6.1.9/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 119 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()
|
D | atl2.c | 121 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()
|
D | atl2.h | 73 static void atl2_hash_set(struct atl2_hw *hw, u32 hash_value);
|
D | atl1.h | 47 static void atl1_hash_set(struct atl1_hw *hw, u32 hash_value);
|
D | atl1.c | 560 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-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 248 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-6.1.9/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 172 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()
|
D | atl1e_hw.h | 26 void atl1e_hash_set(struct atl1e_hw *hw, u32 hash_value);
|
D | atl1e_main.c | 272 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-6.1.9/include/uapi/linux/ |
D | virtio_net.h | 162 __le32 hash_value; member
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 221 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()
|
D | atl1c_hw.h | 32 void atl1c_hash_set(struct atl1c_hw *hw, u32 hash_value);
|
D | atl1c_main.c | 403 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-6.1.9/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 4296 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()
|
D | e1000_main.c | 2240 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()
|
D | e1000_hw.h | 355 void e1000_mta_set(struct e1000_hw *hw, u32 hash_value);
|
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/ |
D | mana_en.c | 1112 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-6.1.9/fs/ksmbd/ |
D | smb2pdu.c | 8526 __u8 *hash_value; in smb3_preauth_hash_rsp() local 8534 hash_value = preauth_sess->Preauth_HashValue; in smb3_preauth_hash_rsp() 8536 hash_value = sess->Preauth_HashValue; in smb3_preauth_hash_rsp() 8537 if (!hash_value) in smb3_preauth_hash_rsp() 8541 hash_value); in smb3_preauth_hash_rsp()
|
/linux-6.1.9/drivers/net/ |
D | virtio_net.c | 1235 skb_set_hash(skb, __le32_to_cpu(hdr_hash->hash_value), rss_hash_type); in virtio_skb_set_hash()
|