Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c646 static struct mlx5e_frag_page *mlx5e_shampo_hd_to_frag_page(struct mlx5e_rq *rq, int header_index) in mlx5e_shampo_hd_to_frag_page() argument
650 return &rq->mpwqe.shampo->pages[header_index >> MLX5E_SHAMPO_LOG_WQ_HEADER_PER_PAGE]; in mlx5e_shampo_hd_to_frag_page()
653 static u64 mlx5e_shampo_hd_offset(int header_index) in mlx5e_shampo_hd_offset() argument
655 return (header_index & (MLX5E_SHAMPO_WQ_HEADER_PER_PAGE - 1)) << in mlx5e_shampo_hd_offset()
659 static void mlx5e_free_rx_shampo_hd_entry(struct mlx5e_rq *rq, u16 header_index);
851 mlx5e_free_rx_shampo_hd_entry(struct mlx5e_rq *rq, u16 header_index) in mlx5e_free_rx_shampo_hd_entry() argument
855 if (((header_index + 1) & (MLX5E_SHAMPO_WQ_HEADER_PER_PAGE - 1)) == 0) { in mlx5e_free_rx_shampo_hd_entry()
856 struct mlx5e_frag_page *frag_page = mlx5e_shampo_hd_to_frag_page(rq, header_index); in mlx5e_free_rx_shampo_hd_entry()
860 clear_bit(header_index, shampo->bitmap); in mlx5e_free_rx_shampo_hd_entry()
1210 static void *mlx5e_shampo_get_packet_hd(struct mlx5e_rq *rq, u16 header_index) in mlx5e_shampo_get_packet_hd() argument
[all …]