Add HW_NIC_SRIOV_TRUSTED trait

Adds a new trait to indicate whether all VFs on a PF or a single VF on a
PF is "trusted" and therefore able to operate in promiscuous mode.

Change-Id: If9d4af6ae7158ff8bcab6cdcd979145af307ce84
This commit is contained in:
Jay Pipes 2018-03-08 10:30:27 -05:00
parent 2c704cae31
commit 59baa503d0
1 changed files with 5 additions and 0 deletions

View File

@ -20,4 +20,9 @@ TRAITS = [
# Individual virtual functions can set up multiple receive and transmit
# queues for receive-side scaling
'MULTIQUEUE',
# If associated with a resource provider representing a physical function,
# all VFs on the PF are marked as trusted. If set on a resource provider
# representing a single virtual function, the VF is individually marked as
# trusted.
'TRUSTED',
]