1. 28 9月, 2021 1 次提交
  2. 26 9月, 2021 1 次提交
  3. 19 9月, 2021 1 次提交
  4. 17 9月, 2021 1 次提交
  5. 16 9月, 2021 1 次提交
  6. 31 8月, 2021 1 次提交
  7. 29 8月, 2021 1 次提交
  8. 25 8月, 2021 7 次提交
  9. 23 8月, 2021 1 次提交
  10. 17 8月, 2021 1 次提交
  11. 02 8月, 2021 2 次提交
    • S
      octeontx2-pf: cn10k: Config DWRR weight based on MTU · c39830a4
      Sunil Goutham 提交于
      Program SQ, MDQ, TL4 to TL2 transmit scheduler queues' DWRR
      weight based on DWRR MTU programmed at NIX_AF_DWRR_RPM_MTU.
      The DWRR MTU from admin function is retrieved via mbox.
      
      On OcteaonTx2 silicon, admin function driver responds with DWRR
      MTU as '1'. This helps to avoid silicon specific transmit
      scheduler DWRR quantum/weight configuration logic.
      Signed-off-by: NSunil Goutham <sgoutham@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c39830a4
    • S
      octeontx2-af: cn10k: DWRR MTU configuration · 76660df2
      Sunil Goutham 提交于
      On OcteonTx2 DWRR quantum is directly configured into each of
      the transmit scheduler queues. And PF/VF drivers were free to
      config any value upto 2^24.
      
      On CN10K, HW is modified, the quantum configuration at scheduler
      queues is in terms of weight. And SW needs to setup a base DWRR MTU
      at NIX_AF_DWRR_RPM_MTU / NIX_AF_DWRR_SDP_MTU. HW will do
      'DWRR MTU * weight' to get the quantum. For LBK traffic, value
      programmed into NIX_AF_DWRR_RPM_MTU register is considered as
      DWRR MTU.
      
      This patch programs a default DWRR MTU of 8192 into HW and also
      provides a way to change this via devlink params.
      Signed-off-by: NSunil Goutham <sgoutham@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      76660df2
  12. 27 7月, 2021 1 次提交
  13. 25 7月, 2021 1 次提交
  14. 23 7月, 2021 1 次提交
  15. 20 7月, 2021 2 次提交
    • S
      octeontx2-af: Introduce internal packet switching · 23109f8d
      Subbaraya Sundeep 提交于
      As of now any communication between CGXs PFs and
      their VFs within the system is possible only by
      external switches sending packets back to the
      system. This patch adds internal switching support.
      Broadcast packet replication is not covered here.
      RVU admin function (AF) maintains MAC addresses
      of all interfaces in the system. When switching is
      enabled, MCAM entries are allocated to install rules
      such that packets with DMAC matching any of the
      internal interface MAC addresses is punted back
      into the system via the loopback channel.
      On the receive side the default unicast rules
      are modified to not check for ingress channel.
      So any packet with matching DMAC irrespective of
      which interface it is coming from will be forwarded
      to the respective PF/VF interface.
      The transmit side rules and default unicast rules
      are updated if user changes MAC address of an interface.
      Signed-off-by: NSubbaraya Sundeep <sbhatta@marvell.com>
      Signed-off-by: NSunil Kovvuri Goutham <sgoutham@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      23109f8d
    • S
      octeontx2-af: Enable transmit side LBK link · fa2bf6ba
      Subbaraya Sundeep 提交于
      For enabling VF-VF switching the packets egressing
      out of CGX mapped VFs needed to be sent to LBK
      so that same packets are received back to the system.
      But the LBK link also needs to be enabled in addition
      to a VF's mapped CGX_LMAC link otherwise hardware
      raises send error interrupt indicating selected LBK
      link is not enabled in NIX_AF_TL3_TL2X_LINKX_CFG register.
      Hence this patch enables all LBK links in
      TL3_TL2_LINKX_CFG registers.
      Also to enable packet flow between PFs/VFs of NIX0
      to PFs/VFs of NIX1(in 98xx silicon) the NPC TX DMAC
      rules has to be installed such that rules must be hit
      for any TX interface i.e., NIX0-TX or NIX1-TX provided
      DMAC match creteria is met. Hence this patch changes the
      behavior such that MCAM is programmed to match with any
      NIX0/1-TX interface for TX rules.
      Signed-off-by: NSubbaraya Sundeep <sbhatta@marvell.com>
      Signed-off-by: NSunil Kovvuri Goutham <sgoutham@marvell.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fa2bf6ba
  16. 02 7月, 2021 1 次提交
  17. 16 6月, 2021 2 次提交
  18. 12 6月, 2021 2 次提交
  19. 30 5月, 2021 1 次提交
  20. 19 3月, 2021 1 次提交
  21. 18 3月, 2021 2 次提交
  22. 12 2月, 2021 5 次提交
  23. 26 1月, 2021 1 次提交
  24. 22 11月, 2020 1 次提交
  25. 21 11月, 2020 1 次提交