Home
last modified time | relevance | path

Searched refs:eth_val (Results 1 – 4 of 4) sorted by relevance

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c297 struct ethhdr *eth_val = &fs->h_u.ether_spec; in parse_ether() local
299 mask_spec((u8 *)eth_mask, (u8 *)eth_val, sizeof(*eth_mask)); in parse_ether()
301 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); in parse_ether()
303 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, dmac_47_16), eth_val->h_dest); in parse_ether()
305 MLX5E_FTE_SET(headers_v, ethertype, ntohs(eth_val->h_proto)); in parse_ether()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c297 struct ethhdr *eth_val = &fs->h_u.ether_spec; in parse_ether() local
299 mask_spec((u8 *)eth_mask, (u8 *)eth_val, sizeof(*eth_mask)); in parse_ether()
301 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); in parse_ether()
303 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, dmac_47_16), eth_val->h_dest); in parse_ether()
305 MLX5E_FTE_SET(headers_v, ethertype, ntohs(eth_val->h_proto)); in parse_ether()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c297 struct ethhdr *eth_val = &fs->h_u.ether_spec; in parse_ether() local
299 mask_spec((u8 *)eth_mask, (u8 *)eth_val, sizeof(*eth_mask)); in parse_ether()
301 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); in parse_ether()
303 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, dmac_47_16), eth_val->h_dest); in parse_ether()
305 MLX5E_FTE_SET(headers_v, ethertype, ntohs(eth_val->h_proto)); in parse_ether()
/dports/emulators/dynamips-community/dynamips-0.2.17/common/
H A Ddev_gt.c2377 m_uint64_t eth_val; in gt_eth_hash_lookup() local
2382 eth_val = (m_uint64_t)addr->eth_addr_byte[0] << 3; in gt_eth_hash_lookup()
2383 eth_val |= (m_uint64_t)addr->eth_addr_byte[1] << 11; in gt_eth_hash_lookup()
2384 eth_val |= (m_uint64_t)addr->eth_addr_byte[2] << 19; in gt_eth_hash_lookup()
2385 eth_val |= (m_uint64_t)addr->eth_addr_byte[3] << 27; in gt_eth_hash_lookup()
2386 eth_val |= (m_uint64_t)addr->eth_addr_byte[4] << 35; in gt_eth_hash_lookup()
2387 eth_val |= (m_uint64_t)addr->eth_addr_byte[5] << 43; in gt_eth_hash_lookup()
2418 if ((*entry & GT_HTE_SKIP) || ((*entry & GT_HTE_ADDR_MASK) != eth_val)) in gt_eth_hash_lookup()