Re: [PATCH 3/4] net: ti: am65-cpsw-nuss: Add switchdev support

2020-12-03 Thread Vignesh Raghavendra
On 11/30/20 10:50 PM, Andrew Lunn wrote: >> +static int am65_cpsw_port_stp_state_set(struct am65_cpsw_port *port, >> +struct switchdev_trans *trans, u8 state) >> +{ >> +struct am65_cpsw_common *cpsw = port->common; >> +u8 cpsw_state; >> +int ret =

Re: [PATCH 3/4] net: ti: am65-cpsw-nuss: Add switchdev support

2020-11-30 Thread Andrew Lunn
> +static int am65_cpsw_port_stp_state_set(struct am65_cpsw_port *port, > + struct switchdev_trans *trans, u8 state) > +{ > + struct am65_cpsw_common *cpsw = port->common; > + u8 cpsw_state; > + int ret = 0; > + > + if