Re: avoid ifq_deq_begin,commit,rollback in sxie(4/armv7)

2017-11-20 Thread Eduard Nicodei
Hi David, I don't have your original message to reply to so I apologize if this doesn't appear as a reply to it. I tried your patch (it worked), but I noticed a curious thing: Linux uses both FIFOs but they only use the first data register [1]. So I slightly changed your patch to replicate the

avoid ifq_deq_begin,commit,rollback in sxie(4/armv7)

2017-05-31 Thread David Gwynne
i wrote this diff blind, so it may not compile or work. the intention is to check for space before attempting to dequeue a packet. the rest is largely cosmetic and makes it look more like a decent driver. could someone test please? Index: sxie.c