net/ice: handle AdminQ command by DCF
authorHaiyue Wang <haiyue.wang@intel.com>
Fri, 27 Mar 2020 02:56:38 +0000 (10:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commitdaa714d55c722b6184e1bf612a74153337f0df5e
tree4aca91e80a63530f4560ca78bb292017aef36625
parentcf5cad3bc755794ebc707eda994fe3c082654f0a
net/ice: handle AdminQ command by DCF

The DCF (Device Config Function) splits the AdminQ command into two
parts: one is the descriptor of AdminQ command, the other is the buffer
of AdminQ command (the descriptor has BUF flag set). When both of them
are received by the PF, the PF will handle them as one command.

And also, the filled descriptor and buffer of the response will be sent
back to DCF one by one through the virtchnl from PF.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_dcf.c
drivers/net/ice/ice_dcf.h