FreeBSD/sys/dev/cxgbe/cxgbei/cxgbei_ulp2_ddp.h
/*
 * cxgbei_ulp2_is_ddp_tag - check if a given tag is a hw/ddp tag
 * @tformat: tag format information
 * @tag: tag to be checked
 *
 * return true if the tag is a ddp tag, false otherwise.
 */
check if a given tag is a hw/ddp tag
@tformat: tag format information
@tag: tag to be checked

return true if the tag is a ddp tag, false otherwise.
check if a given tag is a hw / ddp tag @tformat : tag format information @tag : tag to be checked return true if the tag is a ddp tag false otherwise .
static inline int
cxgbei_ulp2_is_ddp_tag(struct cxgbei_ulp2_tag_format *tformat, uint32_t tag)
{
	return (!(tag & (1 << (tformat->rsvd_bits + tformat->rsvd_shift - 1))));
}
static inline int cxgbei_ulp2_is_ddp_tag ( struct cxgbei_ulp2_tag_format * tformat , uint32_t tag ) { return ( ! ( tag & ( 1 << ( tformat -> rsvd_bits + tformat -> rsvd_shift - 1 ) ) ) ) ; }
cxgbei_ulp2_is_ddp_tag - check if a given tag is a hw/ddp tag
 @tformat: tag format information
 @tag: tag to be checked
cxgbei_ulp2_is_ddp_tag - check if a given tag is a hw / ddp tag @tformat : tag format information @tag : tag to be checked