Messages in this thread | | | Date | Fri, 30 Aug 2019 00:32:25 -0700 (PDT) | Subject | Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity. | From | David Miller <> |
| |
From: Jiri Pirko <jiri@resnulli.us> Date: Fri, 30 Aug 2019 09:21:33 +0200
> Fri, Aug 30, 2019 at 09:12:23AM CEST, davem@davemloft.net wrote: >>From: Jiri Pirko <jiri@resnulli.us> >>Date: Fri, 30 Aug 2019 08:36:24 +0200 >> >>> The promiscuity is a way to setup the rx filter. So promics == rx filter >>> off. For normal nics, where there is no hw fwd datapath, >>> this coincidentally means all received packets go to cpu. >> >>You cannot convince me that the HW datapath isn't a "rx filter" too, sorry. > > If you look at it that way, then we have 2: rx_filter and hw_rx_filter. > The point is, those 2 are not one item, that is the point I'm trying to > make :/
And you can turn both of them off when I ask for promiscuous mode, that's a detail of the device not a semantic issue.
| |