aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/t4fw_api.h
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-08-23 13:20:58 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-23 23:38:13 -0400
commite46dab4d4be87769b09404135bc34f89e2e155d8 (patch)
tree65f0b0a321939c4b12d40e7674ce93c699c2843e /drivers/net/cxgb4/t4fw_api.h
parentf04b4dd2b1f533cef0507e0410ffc6732d21a272 (diff)
cxgb4: handle Rx/Tx queue ranges not starting at 0
Currently the driver assumes that queue IDs start at 0 but that's true only for function 0. To support operation on other functions get the start of the queue ranges from FW and offset accordingly. Signed-off-by: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/t4fw_api.h')
-rw-r--r--drivers/net/cxgb4/t4fw_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/cxgb4/t4fw_api.h b/drivers/net/cxgb4/t4fw_api.h
index 0969f2fbc1b0..940584a8a640 100644
--- a/drivers/net/cxgb4/t4fw_api.h
+++ b/drivers/net/cxgb4/t4fw_api.h
@@ -487,6 +487,11 @@ enum fw_params_param_pfvf {
487 FW_PARAMS_PARAM_PFVF_CPMASK = 0x25, 487 FW_PARAMS_PARAM_PFVF_CPMASK = 0x25,
488 FW_PARAMS_PARAM_PFVF_OCQ_START = 0x26, 488 FW_PARAMS_PARAM_PFVF_OCQ_START = 0x26,
489 FW_PARAMS_PARAM_PFVF_OCQ_END = 0x27, 489 FW_PARAMS_PARAM_PFVF_OCQ_END = 0x27,
490 FW_PARAMS_PARAM_PFVF_CONM_MAP = 0x28,
491 FW_PARAMS_PARAM_PFVF_IQFLINT_START = 0x29,
492 FW_PARAMS_PARAM_PFVF_IQFLINT_END = 0x2A,
493 FW_PARAMS_PARAM_PFVF_EQ_START = 0x2B,
494 FW_PARAMS_PARAM_PFVF_EQ_END = 0x2C,
490}; 495};
491 496
492/* 497/*