diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-07-26 01:06:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-30 14:39:42 +0200 |
commit | 46978ada7dc669bf13f860798664b587dbc05ce5 (patch) | |
tree | 9f2fbfc41e85552862304eeefd1da5cc6d304005 /drivers/misc/mei/mei_dev.h | |
parent | e51dfa5a7f89b2c96371559b0c9772fd41376464 (diff) | |
download | linux-stable-46978ada7dc669bf13f860798664b587dbc05ce5.tar.gz linux-stable-46978ada7dc669bf13f860798664b587dbc05ce5.tar.bz2 linux-stable-46978ada7dc669bf13f860798664b587dbc05ce5.zip |
mei: rx flow control counter
Use RX flow control counter in the host client structure to
track the number of simultaneous outstanding reads.
This eliminates search in queues and makes ground for
enabling for parallel read.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index aaefbc87c2fc..8bdb28054423 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h @@ -203,8 +203,8 @@ struct mei_cl_cb { * @fp: file associated with client * @host_client_id: host id * @mei_flow_ctrl_creds: transmit flow credentials + * @rx_flow_ctrl_creds: receive flow credentials * @timer_count: watchdog timer for operation completion - * @reserved: reserved for alignment * @notify_en: notification - enabled/disabled * @notify_ev: pending notification event * @writing_state: state of the tx @@ -227,8 +227,8 @@ struct mei_cl { const struct file *fp; u8 host_client_id; u8 mei_flow_ctrl_creds; + u8 rx_flow_ctrl_creds; u8 timer_count; - u8 reserved; u8 notify_en; u8 notify_ev; enum mei_file_transaction_states writing_state; |