]> git.baikalelectronics.ru Git - kernel.git/commit
tsnep: Add EtherType RX flow classification support
authorGerhard Engleder <gerhard@engleder-embedded.com>
Tue, 27 Sep 2022 19:58:41 +0000 (21:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Sep 2022 10:32:27 +0000 (11:32 +0100)
commitfa069e940e55b7126e622b1313fed5621576ea0b
treed664a856e019f230d5a6c18f8c35472a2f49a000
parent7e6cf93f205456d316d4631af8a81faa064450e5
tsnep: Add EtherType RX flow classification support

Received Ethernet frames are assigned to first RX queue per default.
Based on EtherType Ethernet frames can be assigned to other RX queues.
This enables processing of real-time Ethernet protocols on dedicated
RX queues.

Add RX flow classification interface for EtherType based RX queue
assignment.

Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/engleder/Makefile
drivers/net/ethernet/engleder/tsnep.h
drivers/net/ethernet/engleder/tsnep_ethtool.c
drivers/net/ethernet/engleder/tsnep_hw.h
drivers/net/ethernet/engleder/tsnep_main.c
drivers/net/ethernet/engleder/tsnep_rxnfc.c [new file with mode: 0644]