• H
    cxgb4/iw_cxgb4: TOS support · ba9cee6a
    Hariprasad Shenai 提交于
    This series provides support for iWARP applications to specify a TOS
    value and have that map to a VLAN Priority for iw_cxgb4 iWARP connections.
    
    In iw_cxgb4, when allocating an L2T entry, pass the skb_priority based
    on the tos value in the cm_id. Also pass the correct tos value during
    connection setup so the passive side gets the client's desired tos.
    When sending the FLOWC work request to FW, if the egress device is
    in a vlan, then use the vlan priority bits as the scheduling class.
    This allows associating RDMA connections with scheduling classes to
    provide traffic shaping per flow.
    Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
    Signed-off-by: NHariprasad Shenai <hariprasad@chelsio.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    ba9cee6a
cm.c 115.5 KB