net/ice: handle PF initialization by DCF
authorHaiyue Wang <haiyue.wang@intel.com>
Fri, 27 Mar 2020 02:56:40 +0000 (10:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commit0b02c9519432e1d25694d58c023ee03d4e944883
tree238b8d92aeeab997865b755b8092a8702a592a7b
parent3bde63e79269ab2b0216019c06490b59f362494e
net/ice: handle PF initialization by DCF

The DCF (Device Config Function) works at the user PF level, it can't
access the real PF hardware directly. So it will pass through the PF's
AdminQ command by the DCF's mailbox.

And the DCF is mainly used to control the flow setting of other VFs, so
it only needs to initialize some core functions related to the flow.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/Makefile
drivers/net/ice/ice_dcf.c
drivers/net/ice/ice_dcf.h
drivers/net/ice/ice_dcf_ethdev.c
drivers/net/ice/ice_dcf_ethdev.h
drivers/net/ice/ice_dcf_parent.c [new file with mode: 0644]
drivers/net/ice/meson.build