net/sfc: make flow list engine-agnostic
authorIvan Malov <ivan.malov@oktetlabs.ru>
Thu, 5 Mar 2020 10:47:48 +0000 (10:47 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 18 Mar 2020 09:21:41 +0000 (10:21 +0100)
commit19621712924d4585ac53df66681b3da30b23b272
tree38a42898c8409862ad70e02ec558a614aca02271
parent7571c08d9fb039e82f9bbbbe3b1cf8e4f2e72a99
net/sfc: make flow list engine-agnostic

A backend which a driver employs to handle flow rules of a given
type depends on the underlying NIC flow engine. The driver in
question in its current state is tailored to support the only
flow engine, VNIC filtering. As the need arises to add support
for transfer rules, the driver has to be reworked so that it
becomes possible to introduce yet another backend.

As a preparation step, make the flow list shared
between different engines.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_filter.h
drivers/net/sfc/sfc_flow.c