summaryrefslogtreecommitdiff
path: root/drivers/tc
diff options
context:
space:
mode:
authorDavid Arinzon <darinzon@amazon.com>2024-01-30 09:53:47 +0000
committerPaolo Abeni <pabeni@redhat.com>2024-02-01 13:22:12 +0100
commit06a96fe6f9f02f1205774b60c2f42f09a6832f31 (patch)
tree918f5e097fdbbc8a943b86b326062c2000d9cba0 /drivers/tc
parent50d7a2660579889fba28b7e4543d4ce85aa2311b (diff)
net: ena: Remove CQ tail pointer update
The functionality was added to allow the drivers to create an SQ and CQ of different sizes. When the RX/TX SQ and CQ have the same size, such update isn't necessary as the device can safely assume it doesn't override unprocessed completions. However, if the SQ is larger than the CQ, the device might "have" more completions it wants to update about than there's room in the CQ. There's no support for different SQ and CQ sizes, therefore, removing the API and its usage. '____cacheline_aligned' compiler attribute was added to 'struct ena_com_io_cq' to ensure that the removal of the 'cq_head_db_reg' field doesn't change the cache-line layout of this struct. Signed-off-by: Shay Agroskin <shayagr@amazon.com> Signed-off-by: David Arinzon <darinzon@amazon.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions