Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1963 u32 data_bcnt, u32 data_offset) in mlx5e_shampo_fill_skb_data() argument
1969 u32 pg_consumed_bytes = min_t(u32, PAGE_SIZE - data_offset, data_bcnt); in mlx5e_shampo_fill_skb_data()
1975 data_bcnt -= pg_consumed_bytes; in mlx5e_shampo_fill_skb_data()
1978 } while (data_bcnt); in mlx5e_shampo_fill_skb_data()
2270 mlx5e_hw_gro_skb_has_enough_space(struct sk_buff *skb, u16 data_bcnt) in mlx5e_hw_gro_skb_has_enough_space() argument
2274 return PAGE_SIZE * nr_frags + data_bcnt <= GRO_LEGACY_MAX_SIZE; in mlx5e_hw_gro_skb_has_enough_space()
2279 u16 data_bcnt = mpwrq_get_cqe_byte_cnt(cqe) - cqe->shampo.header_size; in mlx5e_handle_rx_cqe_mpwrq_shampo() local
2310 if (*skb && (!match || !(mlx5e_hw_gro_skb_has_enough_space(*skb, data_bcnt)))) { in mlx5e_handle_rx_cqe_mpwrq_shampo()
2340 if (data_bcnt) { in mlx5e_handle_rx_cqe_mpwrq_shampo()
2344 mlx5e_shampo_fill_skb_data(*skb, rq, frag_page, data_bcnt, data_offset); in mlx5e_handle_rx_cqe_mpwrq_shampo()
[all …]