diff options
Diffstat (limited to 'usr/src/uts/common/sys')
-rw-r--r-- | usr/src/uts/common/sys/dlpi.h | 8 | ||||
-rw-r--r-- | usr/src/uts/common/sys/dls_impl.h | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/dlpi.h b/usr/src/uts/common/sys/dlpi.h index f856bd9575..c35f9dc27d 100644 --- a/usr/src/uts/common/sys/dlpi.h +++ b/usr/src/uts/common/sys/dlpi.h @@ -693,11 +693,17 @@ typedef struct { /* capability */ #ifdef _KERNEL +/* + * This defines the DL_CAPAB_POLL capability. Currently it provides a + * mechanism for IP to exchange function pointers with a gldv3-based driver + * to enable streams-bypassing data-paths and interrupt blanking. True polling + * support will be added in the future. + */ typedef struct dl_capab_poll_s { t_uscalar_t poll_version; t_uscalar_t poll_flags; - /* NIC provided information */ + /* DLD provided information */ uintptr_t poll_tx_handle; uintptr_t poll_tx; diff --git a/usr/src/uts/common/sys/dls_impl.h b/usr/src/uts/common/sys/dls_impl.h index 70de658cc4..69f9b4b3dc 100644 --- a/usr/src/uts/common/sys/dls_impl.h +++ b/usr/src/uts/common/sys/dls_impl.h @@ -137,8 +137,10 @@ extern int dls_vlan_walk(int (*)(dls_vlan_t *, void *), void *); extern void dls_init(void); extern int dls_fini(void); -extern boolean_t dls_accept(dls_impl_t *, const uint8_t *); -extern boolean_t dls_accept_loopback(dls_impl_t *, const uint8_t *); +extern boolean_t dls_accept(dls_impl_t *, const uint8_t *, + dls_rx_t *, void **); +extern boolean_t dls_accept_loopback(dls_impl_t *, const uint8_t *, + dls_rx_t *, void **); #ifdef __cplusplus } |