Robert Olsson wrote:
Ben Greear writes:
> I've completed the first pass of my changes to pktgen in 2.6.18.
> Many of these features are probably DOA based on previous conversations,
> but perhaps this will help someone....
Thanks. Well sometimes there is a need to capture and drop pkts and various
points, so it handy to have code fragments ready and just add the hook when
it's needed in driver or rx softirq etc.
I'd be thrilled to have the receive logic go into pktgen, even if it was #if 0
with a comment
showing how to patch dev.c to get it working. It would make my out-of-tree
patch smaller
and should help others who are doing research and driver development...
If you'd accept a patch like this, please let me know.
> Changes:
> * use a nano-second timer based on the scheduler timer (TSC) for relative
times, instead of get_time_of_day.
Any chance you extract this one so we can compare with get_time_of_day. This
pops up
in the profiles and TX numbers are not what used to be.
I'll work on that.
Thanks,
Ben
Cheers.
--ro
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Ben Greear <[EMAIL PROTECTED]>
Candela Technologies Inc http://www.candelatech.com
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html