.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "S2IO_POLL" "9" "09 October 2005" "" "" .SH NAME s2io_poll \- Rx interrupt handler for NAPI support .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int s2io_poll (struct net_device * \fIdev\fB, int * \fIbudget\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR pointer to the device structure. .TP \fB\fIbudget\fB\fR The number of packets that were budgeted to be processed during one pass through the 'Poll" function. .SH "DESCRIPTION" .PP Comes into picture only if NAPI support has been incorporated. It does the same thing that rx_intr_handler does, but not in a interrupt context also It will process only a given number of packets. .SH "RETURN VALUE" .PP 0 on success and 1 if there are No Rx packets to be processed.