cxgb4: parse and configure TC-MQPRIO offload
Add logic for validation and configuration of TC-MQPRIO Qdisc offload. Also, add support to manage EOSW_TXQ, which have 1-to-1 mapping with EOTIDs, and expose them to network stack. Move common skb validation in Tx path to a separate function and add minimal Tx path for ETHOFLD. Update Tx queue selection to return normal NIC Txq to send traffic pattern that can't go through ETHOFLD Tx path. Signed-off-by:Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/chelsio/cxgb4/Makefile 1 addition, 1 deletiondrivers/net/ethernet/chelsio/cxgb4/Makefile
- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 40 additions, 0 deletionsdrivers/net/ethernet/chelsio/cxgb4/cxgb4.h
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 35 additions, 3 deletionsdrivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c 346 additions, 0 deletionsdrivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.h 30 additions, 0 deletionsdrivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.h
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h 29 additions, 0 deletionsdrivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
- drivers/net/ethernet/chelsio/cxgb4/sge.c 116 additions, 46 deletionsdrivers/net/ethernet/chelsio/cxgb4/sge.c
Please register or sign in to comment