1. 15 11月, 2019 4 次提交
    • S
      octeontx2-af: Enable broadcast packet replication · 561e8752
      Sunil Goutham 提交于
      Ingress packet replication support has been added to 96xx B0
      silicon. This patch enables using that feature to replicate
      ingress broadcast packets to PF and it's VFs.
      
      Also fixed below issues
      - VFs can also install NPC MCAM entry to forward broadcast pkts.
        Otherwise, unless PF's interface is UP, VFs will not receive
        bcast packets.
      - NPC MCAM entry is disabled when PF and all it's VFs are down.
      - Few corner cases in installing multicast entry list.
      Signed-off-by: NSunil Goutham <sgoutham@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      561e8752
    • S
      octeontx2-af: Support fixed transmit scheduler topology · 5d9b976d
      Sunil Goutham 提交于
      CN96xx initial silicon doesn't support all features pertaining to
      NIX transmit scheduling and shaping.
      - It supports a fixed topology of 1:1 mapped transmit
        limiters at all levels.
      - Supports DWRR only at SMQ/MDQ and TL1.
      - Doesn't support shaping and coloring.
      
      This patch adds HW capability structure by which each variant
      and skew of silicon can be differentiated by their supported
      features. And adds support for A0 silicon's transmit scheduler
      capabilities or rather limitations.
      Signed-off-by: NSunil Goutham <sgoutham@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5d9b976d
    • K
      octeontx2-af: Add more RSS algorithms · 206ff848
      Kiran Kumar K 提交于
      This patch adds support for few more RSS key types for flow key
      algorithm to compute rss hash index.
      
      Following flow key types have been added.
      - Tunnel types like NVGRE, VXLAN, GENEVE.
      - L2 offload type ETH_DMAC, Here we will consider only DMAC 6 bytes.
      - And extension header IPV6_EXT (1 byte followed by IPV6 header
      - Hashing inner protocol fields for inner DMAC, IPv4/v6, TCP, UDP, SCTP.
      Signed-off-by: NKiran Kumar K <kirankumark@marvell.com>
      Signed-off-by: NSunil Goutham <sgoutham@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      206ff848
    • H
      octeontx2-af: Update NPC KPU packet parsing profile · 922584f6
      Hao Zheng 提交于
      Updated NPC KPU packet parsing profile with support for following
      
      - Fragmentation support for IPv4 IPv6 outer header
      - NIX instruction header support
      - QinQ with TPID of 0x8100 as non inner most vlan tag, as legacy
        network equipments still generate QinQ packets with this configuration.
      - To better support RSS for tunnelled packets, udp based tunnel
        protocols such as vxlan, vxlan-gpe, geneve and gtpu are now
        captured into a separate layer E. Consequently, the inner
        packet headers are pushed one layer down to LF, LG, and LH
        accordingly.
      - Support for rfc7510 mpls in udp. Up to 4 MPLS labels can be parsed
        and captured in one layer LE.
      - Parser support for DSA, extended DSA and eDSA tags right after
        ethernet header by Marvell SOHO and Falcon switches. For extended
        DSA and eDSA tags, a special PKIND of 62 is used, as these tags don't
        contain a tpid field.
      - Higig2 protocol header parsing support, added a NPC_LT_LA_HIGIG2_ETHER
        for a combined header of HIGIG2 and Ethernet.  Add a
        NPC_LT_LA_IH_NIX_HIGIG2_ETHER for a combined header of nix_ih,
        HIGIG2 and Ethernet on egress side. Also added 2 upper flags in LA to
        indicate the presence of nix_ih and HIGIG2.
      
      Other changes include
      - IPv4.TTL==0 IPv6.HLIM==0 check
      - Per RFC 1858, mark fragment offset == 1 as error
      - TCP invalid flags check
      - Separate error codes for outer and inner IPv4 checksum errors.
      - Fix a parser error when KPU parses incoming IPSec ESP and AH packets
      - NPC vtag capture/strip hardware expect tag pointer to point to
        tpid/ethertype instead of tci. So move lb_ptr to point to tpid/ethertype.
      - Fix npc parser error when parsing udp packets that don't have any payload.
      - For a single MCAM entry to match on packets with one or stacked vlan tags
        combine NPC_LT_LB_STAG and NPC_LT_LB_QINQ to NPC_LT_LB_STAG_QINQ.
      - NVGRE to have a separate ltype LD_NVGRE instead of combined with LD_GRE.
      - Reserve top LD/LTYPEs to support custom KPU profile fields.
      Signed-off-by: NHao Zheng <haoz@marvell.com>
      Signed-off-by: NSunil Goutham <sgoutham@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      922584f6
  2. 04 12月, 2018 11 次提交
  3. 24 11月, 2018 1 次提交
  4. 20 11月, 2018 11 次提交
  5. 26 10月, 2018 1 次提交
  6. 25 10月, 2018 1 次提交
  7. 23 10月, 2018 11 次提交