Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

From: David Miller
Date: Thu Aug 29 2019 - 18:12:04 EST


From: Ido Schimmel <idosch@xxxxxxxxxx>
Date: Thu, 29 Aug 2019 22:36:13 +0300

> I fully agree that we should make it easy for users to capture offloaded
> traffic, which is why I suggested patching libpcap. Add a flag to
> capable netdevs that tells libpcap that in order to capture all the
> traffic from this interface it needs to add a tc filter with a trap
> action. That way zero familiarity with tc is required from users.

Why not just make setting promisc mode on the device do this rather than
require all of this tc indirection nonsense?

That's the whole point of this conversation I thought?