Hello On 3/19/19 1:24 AM, Wolfgang Grandegger wrote: > Hello Dan, > > checkpatch still reports one "line over 80 characters". > Yes I saw that one before I submitted I was not happy with how it was to be resolved. It made the line unreadable I will see how to fix it. <snip> >> + >> + if (priv->is_peripheral) { >> + if (priv->tx_skb) { >> + netdev_err(dev, "hard_xmit called while tx busy\n"); >> + return NETDEV_TX_BUSY; >> + } >> + >> + if (priv->can.state == CAN_STATE_BUS_OFF) { >> + m_can_clean(dev); >> + } else { > > Could you please add a comment here about stopping the queue early. I > would also mention that an improved version may use an array of tx_skbs > to support queueing of outgoing messages. > Ack >> + priv->tx_skb = skb; >> + netif_stop_queue(priv->net); >> + queue_work(priv->tx_wq, &priv->tx_work); >> + } >> + } else { >> + priv->tx_skb = skb; >> + return m_can_tx_handler(priv); >> } >> >> return NETDEV_TX_OK; >> } > > At the next respin, you can then add my > > Acked-by: Wolfgang Grandegger <wg@xxxxxxxxxxxxxx> > > to the Patch 1/1, 1/2 and 1/4. > > Thanks for your contribution and patience. > No worries. I am wrapping up tests on our side and see if there is any customer feedback on this version. So far the tests look fine no changes. I should have v11 out by the end of the week. Latest cangen data for tcan is below. bitrate 500000 dbitrate 2000000 cangen can0 -g 0 -i -f & 11118 transmitted frames (TXF) 11118 received frames (RXF) 0 matched frames (RXMF) 0 % total match ratio (RXMR) 442 frames/s total tx rate (TXR) 442 frames/s total rx rate (RXR) 0 % current match ratio (CRXMR) 117 frames/s current tx rate (CTXR) 123 frames/s current rx rate (CRXR) 0 % max match ratio (MRXMR) 498 frames/s max tx rate (MTXR) 488 frames/s max rx rate (MRXR) 0 current receive list entries (CRCV) 0 maximum receive list entries (MRCV) > Wolfgang > -- ------------------ Dan Murphy