@@ -157,7 +157,9 @@ struct fcoe_ctlr {
157157
158158/**
159159 * fcoe_ctlr_priv() - Return the private data from a fcoe_ctlr
160- * @cltr: The fcoe_ctlr whose private data will be returned
160+ * @ctlr: The fcoe_ctlr whose private data will be returned
161+ *
162+ * Returns: pointer to the private data
161163 */
162164static inline void * fcoe_ctlr_priv (const struct fcoe_ctlr * ctlr )
163165{
@@ -174,7 +176,6 @@ static inline void *fcoe_ctlr_priv(const struct fcoe_ctlr *ctlr)
174176 * struct fcoe_fcf - Fibre-Channel Forwarder
175177 * @list: list linkage
176178 * @event_work: Work for FC Transport actions queue
177- * @event: The event to be processed
178179 * @fip: The controller that the FCF was discovered on
179180 * @fcf_dev: The associated fcoe_fcf_device instance
180181 * @time: system time (jiffies) when an advertisement was last received
@@ -188,6 +189,7 @@ static inline void *fcoe_ctlr_priv(const struct fcoe_ctlr *ctlr)
188189 * @flogi_sent: current FLOGI sent to this FCF
189190 * @flags: flags received from advertisement
190191 * @fka_period: keep-alive period, in jiffies
192+ * @fd_flags: no need for FKA from ENode
191193 *
192194 * A Fibre-Channel Forwarder (FCF) is the entity on the Ethernet that
193195 * passes FCoE frames on to an FC fabric. This structure represents
@@ -222,6 +224,7 @@ struct fcoe_fcf {
222224
223225/**
224226 * struct fcoe_rport - VN2VN remote port
227+ * @rdata: libfc remote port private data
225228 * @time: time of create or last beacon packet received from node
226229 * @fcoe_len: max FCoE frame size, not including VLAN or Ethernet headers
227230 * @flags: flags from probe or claim
@@ -266,8 +269,10 @@ void fcoe_get_lesb(struct fc_lport *, struct fc_els_lesb *);
266269void fcoe_ctlr_get_lesb (struct fcoe_ctlr_device * ctlr_dev );
267270
268271/**
269- * is_fip_mode() - returns true if FIP mode selected.
272+ * is_fip_mode() - test if FIP mode selected.
270273 * @fip: FCoE controller.
274+ *
275+ * Returns: %true if FIP mode is selected
271276 */
272277static inline bool is_fip_mode (struct fcoe_ctlr * fip )
273278{
@@ -318,9 +323,10 @@ struct fcoe_transport {
318323 * @kthread: The thread context (used by bnx2fc)
319324 * @work: The work item (used by fcoe)
320325 * @fcoe_rx_list: The queue of pending packets to process
321- * @page: The memory page for calculating frame trailer CRCs
326+ * @crc_eof_page: The memory page for calculating frame trailer CRCs
322327 * @crc_eof_offset: The offset into the CRC page pointing to available
323328 * memory for a new trailer
329+ * @lock: local lock for members of this struct
324330 */
325331struct fcoe_percpu_s {
326332 struct task_struct * kthread ;
@@ -343,7 +349,8 @@ struct fcoe_percpu_s {
343349 * @timer: The queue timer
344350 * @destroy_work: Handle for work context
345351 * (to prevent RTNL deadlocks)
346- * @data_srt_addr: Source address for data
352+ * @data_src_addr: Source address for data
353+ * @get_netdev: function that returns a &net_device from @lport
347354 *
348355 * An instance of this structure is to be allocated along with the
349356 * Scsi_Host and libfc fc_lport structures.
@@ -364,6 +371,8 @@ struct fcoe_port {
364371/**
365372 * fcoe_get_netdev() - Return the net device associated with a local port
366373 * @lport: The local port to get the net device from
374+ *
375+ * Returns: the &net_device associated with this @lport
367376 */
368377static inline struct net_device * fcoe_get_netdev (const struct fc_lport * lport )
369378{
@@ -383,8 +392,10 @@ void fcoe_fcf_get_selected(struct fcoe_fcf_device *);
383392void fcoe_ctlr_set_fip_mode (struct fcoe_ctlr_device * );
384393
385394/**
386- * struct netdev_list
387- * A mapping from netdevice to fcoe_transport
395+ * struct fcoe_netdev_mapping - A mapping from &net_device to &fcoe_transport
396+ * @list: list linkage of the mappings
397+ * @netdev: the &net_device
398+ * @ft: the fcoe_transport associated with @netdev
388399 */
389400struct fcoe_netdev_mapping {
390401 struct list_head list ;
0 commit comments