Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/common/common.h
Show First 20 Lines • Show All 493 Lines • ▼ Show 20 Lines | static inline int is_ethoffload(const struct adapter *adap) | ||||
return adap->params.ethoffload; | return adap->params.ethoffload; | ||||
} | } | ||||
static inline int is_hashfilter(const struct adapter *adap) | static inline int is_hashfilter(const struct adapter *adap) | ||||
{ | { | ||||
return adap->params.hash_filter; | return adap->params.hash_filter; | ||||
} | } | ||||
static inline int is_ktls(const struct adapter *adap) | |||||
{ | |||||
return adap->cryptocaps & FW_CAPS_CONFIG_TLS_HW; | |||||
} | |||||
static inline int chip_id(struct adapter *adap) | static inline int chip_id(struct adapter *adap) | ||||
{ | { | ||||
return adap->params.chipid; | return adap->params.chipid; | ||||
} | } | ||||
static inline int chip_rev(struct adapter *adap) | static inline int chip_rev(struct adapter *adap) | ||||
{ | { | ||||
return adap->params.rev; | return adap->params.rev; | ||||
▲ Show 20 Lines • Show All 443 Lines • Show Last 20 Lines |