linux/drivers/scsi/be2iscsi
Jitendra Bhivare 0152a7e971 scsi: be2iscsi: Fix release of DHCP IP in static mode
If BOOTPROTO is changed to static, the DHCP IP address should be released.
All cases are being handled mgmt_set_ip and mgmt_static_ip_modify.

Rearrange IFACE APIs to:
beiscsi_if_clr_ip
beiscsi_if_set_ip
beiscsi_if_en_static
beiscsi_if_en_dhcp

This simplifies release of DHCP IP when BOOTPROTO is set to static.

Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-08-23 22:42:42 -04:00
..
be_cmds.c scsi: be2iscsi: Reduce driver load/unload time 2016-08-23 22:42:42 -04:00
be_cmds.h be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
be_iscsi.c scsi: be2iscsi: Fix release of DHCP IP in static mode 2016-08-23 22:42:42 -04:00
be_iscsi.h MAINTAINERS, be2iscsi: change email domain 2015-05-18 11:34:52 -07:00
be_main.c Merge branch 'fixes' into misc 2016-03-15 15:24:44 -07:00
be_main.h be2iscsi: Add lock to protect WRB alloc and free 2016-02-23 21:27:02 -05:00
be_mgmt.c scsi: be2iscsi: Fix release of DHCP IP in static mode 2016-08-23 22:42:42 -04:00
be_mgmt.h scsi: be2iscsi: Fix release of DHCP IP in static mode 2016-08-23 22:42:42 -04:00
be.h be2iscsi: Couple MCC tag and WRB alloc and free 2016-02-23 21:27:02 -05:00
Kconfig irq_poll: make blk-iopoll available outside the block layer 2015-12-11 11:52:24 -08:00
Makefile be2iscsi: Revert ownership to Emulex 2015-10-27 10:34:18 +09:00