summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/fcoe/fcoe.h
diff options
context:
space:
mode:
authorKelly Hu <kelly.hu@Sun.COM>2009-04-08 10:38:35 +0800
committerKelly Hu <kelly.hu@Sun.COM>2009-04-08 10:38:35 +0800
commitd4401b99a36e5170ccaa7defc0d2ac65b23f08c6 (patch)
tree64b7c3709e24edccb52363542527eb5af089737e /usr/src/uts/common/io/fcoe/fcoe.h
parent45e46d060213105b5301d64e637dfdba4ddfba4e (diff)
downloadillumos-gate-d4401b99a36e5170ccaa7defc0d2ac65b23f08c6.tar.gz
6815792 fcoe need to consider link name changes on the fly
6815799 Remove mac_is_vnic() and move the check for vnic to libfcoe
Diffstat (limited to 'usr/src/uts/common/io/fcoe/fcoe.h')
-rw-r--r--usr/src/uts/common/io/fcoe/fcoe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/fcoe/fcoe.h b/usr/src/uts/common/io/fcoe/fcoe.h
index 222a29bf12..38a1a05cf8 100644
--- a/usr/src/uts/common/io/fcoe/fcoe.h
+++ b/usr/src/uts/common/io/fcoe/fcoe.h
@@ -123,7 +123,7 @@ typedef struct fcoe_soft_state {
typedef struct fcoe_mac
{
list_node_t fm_ss_node;
- char fm_link_name[MAXLINKNAMELEN];
+ datalink_id_t fm_linkid;
uint32_t fm_flags;
fcoe_soft_state_t *fm_ss;
@@ -235,7 +235,7 @@ typedef struct fcoe_worker {
/*
* fcoe driver common functions
*/
-extern fcoe_mac_t *fcoe_lookup_mac_by_name(uint8_t *);
+extern fcoe_mac_t *fcoe_lookup_mac_by_id(datalink_id_t);
extern void fcoe_destroy_mac(fcoe_mac_t *);
extern mblk_t *fcoe_get_mblk(fcoe_mac_t *, uint32_t);
extern void fcoe_post_frame(fcoe_frame_t *);