From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fuxbrumer, Dvora Date: Mon, 21 Jun 2021 15:31:15 +0300 Subject: [Intel-wired-lan] [PATCH next-queue v1 1/5] igc: Add possibility to add flex filter In-Reply-To: <20210611003924.492853-2-vinicius.gomes@intel.com> References: <20210611003924.492853-1-vinicius.gomes@intel.com> <20210611003924.492853-2-vinicius.gomes@intel.com> Message-ID: <2cb42259-aedc-af35-b8f3-58c4c7e1d093@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On 6/11/2021 03:39, Vinicius Costa Gomes wrote: > From: Kurt Kanzenbach > > The Intel i225 NIC has the possibility to add flex filters which can > match up to the first 128 byte of a packet. These filters are useful > for all kind of packet matching. One particular use case is Profinet, > as the different traffic classes are distinguished by the frame id > range which cannot be matched by any other means. > > Add code to configure and enable flex filters. > > Signed-off-by: Kurt Kanzenbach > Reviewed-by: Sebastian Andrzej Siewior > Signed-off-by: Vinicius Costa Gomes > --- > drivers/net/ethernet/intel/igc/igc.h | 13 ++ > drivers/net/ethernet/intel/igc/igc_defines.h | 48 ++++++- > drivers/net/ethernet/intel/igc/igc_main.c | 134 +++++++++++++++++++ > drivers/net/ethernet/intel/igc/igc_regs.h | 17 +++ > 4 files changed, 207 insertions(+), 5 deletions(-) > Tested-by: Dvora Fuxbrumer