[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1426892453.32382.12.camel@decadent.org.uk>
Date: Fri, 20 Mar 2015 23:00:53 +0000
From: Ben Hutchings <ben@...adent.org.uk>
To: sfeldma@...il.com
Cc: netdev@...r.kernel.org, jiri@...nulli.us,
roopa@...ulusnetworks.com, simon.horman@...ronome.com
Subject: Re: [PATCH net-next v2 1/3] switchdev: add swdev ops
On Sun, 2015-03-15 at 18:45 -0700, sfeldma@...il.com wrote:
[...]
> +/**
> + * struct switchdev_ops - switchdev operations
> + *
> + * int (*swdev_parent_id_get)(struct net_device *dev,
> + * struct netdev_phys_item_id *psid);
> + * Called to get an ID of the switch chip this port is part of.
> + * If driver implements this, it indicates that it represents a port
> + * of a switch chip.
> + *
> + * int (*swdev_port_stp_update)(struct net_device *dev, u8 state);
> + * Called to notify switch device port of bridge port STP
> + * state change.
> + *
> + * int (*swdev_fib_ipv4_add)(struct net_device *dev, __be32 dst,
> + * int dst_len, struct fib_info *fi,
> + * u8 tos, u8 type, u32 nlflags, u32 tb_id);
> + * Called to add/modify IPv4 route to switch device.
> + *
> + * int (*swdev_fib_ipv4_del)(struct net_device *dev, __be32 dst,
> + * int dst_len, struct fib_info *fi,
> + * u8 tos, u8 type, u32 tb_id);
> + * Called to delete IPv4 route from switch device.
[...]
This isn't correct kernel-doc syntax.
Ben.
--
Ben Hutchings
All extremists should be taken out and shot.
Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)
Powered by blists - more mailing lists