-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qeth: bridgeport support - basic control
Introduce functions to assign roles and check state of bridgeport-capable HiperSocket devices, and sysfs attributes providing access to these functions from userspace. Introduce udev events emitted when the state of a bridgeport device changes. Signed-off-by: Eugene Crosser <eugene.crosser@ru.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Reviewed-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Eugene Crosser
authored and
David S. Miller
committed
Jan 15, 2014
1 parent
3977458
commit b4d72c0
Showing
9 changed files
with
685 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
IBM s390 QDIO Ethernet Driver | ||
|
||
HiperSockets Bridge Port Support | ||
|
||
Uevents | ||
|
||
To generate the events the device must be assigned a role of either | ||
a primary or a secondary Bridge Port. For more information, see | ||
"z/VM Connectivity, SC24-6174". | ||
|
||
When run on HiperSockets Bridge Capable Port hardware, and the state | ||
of some configured Bridge Port device on the channel changes, a udev | ||
event with ACTION=CHANGE is emitted on behalf of the corresponding | ||
ccwgroup device. The event has the following attributes: | ||
|
||
BRIDGEPORT=statechange - indicates that the Bridge Port device changed | ||
its state. | ||
|
||
ROLE={primary|secondary|none} - the role assigned to the port. | ||
|
||
STATE={active|standby|inactive} - the newly assumed state of the port. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright IBM Corp. 2013 | ||
* Author(s): Eugene Crosser <eugene.crosser@ru.ibm.com> | ||
*/ | ||
|
||
#ifndef __QETH_L2_H__ | ||
#define __QETH_L2_H__ | ||
|
||
#include "qeth_core.h" | ||
|
||
int qeth_l2_create_device_attributes(struct device *); | ||
void qeth_l2_remove_device_attributes(struct device *); | ||
void qeth_l2_setup_bridgeport_attrs(struct qeth_card *card); | ||
|
||
#endif /* __QETH_L2_H__ */ |
Oops, something went wrong.