diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2020-02-05 10:13:54 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-02-11 14:32:35 -0400 |
commit | beb205dd67aaa4315dedf5c40b47c6e9dee5a469 (patch) | |
tree | aea0758695186f32ac2505ae6399819afd872842 /drivers/mailbox/hi6220-mailbox.c | |
parent | 9a4b24108d92ffaa886e37923088bd806b988948 (diff) | |
download | linux-beb205dd67aaa4315dedf5c40b47c6e9dee5a469.tar.bz2 |
RDMA/siw: Fix setting active_mtu attribute
Make sure to set the active_mtu attribute to avoid report the following
invalid value:
$ ibv_devinfo -d siw0 | grep active_mtu
active_mtu: invalid MTU (0)
Fixes: 303ae1cdfdf7 ("rdma/siw: application interface")
Link: https://lore.kernel.org/r/20200205081354.30438-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Gal Pressman <galpress@amazon.com>
Reviewed-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/mailbox/hi6220-mailbox.c')
0 files changed, 0 insertions, 0 deletions