Re: [PATCH v1 net-next 2/3] net: dsa: felix: Configure Time-Aware Scheduler via taprio offload

2020-05-11 Thread Vladimir Oltean
On Tue, 12 May 2020 at 02:54, David Miller wrote: > > From: Xiaoliang Yang > Date: Mon, 11 May 2020 13:43:31 +0800 > > > @@ -710,7 +714,7 @@ static void felix_port_policer_del(struct dsa_switch > > *ds, int port) > > ocelot_port_policer_del(ocelot, port); > > } > > > > -static const

Re: [PATCH v1 net-next 2/3] net: dsa: felix: Configure Time-Aware Scheduler via taprio offload

2020-05-11 Thread David Miller
From: Xiaoliang Yang Date: Mon, 11 May 2020 13:43:31 +0800 > @@ -710,7 +714,7 @@ static void felix_port_policer_del(struct dsa_switch *ds, > int port) > ocelot_port_policer_del(ocelot, port); > } > > -static const struct dsa_switch_ops felix_switch_ops = { > +static struct

[PATCH v1 net-next 2/3] net: dsa: felix: Configure Time-Aware Scheduler via taprio offload

2020-05-10 Thread Xiaoliang Yang
Ocelot VSC9959 switch supports time-based egress shaping in hardware according to IEEE 802.1Qbv. This patch add support for TAS configuration on egress port of VSC9959 switch. Felix driver is an instance of Ocelot family, with a DSA front-end. The patch uses tc taprio hardware offload to setup