diff options
author | Alexander Lobakin <aleksander.lobakin@intel.com> | 2024-08-29 15:33:38 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-09-03 12:36:43 +0300 |
commit | 05c1280a2bcfca187fe7fa90bb240602cf54af0a (patch) | |
tree | 8d8750608ebfc586e395fb7ceb774fd535d8e3f1 /Documentation/networking/switchdev.rst | |
parent | 00d066a4d4edbe559ba6c35153da71d4b2b8a383 (diff) | |
download | linux-05c1280a2bcfca187fe7fa90bb240602cf54af0a.tar.xz |
netdev_features: convert NETIF_F_NETNS_LOCAL to dev->netns_local
"Interface can't change network namespaces" is rather an attribute,
not a feature, and it can't be changed via Ethtool.
Make it a "cold" private flag instead of a netdev_feature and free
one more bit.
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation/networking/switchdev.rst')
-rw-r--r-- | Documentation/networking/switchdev.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/networking/switchdev.rst b/Documentation/networking/switchdev.rst index 758f1dae3fce..f355f0166f1b 100644 --- a/Documentation/networking/switchdev.rst +++ b/Documentation/networking/switchdev.rst @@ -137,10 +137,10 @@ would be sub-port 0 on port 1 on switch 1. Port Features ^^^^^^^^^^^^^ -NETIF_F_NETNS_LOCAL +dev->netns_local If the switchdev driver (and device) only supports offloading of the default -network namespace (netns), the driver should set this feature flag to prevent +network namespace (netns), the driver should set this private flag to prevent the port netdev from being moved out of the default netns. A netns-aware driver/device would not set this flag and be responsible for partitioning hardware to preserve netns containment. This means hardware cannot forward |