Subject: Re: [PATCH net-next 13/13] iavf: add support for offloading tc U32 cls filters

From: Jakub Kicinski <[email-masked]>
Date: Fri, 9 Aug 2024 22:05:41 -0700

On Fri,  9 Aug 2024 10:36:12 -0700 Tony Nguyen wrote:
> From: Ahmed Zaki <[email-masked]>
> 
> Add support for offloading cls U32 filters. Only "skbedit queue_mapping"
> and "drop" actions are supported. Also, only "ip" and "802_3" tc
> protocols are allowed. The PF must advertise the VIRTCHNL_VF_OFFLOAD_TC_U32
> capability flag.
> 
> Since the filters will be enabled via the FD stage at the PF, a new type
> of FDIR filters is added and the existing list and state machine are used.
> 
> The new filters can be used to configure flow directors based on raw
> (binary) pattern in the rx packet.

drivers/net/ethernet/intel/iavf/iavf_main.c:4077:33: warning: incorrect type in assignment (different base types)
drivers/net/ethernet/intel/iavf/iavf_main.c:4077:33:    expected restricted __be16 [usertype] h_proto
drivers/net/ethernet/intel/iavf/iavf_main.c:4077:33:    got int
-- 
pw-bot: cr