net/sfc: support flow mark delivery on EF100 native datapath
authorIvan Malov <ivan.malov@oktetlabs.ru>
Tue, 12 Oct 2021 19:46:18 +0000 (22:46 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 12 Oct 2021 22:47:49 +0000 (00:47 +0200)
commita9cc128cb975e027378c4655c96e4258c1197885
treedfe9b9081d532db3b1ac65a02b86a6c0f14117c0
parent9b14dc746141bcd3ed2769ea745cc0cca85a9bb0
net/sfc: support flow mark delivery on EF100 native datapath

MAE counter engine gets generation counts by virtue of the mark,
so the code to extract the field is already in place, but flow
action MARK doesn't benefit from it. Support this use case, too.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/net/sfc/sfc_ef100_rx.c
drivers/net/sfc/sfc_rx.c