aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/drivers/net/hw/rss_ctx.py
diff options
context:
space:
mode:
authorDavid Wei <dw@davidwei.uk>2024-08-07 22:15:18 -0700
committerDavid S. Miller <davem@davemloft.net>2024-08-11 13:48:02 +0100
commit97cbf3d0accce0f29db0be3ac1b50d9d561d3206 (patch)
treeebbe506d9b8fe651ac16ad734933ed07555ad0b2 /tools/testing/selftests/drivers/net/hw/rss_ctx.py
parentb9d2956e869c78bb356a71dd0a75346da9fd191f (diff)
downloadlinux-97cbf3d0accce0f29db0be3ac1b50d9d561d3206.tar.gz
linux-97cbf3d0accce0f29db0be3ac1b50d9d561d3206.tar.bz2
linux-97cbf3d0accce0f29db0be3ac1b50d9d561d3206.zip
bnxt_en: only set dev->queue_mgmt_ops if supported by FW
The queue API calls bnxt_hwrm_vnic_update() to stop/start the flow of packets, which can only properly flush the pipeline if FW indicates support. Add a macro BNXT_SUPPORTS_QUEUE_API that checks for the required flags and only set queue_mgmt_ops if true. Signed-off-by: David Wei <dw@davidwei.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/rss_ctx.py')
0 files changed, 0 insertions, 0 deletions