<br><font size=2><tt>Roland Dreier <rdreier@cisco.com> wrote on 04/19/2006
03:57:52 PM:<br>
> Shirley> Also I am working on removal tx_ring, which
requires CQ<br>
> Shirley> to be splited to remove recv WC wiki flag
IPOIB_OP_RECV.<br>
> <br>
> How are you removing the TX ring? Where do you store the skbs
and DMA<br>
> mappings to be freed when a send completes?<br>
> <br>
> - R.<br>
</tt></font>
<br><font size=2><tt>Since I haven't found any kernel use 128 bit address,
I use wr_id to save</tt></font>
<br><font size=2><tt>skb address, DMA mapping and other stuffs are saved
in skb->cb, which</tt></font>
<br><font size=2><tt>is the private data for each protocal layer in skb.
Same for rx_ring, so rx_buff</tt></font>
<br><font size=2><tt>and tx_buff is not necessary to be used.</tt></font>
<br><font size=2 face="sans-serif"><br>
Thanks<br>
Shirley Ma<br>
IBM Linux Technology Center<br>
15300 SW Koll Parkway<br>
Beaverton, OR 97006-6063<br>
Phone(Fax): (503) 578-7638<br>
<br>
</font>
<br>