diff options
| author | Cong Wang <[email protected]> | 2018-01-26 02:26:22 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-01-29 17:42:15 +0000 |
| commit | 6a643ddb5624be7e0694d49f5765a8d41c1ab6d0 (patch) | |
| tree | 2daa13ccb3dbe823770ca45732729dfa4a150ef8 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | vhost_net: stop device during reset owner (diff) | |
| download | kernel-6a643ddb5624be7e0694d49f5765a8d41c1ab6d0.tar.gz kernel-6a643ddb5624be7e0694d49f5765a8d41c1ab6d0.zip | |
net: introduce helper dev_change_tx_queue_len()
This patch promotes the local change_tx_queue_len() to a core
helper function, dev_change_tx_queue_len(), so that rtnetlink
and net-sysfs could share the code. This also prepares for the
following patch.
Note, the -EFAULT in the original code doesn't make sense,
we should propagate the errno from notifiers.
Cc: John Fastabend <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
