On 11/19/25 3:14 AM, Michael S. Tsirkin wrote:
> On Tue, Nov 18, 2025 at 08:39:01AM -0600, Daniel Jurgens wrote:
>> @@ -7167,6 +7261,10 @@ static bool supported_flow_type(const struct 
>> ethtool_rx_flow_spec *fs)
>>      case ETHER_FLOW:
>>      case IP_USER_FLOW:
>>      case IPV6_USER_FLOW:
>> +    case TCP_V4_FLOW:
>> +    case TCP_V6_FLOW:
>> +    case UDP_V4_FLOW:
>> +    case UDP_V6_FLOW:
>>              return true;
>>      }
>>  
> 
> it kinda looks like you are sending flow control rules to
> the device ignoring what it reported as supported through
> VIRTIO_NET_FF_SELECTOR_CAP
> 
> Is that right?
> 
> The spec does not say what happens in such a case.
> 
> Parav what is your take? is the implication that driver
> must only send supported rules?
> 

validate_classifier_selectors checks the classifier we built against the
caps reported.


Reply via email to