qeth: add query OSA address table support
Add qeth device private ioctl to query the OSA address table. This helps debugging hw related problems. Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
51363b8751
commit
c3ab96f36a
@@ -20,6 +20,7 @@
|
||||
#define SIOC_QETH_ARP_FLUSH_CACHE (SIOCDEVPRIVATE + 4)
|
||||
#define SIOC_QETH_ADP_SET_SNMP_CONTROL (SIOCDEVPRIVATE + 5)
|
||||
#define SIOC_QETH_GET_CARD_TYPE (SIOCDEVPRIVATE + 6)
|
||||
#define SIOC_QETH_QUERY_OAT (SIOCDEVPRIVATE + 7)
|
||||
|
||||
struct qeth_arp_cache_entry {
|
||||
__u8 macaddr[6];
|
||||
@@ -107,4 +108,10 @@ struct qeth_arp_query_user_data {
|
||||
char *entries;
|
||||
} __attribute__((packed));
|
||||
|
||||
struct qeth_query_oat_data {
|
||||
__u32 command;
|
||||
__u32 buffer_len;
|
||||
__u32 response_len;
|
||||
__u64 ptr;
|
||||
};
|
||||
#endif /* __ASM_S390_QETH_IOCTL_H__ */
|
||||
|
||||
Reference in New Issue
Block a user