On 29 December 2015 at 14:02, Rafał Miłecki wrote:
> @@ -595,6 +614,33 @@ swconfig_parse_ports(struct sk_buff *msg, struct nlattr
> *head,
> }
>
> static int
> +swconfig_parse_link(struct sk_buff *msg, struct nlattr *nla,
> + struct switch_port_link *link)
> +{
> + struc
Some switches can force link speed for a port. Let's add API that will
allow drivers to export this feature.
Signed-off-by: Rafał Miłecki
---
.../linux/generic/files/drivers/net/phy/swconfig.c | 63 +-
target/linux/generic/files/include/linux/switch.h | 2 +
2 files changed