diff options
author | Paul Greenwalt <paul.greenwalt@intel.com> | 2019-08-02 01:25:20 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-08-26 23:37:16 -0700 |
commit | 77ca27c417050376b703cec52810aaa10e17d9ef (patch) | |
tree | 3548686ff6c053e5292a5a674f0c40c01234b52c /drivers/net/ethernet/intel/ice/ice.h | |
parent | d02f734cb713aee558f61883ea694c056b01beb0 (diff) | |
download | linux-77ca27c417050376b703cec52810aaa10e17d9ef.tar.bz2 |
ice: add support for virtchnl_queue_select.[tx|rx]_queues bitmap
The VF driver can call VIRTCHNL_OP_[ENABLE|DISABLE]_QUEUES separately
for each queue. Add support for virtchnl_queue_select.[tx|rx]_queues
bitmap which is used to indicate which queues to enable and disable.
Add tracing of VF Tx/Rx per queue enable state to avoid enabling enabled
queues and disabling disabled queues. Add total queues enabled count and
clear ICE_VF_STATE_QS_ENA when count is zero.
Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Signed-off-by: Peng Huang <peng.huang@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice.h')
0 files changed, 0 insertions, 0 deletions