[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9B0331B6EBBD0E4684FBFAEDA55776F918906532@HASMSX110.ger.corp.intel.com>
Date: Fri, 23 Jan 2015 11:24:43 +0000
From: "Rosen, Rami" <rami.rosen@...el.com>
To: "roopa@...ulusnetworks.com" <roopa@...ulusnetworks.com>,
"jiri@...nulli.us" <jiri@...nulli.us>,
"sfeldma@...il.com" <sfeldma@...il.com>,
"jhs@...atatu.com" <jhs@...atatu.com>,
"bcrl@...ck.org" <bcrl@...ck.org>, "tgraf@...g.ch" <tgraf@...g.ch>,
"john.fastabend@...il.com" <john.fastabend@...il.com>,
"stephen@...workplumber.org" <stephen@...workplumber.org>,
"vyasevic@...hat.com" <vyasevic@...hat.com>,
"Arad, Ronen" <ronen.arad@...el.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>,
"shm@...ulusnetworks.com" <shm@...ulusnetworks.com>,
"gospo@...ulusnetworks.com" <gospo@...ulusnetworks.com>
Subject: RE: [PATCH net-next v3 2/5] swdevice: add new api to set and del
bridge port attributes
Hi,
Some trivial comments:
+
+/**
+ * netdev_switch_port_bridge_setlink - Notify switch device port of bridge
+ * port attributes
+ *
+ * @dev: port device
+ * @nlh: netlink msg with bridge port attributes
+ *
+ * Notify switch device port of bridge port attributes
+ */
+int netdev_switch_port_bridge_setlink(struct net_device *dev,
+ struct nlmsghdr *nlh, u16 flags) {
- Missing @flags after @nlh above.
- Wouldn't "Notify switch device port of setting bridge port attributes" or "Notify switch device port of bridge port attributes set" be
better here (also in terms of being consistent with the description of the netdev_switch_port_bridge_dellink() method later in this patch)?
+/**
+ * netdev_switch_port_bridge_dellink - Notify switch device port of bridge
+ * attribute delete
+ *
+ * @dev: port device
+ * @nlh: netlink msg with bridge port attributes
+ *
+ * Notify switch device port of bridge port attribute delete
+ */
+int netdev_switch_port_bridge_dellink(struct net_device *dev,
+ struct nlmsghdr *nlh, u16 flags) {
- Again, missing @flags after @nlh for this method also.
Rami Rosen
Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists