diff options
author | Alex Vesker <valex@mellanox.com> | 2017-09-12 14:11:29 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-10-14 11:22:06 -0700 |
commit | c8249eda7fac00b55eca17ab05207be291d91a3f (patch) | |
tree | 942b5a6b6b866be89d72e4eba619022615a6f3ce /drivers/mtd/mtdpart.c | |
parent | 7c39afb394c79e72c3795b4a42d55155b34ee073 (diff) | |
download | linux-c8249eda7fac00b55eca17ab05207be291d91a3f.tar.bz2 |
net/mlx5e: IPoIB, Move underlay QP init/uninit to separate functions
During the creation of the underlay QP the PKEY index is unknown, the
PKEY index is known only when calling ndo_open.
PKEY index attached to the QP during state modification.
Splitting the functions will also make the code symmetric and more
readable. This split is also required for later PKEY support to be
called with the PKEY index during ndo_open.
Signed-off-by: Alex Vesker <valex@mellanox.com>
Reviewed-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/mtd/mtdpart.c')
0 files changed, 0 insertions, 0 deletions