• David S. Miller's avatar
    Merge branch 'cxgb4-more-flower-offloads' · 322d95f0
    David S. Miller authored
    Rahul Lakkireddy says:
    
    ====================
    cxgb4: enable more tc flower offload matches and actions
    
    This patch series enable more matches and actions for TC Flower
    Offload support on Chelsio adapters.
    
    Patch 1 enables matching on IP TOS.
    
    Patch 2 enables matching on VLAN TCI.
    
    Patch 3 adds support for action PASS.
    
    Patch 4 adds support for ETH-DMAC rewrite via TC-PEDIT action. Also,
    adds a check to assert that vlan/eth-dmac rewrite actions are valid
    only in combination with action egress redirect.
    
    Patch 5 introduces SMT ops for adding/removing entries from SMAC Table
    in HW in preparation for patch 6.
    
    Patch 6 adds support for ETH-SMAC rewrite via TC-PEDIT action.
    
    Patch 7 introduces fw_filter2_wr to support L3/L4 header rewrites
    in preparation for patch 8.
    
    Patch 8 adds support for rewrite on L3/L4 header fields via TC-PEDIT
    action. Supported fields for rewrite are:
    IPv4 src/dst address, IPv6 src/dst address, TCP/UDP sport/dport.
    ====================
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    322d95f0
cxgb4_tc_flower.c 22.1 KB