]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'devices-always-netif_f_lltx'
authorPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 08:30:36 +0000 (10:30 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 2 May 2022 08:30:36 +0000 (10:30 +0200)
commit16be22e20a5cfe43f0c4199159c47b6d194ae02b
treeaac9db6af288e593edb6fb6355c6c9d6a1e5dbc1
parent56500f9130338e05e5d74e8af4e90c6b10c03467
parent84098bbb99d70f1c95760ce396afe8f2542cda54
Merge branch 'devices-always-netif_f_lltx'

Peilin Ye says:

====================
devices always NETIF_F_LLTX

v1: https://lore.kernel.org/netdev/cover.1650580763.git.peilin.ye@bytedance.com/

change since v1:
  - deleted "depends on patch..." in [1/2]'s commit message

This patchset depends on these fixes [1], which has been merged into
net-next.  Since o_seqno is now atomic_t, we can always turn on
NETIF_F_LLTX for [IP6]GRE[TAP] devices, since we no longer need the TX
lock (&txq->_xmit_lock).

We could probably do the same thing to [IP6]ERSPAN devices as well, but
I'm not familiar with them yet.  For example, ERSPAN devices are
initialized as |= GRE_FEATURES in erspan_tunnel_init(), but I don't see
IP6ERSPAN devices being initialized as |= GRE6_FEATURES.  Where should we
initialize IP6ERSPAN devices' ->features?  Please suggest if I'm missing
something, thanks!

[1] https://lore.kernel.org/netdev/cover.1650575919.git.peilin.ye@bytedance.com/
====================

Link: https://lore.kernel.org/r/cover.1651207788.git.peilin.ye@bytedance.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>