Skip to contentSkip to conversation

Zerocopy networking patch, 2.4.0-1

Kiobuf-io-devel [email protected] 1 participant 1 message Jan 19, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

Ok. Then we need an additional more or less generic object that is used

for

Quoted 1 line

passing in a rw_kiovec file operation (and we really want that for many

kinds

Quoted 1 line

of IO). I thould mostly be used for communicating to the high-level

driver.

Quoted 15 lines

/*
* the name is just plain stupid, but that shouldn't matter */

struct vfs_kiovec {
   struct kiovec *     iov;

   /* private data, mostly for the callback */
   void * private;

   /* completion callback */
   void (*end_io) (struct vfs_kiovec *);
   wait_queue_head_t wait_queue;
};
Quoted 1 line

Christoph

Shouldn't we have an error / status field too ?

Suparna Bhattacharya
Systems Software Group, IBM Global Services, India E-mail : [email protected]
Phone : 91-80-5267117, Extn : 2525

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/