OSDN Git Service

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)
commit0f0c0452bbd46d713eeb8968f5f40ccc257f85eb
treeaac9db6af288e593edb6fb6355c6c9d6a1e5dbc1
parent6e28f56c0d1d976a4940d13d7f27e446ce65cd0a
parentb11ebf2ca2c118ed8767fc37a151d5c70844617d
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>