net/qede/base: add check to validate Tx queue
authorRasesh Mody <rasesh.mody@cavium.com>
Thu, 5 Jan 2017 07:03:49 +0000 (23:03 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:52 +0000 (19:40 +0100)
commit153a214d2d473cac24e870205b3eb0497cf7213b
treeb1a9f928584455a1cb8594243a9fdfdbcc33e89c
parent9e004533f66decf830a94acbab2f338d587c3395
net/qede/base: add check to validate Tx queue

Make sure VF tx_qid and the status block index is in the allocated range,
else fail the request.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_sriov.c