summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorQingfang Deng <dqfext@gmail.com>2026-01-29 09:29:02 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-02-05 10:06:27 +0100
commit42fcb213e58a7da33d5d2d7517b4e521025c68c3 (patch)
treee085dceb59383429d23f770d65f917f80aa8afef /include/linux
parent3e5aa52b45c73470092f00d219e947f32cce340c (diff)
ppp: enable TX scatter-gather
PPP channels using chan->direct_xmit prepend the PPP header to a skb and call dev_queue_xmit() directly. In this mode the skb does not need to be linear, but the PPP netdevice currently does not advertise scatter-gather features, causing unnecessary linearization and preventing GSO. Enable NETIF_F_SG and NETIF_F_FRAGLIST on PPP devices. In case a linear buffer is required (PPP compression, multilink, and channels without direct_xmit), call skb_linearize() explicitly. Signed-off-by: Qingfang Deng <dqfext@gmail.com> Link: https://patch.msgid.link/20260129012902.941-1-dqfext@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions