aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorGravatar Yunsheng Lin <linyunsheng@huawei.com> 2023-10-20 17:59:49 +0800
committerGravatar Jakub Kicinski <kuba@kernel.org> 2023-10-23 19:14:48 -0700
commit09d96ee5674a0eaa800c664353756ecc45c4a87f (patch)
tree6ae2f845372f7a87f7addb544bd1a410d17ef018 /drivers/net/ethernet/intel
parentpage_pool: unify frag_count handling in page_pool_is_last_frag() (diff)
downloadlinux-09d96ee5674a0eaa800c664353756ecc45c4a87f.tar.gz
linux-09d96ee5674a0eaa800c664353756ecc45c4a87f.tar.bz2
linux-09d96ee5674a0eaa800c664353756ecc45c4a87f.zip
page_pool: remove PP_FLAG_PAGE_FRAG
PP_FLAG_PAGE_FRAG is not really needed after pp_frag_count handling is unified and page_pool_alloc_frag() is supported in 32-bit arch with 64-bit DMA, so remove it. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> CC: Lorenzo Bianconi <lorenzo@kernel.org> CC: Alexander Duyck <alexander.duyck@gmail.com> CC: Liang Chen <liangchen.linux@gmail.com> CC: Alexander Lobakin <aleksander.lobakin@intel.com> Link: https://lore.kernel.org/r/20231020095952.11055-3-linyunsheng@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r--drivers/net/ethernet/intel/idpf/idpf_txrx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/idpf/idpf_txrx.c b/drivers/net/ethernet/intel/idpf/idpf_txrx.c
index 58c5412d3173..5e1ef70d54fe 100644
--- a/drivers/net/ethernet/intel/idpf/idpf_txrx.c
+++ b/drivers/net/ethernet/intel/idpf/idpf_txrx.c
@@ -595,9 +595,6 @@ static struct page_pool *idpf_rx_create_page_pool(struct idpf_queue *rxbufq)
.offset = 0,
};
- if (rxbufq->rx_buf_size == IDPF_RX_BUF_2048)
- pp.flags |= PP_FLAG_PAGE_FRAG;
-
return page_pool_create(&pp);
}