]> git.baikalelectronics.ru Git - kernel.git/commit
qeth: IFF_PROMISC flag to BRIDGE PORT mode
authorEugene Crosser <Eugene.Crosser@ru.ibm.com>
Mon, 18 May 2015 12:27:55 +0000 (14:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2015 16:14:17 +0000 (12:14 -0400)
commit456a0692a326ac781b0c2b52d25ae41467590f05
tree2d72c37c650e391963f0a5031e4501fd9666e0d6
parentdb0e79d1a2383eeb096e8e47888821fffaa39df9
qeth: IFF_PROMISC flag to BRIDGE PORT mode

OSA and HiperSocket devices do not support promiscuous mode proper,
but they support "BRIDGE PORT" mode that is functionally similar.
This update introduces sysfs attribute that, when set, makes the driver
try to "reflect" setting and resetting of the IFF_PROMISC flag on the
interface into setting and resetting PRIMARY or SECONDARY bridge port
role on the underlying OSA or HiperSocket device.

Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l2_sys.c