[dpdk-dev] [PATCH] pci: Add the class_id support in pci probe

Thomas Monjalon thomas.monjalon at 6wind.com
Thu May 19 14:57:17 CEST 2016


2016-05-19 12:18, Yang, Ziye:
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] 
> 2016-05-11 14:08, Ziye Yang:
> > +	dev->id.class_id = (uint32_t)tmp && CLASS_ANY_ID;
> 
> Should be a bitwise &. Why masking is needed?
> [Ziye]  Only 24bit info is needed.

What are the other bits?
Please put a comment in the code.


More information about the dev mailing list