summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorMark Bloch <mbloch@nvidia.com>2026-05-03 23:27:21 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-06 19:03:37 -0700
commit386ef557f6df1955631d2b0d79c5984e1b1ce145 (patch)
tree81162b8cebeb38c44b1e85131bb1ac189670950b /include/linux/platform_data
parentb501400fa66d9b8045f282ae8de80ceb6e02fe85 (diff)
net/mlx5: E-Switch, let esw work callers choose GFP flags
mlx5_esw_add_work() always allocates the queued work item with GFP_ATOMIC. That is required for the E-Switch functions-change notifier, but not every caller of this helper will run from atomic context. Pass an allocation flag to mlx5_esw_add_work() and keep the notifier caller using GFP_ATOMIC. This allows sleepable callers to use GFP_KERNEL instead of unnecessarily relying on atomic reserves. Signed-off-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260503202726.266415-3-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions