[PATCH 2/6]: powerpc/cell spidernet low watermark patch.
benh at kernel.crashing.org
Sun Aug 20 16:31:49 EST 2006
> card->low_watermark->next->dmac_cmd_status |= SPIDER_NET_DESCR_TXDESFLG;
> card->low_watermark->dmac_cmd_status &= ~SPIDER_NET_DESCR_TXDESFLG;
> card->low_watermark = card->low_watermark->next;
> when we queue another frame for TX.
I would have expected those to be racy vs. the hardware... what if the
hardware is updating dmac_cmd_status just as your are trying to and the
bit out of it ?
More information about the Linuxppc-dev