linux-stable/drivers/net/ethernet/chelsio/cxgb3
Yunsheng Lin b51f4113eb net: introduce and use skb_frag_fill_page_desc()
Most users use __skb_frag_set_page()/skb_frag_off_set()/
skb_frag_size_set() to fill the page desc for a skb frag.

Introduce skb_frag_fill_page_desc() to do that.

net/bpf/test_run.c does not call skb_frag_off_set() to
set the offset, "copy_from_user(page_address(page), ...)"
and 'shinfo' being part of the 'data' kzalloced in
bpf_test_init() suggest that it is assuming offset to be
initialized as zero, so call skb_frag_fill_page_desc()
with offset being zero for this case.

Also, skb_frag_set_page() is not used anymore, so remove
it.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-13 19:47:56 +01:00
..
adapter.h
ael1002.c
aq100x.c
common.h
cxgb3_ctl_defs.h
cxgb3_defs.h
cxgb3_ioctl.h
cxgb3_main.c net: cxgb3_main: disable napi when bind qsets failed in cxgb_up() 2022-11-09 18:32:20 -08:00
cxgb3_offload.c net: cxgb3: Fix comment typo 2022-08-12 11:28:19 +01:00
cxgb3_offload.h
firmware_exports.h
l2t.c
l2t.h
Makefile
mc5.c
regs.h
sge.c net: introduce and use skb_frag_fill_page_desc() 2023-05-13 19:47:56 +01:00
sge_defs.h
t3_cpl.h
t3_hw.c
t3cdev.h
version.h
vsc8211.c
xgmac.c