Re: [RESEND PATCH net-next 2/4] net: hsr: add offloading support

2021-02-03 Thread George McCollister
On Mon, Feb 1, 2021 at 9:23 AM Vladimir Oltean wrote: [snip] > > @@ -357,6 +367,7 @@ static void hsr_forward_do(struct hsr_frame_info *frame) > > { > > struct hsr_port *port; > > struct sk_buff *skb; > > + bool sent = false; > > > > hsr_for_each_port(frame->port_rcv->hsr, po

Re: [RESEND PATCH net-next 2/4] net: hsr: add offloading support

2021-02-01 Thread George McCollister
On Mon, Feb 1, 2021 at 9:23 AM Vladimir Oltean wrote: > > On Mon, Feb 01, 2021 at 08:05:01AM -0600, George McCollister wrote: > > Add support for offloading of HSR/PRP (IEC 62439-3) tag insertion > > tag removal, duplicate generation and forwarding. > > > > Use a new netdev_priv_flag IFF_HSR to in

Re: [RESEND PATCH net-next 2/4] net: hsr: add offloading support

2021-02-01 Thread Vladimir Oltean
On Mon, Feb 01, 2021 at 08:05:01AM -0600, George McCollister wrote: > Add support for offloading of HSR/PRP (IEC 62439-3) tag insertion > tag removal, duplicate generation and forwarding. > > Use a new netdev_priv_flag IFF_HSR to indicate that a device is an HSR > device so DSA can tell them apart

[RESEND PATCH net-next 2/4] net: hsr: add offloading support

2021-02-01 Thread George McCollister
Add support for offloading of HSR/PRP (IEC 62439-3) tag insertion tag removal, duplicate generation and forwarding. Use a new netdev_priv_flag IFF_HSR to indicate that a device is an HSR device so DSA can tell them apart from other devices in dsa_slave_changeupper. For HSR, insertion involves the