tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Improving the data supplied by BPF

Darren Reed <> writes:

> Greg Troxel wrote:
>> One thing I've always found missing in bpf is a flag to denote outgoing
>> vs incoming packets.  It might also be nice to note 'tapped as added to
>> queue' vs 'tapped when tx dma set up' vs 'tapped when tx ack arrives'.
> Interesting but I think that's outside the scope of what I'm
> trying to do here and now. Additionally, if there were possible,
> we'd need to think about if/how that is exposed to the user
> and how to interpret a user saying "tap tx dma set up packets
> for loopback" (because they'll try to use the same CLI/filter
> for loopback as they did the bge chip...)

I wasn't proposing an interface to control tap location, just flag bits
to record what happened.  I once added support to ath(4) to do the
tapping on tx complete so it could include more status.
But I see the point that one has to stop somewhere.

Attachment: pgplNdvu4MFch.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index