diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2023-04-17 23:53:22 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-04-18 11:10:58 -0700 |
commit | 8267fc71abb2dc47338570e56dd3473a58313fce (patch) | |
tree | a9ced9542b8de0cb6808dc793db60a1c35f88f44 /scripts/generate_rust_analyzer.py | |
parent | c730fce7c70cfce831f4bdc9e49880ba1f61a092 (diff) | |
download | linux-8267fc71abb2dc47338570e56dd3473a58313fce.tar.gz linux-8267fc71abb2dc47338570e56dd3473a58313fce.tar.bz2 linux-8267fc71abb2dc47338570e56dd3473a58313fce.zip |
veth: take into account peer device for NETDEV_XDP_ACT_NDO_XMIT xdp_features flag
For veth pairs, NETDEV_XDP_ACT_NDO_XMIT is supported by the current
device if the peer one is running a XDP program or if it has GRO enabled.
Fix the xdp_features flags reporting considering peer device and not
current one for NETDEV_XDP_ACT_NDO_XMIT.
Fixes: fccca038f300 ("veth: take into account device reconfiguration for xdp_features flag")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/4f1ca6f6f6b42ae125bfdb5c7782217c83968b2e.1681767806.git.lorenzo@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions