summaryrefslogtreecommitdiff
path: root/drivers/dio/dio-driver.c
diff options
context:
space:
mode:
authorHarshitha Ramamurthy <hramamurthy@google.com>2024-04-01 23:45:28 +0000
committerDavid S. Miller <davem@davemloft.net>2024-04-03 11:11:15 +0100
commitb94d3703c1a6a57323256a687f4cbdabfffbe408 (patch)
tree49eb146316b791d0a4d3cffd3cad9c929782d5f4 /drivers/dio/dio-driver.c
parent5dee3c702c20b62bc12b72edb495740bf06d97b3 (diff)
gve: set page count for RX QPL for GQI and DQO queue formats
Fulfill the requirement that for GQI, the number of pages per RX QPL is equal to the ring size. Set this value to be equal to ring size. Because of this change, the rx_data_slot_cnt and rx_pages_per_qpl fields stored in the priv structure are not needed, so remove their usage. And for DQO, the number of pages per RX QPL is more than ring size to account for out-of-order completions. So set it to two times of rx ring size. Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Harshitha Ramamurthy <hramamurthy@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dio/dio-driver.c')
0 files changed, 0 insertions, 0 deletions