On 9/26/25 3:48 PM, Jakub Kicinski wrote: > On Tue, 23 Sep 2025 09:19:15 -0500 Daniel Jurgens wrote: >> Filtering a flow requires a classifier to match the packets, and a rule >> to filter on the matches. >> >> A classifier consists of one or more selectors. There is one selector >> per header type. A selector must only use fields set in the selector >> capabality. If partial matching is supported, the classifier mask for a >> particular field can be a subset of the mask for that field in the >> capability. >> >> The rule consists of a priority, an action and a key. The key is a byte >> array containing headers corresponding to the selectors in the >> classifier. >> >> This patch implements ethtool rules for ethernet headers. > > What does the spec say about ordering of the rules? > If the rules are not evaluated in an equivalent way to a linear > walk / match please support location == RX_CLS_LOC_ANY only
It does support RX_CLS_LOC_ANY. Specifying a specific location is not supported.
