1. 24 2月, 2019 3 次提交
  2. 14 2月, 2019 3 次提交
  3. 09 2月, 2019 1 次提交
  4. 21 1月, 2019 2 次提交
  5. 17 12月, 2018 2 次提交
  6. 12 12月, 2018 1 次提交
  7. 05 12月, 2018 1 次提交
    • I
      mlxsw: spectrum: Mirror loopbacked packets instead of trapping them · 2f4f4494
      Ido Schimmel 提交于
      When the ASIC detects that a unicast packet is routed through the same
      router interface (RIF) from which it ingressed (iRIF == eRIF), it raises
      a trap called loopback error (LBERROR).
      
      Thus far, this trap was configured to send a sole copy of the packet to
      the CPU so that ICMP redirect packets could be potentially generated by
      the kernel.
      
      This is problematic as the CPU cannot forward packets at 3.2Tb/s and
      there are scenarios (e.g., "one-armed router") where iRIF == eRIF is not
      an exception.
      
      Solve this by changing the trap to send a copy of the packet to the CPU.
      To prevent the kernel from forwarding the packet again, it is marked
      with 'offload_l3_fwd_mark'.
      
      The trap is configured in a trap group of its own with a dedicated
      policer in order not to prevent packets trapped by other traps from
      reaching the CPU.
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2f4f4494
  8. 22 11月, 2018 1 次提交
  9. 19 11月, 2018 1 次提交
  10. 16 11月, 2018 1 次提交
  11. 01 11月, 2018 1 次提交
  12. 12 10月, 2018 11 次提交
  13. 20 9月, 2018 2 次提交
  14. 10 8月, 2018 1 次提交
  15. 06 8月, 2018 1 次提交
  16. 28 7月, 2018 4 次提交
  17. 26 7月, 2018 4 次提交