Queue Depth is the number of commands that can be on the queue at any one time, to be scheduled with NCQ (Native Command Queuing). It's not related to the cache.
How you tell how much cache is detected I have no idea. The cache isn't exposed to the operating system anyway is it?