> Adds a skeletal implementation of the qed* RoCE driver - > basically the ability to communicate with the qede driver and > receive notifications from it regarding various init/exit events. > > Signed-off-by: Rajesh Borundia <rajesh.borun...@qlogic.com> > Signed-off-by: Ram Amrani <ram.amr...@qlogic.com> > --- > drivers/infiniband/Kconfig | 2 + > drivers/infiniband/hw/Makefile | 1 + > drivers/infiniband/hw/qedr/Kconfig | 7 + > drivers/infiniband/hw/qedr/Makefile | 3 + > drivers/infiniband/hw/qedr/main.c | 293 +++++++++++++++++++++++++ > drivers/infiniband/hw/qedr/qedr.h | 60 ++++++ > drivers/net/ethernet/qlogic/qede/Makefile | 1 + > drivers/net/ethernet/qlogic/qede/qede.h | 9 + > drivers/net/ethernet/qlogic/qede/qede_main.c | 35 ++- > drivers/net/ethernet/qlogic/qede/qede_roce.c | 309 > +++++++++++++++++++++++++++ > include/linux/qed/qed_if.h | 3 +- > include/linux/qed/qede_roce.h | 88 ++++++++ > include/uapi/linux/pci_regs.h | 3 + > 13 files changed, 803 insertions(+), 11 deletions(-) > create mode 100644 drivers/infiniband/hw/qedr/Kconfig > create mode 100644 drivers/infiniband/hw/qedr/Makefile > create mode 100644 drivers/infiniband/hw/qedr/main.c > create mode 100644 drivers/infiniband/hw/qedr/qedr.h > create mode 100644 drivers/net/ethernet/qlogic/qede/qede_roce.c > create mode 100644 include/linux/qed/qede_roce.h
<snip> > @@ -189,8 +189,7 @@ static int qede_netdev_event(struct notifier_block *this, > unsigned long event, > struct ethtool_drvinfo drvinfo; > struct qede_dev *edev; > > - /* Currently only support name change */ > - if (event != NETDEV_CHANGENAME) > + if ((event != NETDEV_CHANGENAME) && (event != > NETDEV_CHANGEADDR)) nit: You don't really need the extra parens here.