net/ice: acquire and disable DCF capability
authorHaiyue Wang <haiyue.wang@intel.com>
Fri, 27 Mar 2020 02:56:37 +0000 (10:56 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
commitcf5cad3bc755794ebc707eda994fe3c082654f0a
tree7fbbfaee56b101c7be93665dfa1c502ef1149b5c
parent7564d5509611523233c617e8199d2d501acae1fd
net/ice: acquire and disable DCF capability

Since the DCF (Device Config Function) controls the flow setting of
other VFs by the mailbox with PF, for security, it needs to acquire
the DCF capability from PF when starts, and disable it when exits.

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