diff options
author | Michal Kalderon <Michal.Kalderon@cavium.com> | 2017-06-20 15:00:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-20 18:34:08 +0200 |
commit | bbfcd1e8e1677b1e692144c5709945e1dfe1ed30 (patch) | |
tree | a1b581ceabd0462136aaaa809849a3d86ffa97a5 /drivers/infiniband/hw/qedr | |
parent | qed*: qede_roce.[ch] -> qede_rdma.[ch] (diff) | |
download | linux-bbfcd1e8e1677b1e692144c5709945e1dfe1ed30.tar.xz linux-bbfcd1e8e1677b1e692144c5709945e1dfe1ed30.zip |
qed*: Set rdma generic functions prefix
Rename the functions common to both iWARP and RoCE to have a prefix of
_rdma_ instead of _roce_.
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/qedr')
-rw-r--r-- | drivers/infiniband/hw/qedr/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/qedr/main.c b/drivers/infiniband/hw/qedr/main.c index 714eb0c92312..b5851fd67d4f 100644 --- a/drivers/infiniband/hw/qedr/main.c +++ b/drivers/infiniband/hw/qedr/main.c @@ -902,7 +902,7 @@ static void qedr_mac_address_change(struct qedr_dev *dev) * initialization done before RoCE driver notifies * event to stack. */ -static void qedr_notify(struct qedr_dev *dev, enum qede_roce_event event) +static void qedr_notify(struct qedr_dev *dev, enum qede_rdma_event event) { switch (event) { case QEDE_UP: @@ -931,12 +931,12 @@ static struct qedr_driver qedr_drv = { static int __init qedr_init_module(void) { - return qede_roce_register_driver(&qedr_drv); + return qede_rdma_register_driver(&qedr_drv); } static void __exit qedr_exit_module(void) { - qede_roce_unregister_driver(&qedr_drv); + qede_rdma_unregister_driver(&qedr_drv); } module_init(qedr_init_module); |