linux/drivers/s390/net
Hans Wippel caa1f0b10d s390/qeth: add VNICC enable/disable support
HiperSocket devices allow enabling and disabling so called VNIC
Characteristics (VNICC) that influence how the underlying hardware
handles packets. These VNICCs are:

* Flooding VNICC: Flooding allows specifying if packets to unknown
  destination MAC addresses are received by the qeth device.

* Multicast flooding VNICC: Multicast flooding allows specifying if
  packets to multicast MAC addresses are received by the qeth device.

* Learning VNICC: If learning is enabled on a qeth device, the device
  learns the source MAC addresses of outgoing packets and incoming
  packets to those learned MAC addresses are received.

* Takeover setvmac VNICC: If takeover setvmac is configured on a qeth
  device, the MAC address of this device can be configured on a
  different qeth device with the setvmac IPA command.

* Takeover by learning VNICC: If takeover learning is enabled on a qeth
  device, the MAC address of this device can be learned (learning VNICC)
  on a different qeth device.

* BridgePort invisible VNICC: If BridgePort invisible is enabled on a
  qeth device, (1) packets from this device are not sent to a BridgePort
  enabled qeth device and (2) packets coming from a BridgePort enabled
  qeth device are not received by this device.

* Receive broadcast VNICC: Receive broadcast allows configuring if a
  qeth device receives packets with the broadcast destination MAC
  address.

This patch adds support for the IPA commands that are required to enable
and disable these VNIC characteristics on qeth devices. As a
prerequisite, it also adds the query commands IPA command.

The query commands IPA command allows requesting the supported commands
for each characteristic from the underlying hardware.

Additionally, this patch provides users with a sysfs user interface to
enable/disable the VNICCs mentioned above.

Signed-off-by: Hans Wippel <hwippel@linux.vnet.ibm.com>
Reviewed-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-18 14:41:37 -07:00
..
Kconfig s390: remove claw driver 2015-02-28 23:38:29 -05:00
Makefile s390: remove claw driver 2015-02-28 23:38:29 -05:00
ctcm_dbug.c s390/s390dbf: use debug_level_enabled() where applicable 2013-10-24 17:16:54 +02:00
ctcm_dbug.h
ctcm_fsms.c ctcm_fsms: Convert skb->user accesses to refcount_t 2017-07-03 02:29:57 -07:00
ctcm_fsms.h
ctcm_main.c s390/net: reduce inlining 2017-08-15 10:58:40 -07:00
ctcm_main.h s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
ctcm_mpc.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
ctcm_mpc.h
ctcm_sysfs.c s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
fsm.c
fsm.h
lcs.c s390/net: reduce inlining 2017-08-15 10:58:40 -07:00
lcs.h s390/s390dbf: use debug_level_enabled() where applicable 2013-10-24 17:16:54 +02:00
netiucv.c s390/net: reduce inlining 2017-08-15 10:58:40 -07:00
qeth_core.h s390/qeth: add VNICC enable/disable support 2017-09-18 14:41:37 -07:00
qeth_core_main.c s390/qeth: use skb_cow_head() for L2 OSA xmit 2017-08-18 10:21:30 -07:00
qeth_core_mpc.c s390/qeth: add basic VNICC support 2017-09-18 14:41:37 -07:00
qeth_core_mpc.h s390/qeth: add VNICC enable/disable support 2017-09-18 14:41:37 -07:00
qeth_core_sys.c s390/net: reduce inlining 2017-08-15 10:58:40 -07:00
qeth_l2.h s390/qeth: add VNICC enable/disable support 2017-09-18 14:41:37 -07:00
qeth_l2_main.c s390/qeth: add VNICC enable/disable support 2017-09-18 14:41:37 -07:00
qeth_l2_sys.c s390/qeth: add VNICC enable/disable support 2017-09-18 14:41:37 -07:00
qeth_l3.h s390/qeth: add support for early L3 device setup 2017-06-06 13:05:01 -04:00
qeth_l3_main.c s390/qeth: pass full IQD header length to fill_buffer() 2017-08-18 10:21:30 -07:00
qeth_l3_sys.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-09-06 14:45:08 -07:00
smsgiucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
smsgiucv.h
smsgiucv_app.c