diff options
author | Faisal Latif <faisal.latif@intel.com> | 2016-02-26 18:18:02 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-16 20:48:11 +0300 |
commit | 6a0dde89cc346588f7f610dbc0d75e100f9cb568 (patch) | |
tree | f4b859ac209c922910f9691e791388273ba58977 /drivers/infiniband/hw/nes/nes_verbs.c | |
parent | b493d91d333e867a043f7ff1397bcba6e2d0dda2 (diff) | |
download | linux-6a0dde89cc346588f7f610dbc0d75e100f9cb568.tar.xz |
iw_nes: remove port mapper related code
Now that most of the port mapper code been moved to iwcm, we can
remove it from port mapper service user drivers.
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Tatyana E. Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_verbs.c')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_verbs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c index 8c4daf7f22ec..804021ddd358 100644 --- a/drivers/infiniband/hw/nes/nes_verbs.c +++ b/drivers/infiniband/hw/nes/nes_verbs.c @@ -3768,6 +3768,8 @@ struct nes_ib_device *nes_init_ofa_device(struct net_device *netdev) nesibdev->ibdev.iwcm->create_listen = nes_create_listen; nesibdev->ibdev.iwcm->destroy_listen = nes_destroy_listen; nesibdev->ibdev.get_port_immutable = nes_port_immutable; + memcpy(nesibdev->ibdev.iwcm->ifname, netdev->name, + sizeof(nesibdev->ibdev.iwcm->ifname)); return nesibdev; } |