summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorDavid Wei <dw@davidwei.uk>2024-08-08 08:15:18 +0300
committerDavid S. Miller <davem@davemloft.net>2024-08-11 15:48:02 +0300
commit97cbf3d0accce0f29db0be3ac1b50d9d561d3206 (patch)
treeebbe506d9b8fe651ac16ad734933ed07555ad0b2 /include/linux/overflow.h
parentb9d2956e869c78bb356a71dd0a75346da9fd191f (diff)
downloadlinux-97cbf3d0accce0f29db0be3ac1b50d9d561d3206.tar.xz
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 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions