From: Florian Fainelli <f.fainelli@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, vivien.didelot@savoirfairelinux.com,
andrew@lunn.ch, Florian Fainelli <f.fainelli@gmail.com>
Subject: [PATCH net 3/3] Documentation: networking: dsa: Describe port_vlan_filtering
Date: Mon, 23 May 2016 21:32:17 -0700 [thread overview]
Message-ID: <1464064337-8743-4-git-send-email-f.fainelli@gmail.com> (raw)
In-Reply-To: <1464064337-8743-1-git-send-email-f.fainelli@gmail.com>
Described what the port_vlan_filtering function is supposed to
accomplish.
Fixes: fb2dabad69f0 ("net: dsa: support VLAN filtering switchdev attr")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
Documentation/networking/dsa/dsa.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/networking/dsa/dsa.txt b/Documentation/networking/dsa/dsa.txt
index 411b57fd73aa..a42fd2ec32a5 100644
--- a/Documentation/networking/dsa/dsa.txt
+++ b/Documentation/networking/dsa/dsa.txt
@@ -535,6 +535,12 @@ Bridge layer
Bridge VLAN filtering
---------------------
+- port_vlan_filtering: bridge layer function invoked when the bridge gets
+ configured for turning on or off VLAN filtering. If nothing specific needs to
+ be done at the hardware level, 0 must be returned. When VLAN filtering is
+ turned on, the hardware must be programmed with rejecting non-802.1Q frames,
+ when turned off the switch must accept any 802.1Q frames.
+
- port_vlan_prepare: bridge layer function invoked when the bridge prepares the
configuration of a VLAN on the given port. If the operation is not supported
by the hardware, this function should return -EOPNOTSUPP to inform the bridge
--
2.7.4
next prev parent reply other threads:[~2016-05-24 4:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-24 4:32 [PATCH net 0/3] Documentation: dsa: misc fixes Florian Fainelli
2016-05-24 4:32 ` [PATCH net 1/3] Documentation: networking: dsa: Remove poll_link description Florian Fainelli
2016-05-24 14:16 ` Vivien Didelot
2016-05-24 4:32 ` [PATCH net 2/3] Documentation: networking: dsa: Remove priv_size description Florian Fainelli
2016-05-24 14:17 ` Vivien Didelot
2016-05-24 4:32 ` Florian Fainelli [this message]
2016-05-24 14:32 ` [PATCH net 3/3] Documentation: networking: dsa: Describe port_vlan_filtering Vivien Didelot
2016-05-24 15:09 ` Ido Schimmel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1464064337-8743-4-git-send-email-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@savoirfairelinux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).