search for: mblks

Displaying 5 results from an estimated 5 matches for "mblks".

Did you mean: blks
2007 Apr 26
1
requiring array indices be int64_t
...the form of arg0, arg1, etc, as indices into an "associative" array. If all that an array takes as an index is an int64_t, is there any reason for dtrace to require me to have an explicit type conversion in there rather than having it do it for me automatically? At present I need to do: mblks[arg0] or mblks[(int64_t)((mblk_t *)arg0)->b_cont] whereas what I''d like to be able to do is: mblks[arg0] and mblks[((mblks_t *)arg0)->b_cont] and have dtrace worry about what b_cont needs to be transformed into in order for that to work. Darren
2006 Jun 29
2
tracemem() not exactly what I had in mind
I was trying to use tracemem to look at mblk contents. First, I tried to use mblk->b_wptr - mblk->b_rptr as the size, and was told that it had to be a constant. Foo. (RFE #1). Then, I tried to use 8 as the size, and kept getting decimal numbers printed. Stumbled on #pragma D option rawbytes=true (is the =true necessary, btw?) and that didn''t help. Then, in desperation, I
2008 Oct 02
0
Comments for squeue.c; part 2.
1. 566 squeue_enter(squeue_t *sqp, mblk_t *mp, mblk_t *tail, uint32_t cnt, Why cnt is declared as uint32_t (fixed size?) Why not just int or uint_t? 554 * squeue_enter() - enter squeue sqp with mblk mp (which can be 555 * a chain), while tail points to the end and cnt in number of 556 * mblks in the chain. It is not quite clear what is a tail (and why it is needed as well) 558 * For a chain of single packet (i.e. mp == tail), go through the 559 * fast path if no one is processing the squeue and nothing is queued. Is single packet case cnt == 1 or mp == tail or both or one of thes...
2008 Feb 21
3
Reclaiming transmit descriptors by NIC drivers with Crossbow new scheduling
The following is mainly a capture of parts of multiple off-line discussions within members of the Crossbow team (Gopi, Thiru, Roamer, May-Lin, Thirumailai, Nitin, KB, ...), I thought I''d open it up to other participants. Crossbow''s core scheduling involves switching a NIC (or individual Rx rings on the NIC) to polling mode. The receive interrupt will become not only rarer,
2009 Jul 19
7
How xVM is integrated with Crossbow
Hi, all I want to get some information of How xVM is integrated with Crossbow project. Do some buddies have those documents or blogs? Thanks --luke