linux-stable/drivers/net
haozhe chang 36bd28c1cb wwan: core: Support slicing in port TX flow of WWAN subsystem
wwan_port_fops_write inputs the SKB parameter to the TX callback of
the WWAN device driver. However, the WWAN device (e.g., t7xx) may
have an MTU less than the size of SKB, causing the TX buffer to be
sliced and copied once more in the WWAN device driver.

This patch implements the slicing in the WWAN subsystem and gives
the WWAN devices driver the option to slice(by frag_len) or not. By
doing so, the additional memory copy is reduced.

Meanwhile, this patch gives WWAN devices driver the option to reserve
headroom in fragments for the device-specific metadata.

Signed-off-by: haozhe chang <haozhe.chang@mediatek.com>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Link: https://lore.kernel.org/r/20230316095826.181904-1-haozhe.chang@mediatek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-03-17 22:38:31 -07:00
..
appletalk
arcnet
bonding bonding: restore bond's IFF_SLAVE flag if a non-eth dev enslave fails 2023-03-17 07:56:41 +00:00
caif
can net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
dsa net: dsa: mv88e6xxx: mask apparently non-existing phys during probing 2023-03-17 22:31:42 -07:00
ethernet net: macb: Increase halt timeout to accommodate 10Mbps link 2023-03-17 22:35:21 -07:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154 net: ieee802154: ca8210: drop owner from driver 2023-03-15 08:11:03 +00:00
ipa net: ipa: fix some register validity checks 2023-03-16 21:33:18 -07:00
ipvlan ipvlan: Make skb->skb_iif track skb->dev for l3s mode 2023-03-10 21:27:15 -08:00
mctp
mdio net: Use of_property_present() for testing DT property presence 2023-03-13 17:07:52 -07:00
netdevsim
pcs net: pcs: lynx: don't print an_enabled in pcs_get_state() 2023-03-17 08:19:03 +00:00
phy Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-17 16:29:25 -07:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull 2023-03-16 17:27:56 -07:00
vmxnet3
vxlan vxlan: Enable MDB support 2023-03-17 08:05:50 +00:00
wan net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
wireguard cpumask: fix incorrect cpumask scanning result checks 2023-03-06 12:15:13 -08:00
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-17 16:29:25 -07:00
wwan wwan: core: Support slicing in port TX flow of WWAN subsystem 2023-03-17 22:38:31 -07:00
xen-netback Including fixes from wireless and netfilter. 2023-02-27 14:05:08 -08:00
amt.c
bareudp.c
dummy.c
eql.c
geneve.c net: geneve: set IFF_POINTOPOINT with IFLA_GENEVE_INNER_PROTO_INHERIT 2023-03-15 08:12:04 +00:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c tap: add support for IOCB_NOWAIT 2023-03-10 16:48:32 -08:00
tun.c tun: flag the device as supporting FMODE_NOWAIT 2023-03-10 16:47:22 -08:00
veth.c veth: Fix use after free in XDP_REDIRECT 2023-03-15 21:11:06 -07:00
virtio_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-17 16:29:25 -07:00
vrf.c
vsockmon.c
xen-netfront.c