Re: [PATCH v3] ethernet/arc/arc_emac - Add new driver

From: Francois Romieu
Date: Sat Jun 15 2013 - 07:13:18 EST


Alexey Brodkin <Alexey.Brodkin@xxxxxxxxxxxx> :
[...]
> If my comment doesn't make sense to you or I misunderstood your message
> could you please add more clarifications for your idea?

Sorry, I temporarily forgot it was the descriptor ring itself. :o/

It would make sense to qualify the descriptor members as __{le/be}32 then
use them with proper cpu_to_{le/be} wrappers _and_ mapping addresses
instead of direct skb->data assignment.

--
Ueimor
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/