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>
Showing
- drivers/net/cxgb4/cxgb4.h 2 additions, 0 deletionsdrivers/net/cxgb4/cxgb4.h
- drivers/net/cxgb4/cxgb4_main.c 19 additions, 5 deletionsdrivers/net/cxgb4/cxgb4_main.c
- drivers/net/cxgb4/sge.c 9 additions, 6 deletionsdrivers/net/cxgb4/sge.c
- drivers/net/cxgb4/t4fw_api.h 5 additions, 0 deletionsdrivers/net/cxgb4/t4fw_api.h
Loading
Please register or sign in to comment