Skip to content
  1. Apr 03, 2019
  2. Apr 02, 2019
  3. Apr 01, 2019
  4. Mar 30, 2019
    • Julian Wiedmann's avatar
      net: bridge: use netif_is_bridge_port() · 35f861e3
      Julian Wiedmann authored
      
      
      Replace the br_port_exists() macro with its twin from netdevice.h
      
      CC: Roopa Prabhu <roopa@cumulusnetworks.com>
      CC: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
      Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
      Acked-by: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      35f861e3
    • Julian Wiedmann's avatar
      team: use netif_is_team_port() · acb10eac
      Julian Wiedmann authored
      
      
      Replace the team_port_exists() macro with its twin from netdevice.h
      
      CC: Jiri Pirko <jiri@resnulli.us>
      Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
      Acked-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      acb10eac
    • Vishal Kulkarni's avatar
      cxgb4/cxgb4vf: Display advertised FEC in ethtool · 9f764898
      Vishal Kulkarni authored
      
      
      This patch advertises Forward Error Correction in ethtool
      
      Signed-off-by: default avatarCasey Leedom <leedom@chelsio.com>
      Signed-off-by: default avatarVishal Kulkarni <vishal@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9f764898
    • Vishal Kulkarni's avatar
      cxgb4: Update 1.23.3.0 as the latest firmware supported. · 5d10de34
      Vishal Kulkarni authored
      
      
      Change t4fw_version.h to update latest firmware version
      number to 1.23.3.0.
      
      Signed-off-by: default avatarVishal Kulkarni <vishal@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5d10de34
    • wenxu's avatar
      openvswitch: Make metadata_dst tunnel work in IP_TUNNEL_INFO_BRIDGE mode · 18b6f717
      wenxu authored
      
      
      There is currently no support for the multicast/broadcast aspects
      of VXLAN in ovs. In the datapath flow the tun_dst must specific.
      But in the IP_TUNNEL_INFO_BRIDGE mode the tun_dst can not be specific.
      And the packet can forward through the fdb table of vxlan devcice. In
      this mode the broadcast/multicast packet can be sent through the
      following ways in ovs.
      
      ovs-vsctl add-port br0 vxlan -- set in vxlan type=vxlan \
              options:key=1000 options:remote_ip=flow
      ovs-ofctl add-flow br0 in_port=LOCAL,dl_dst=ff:ff:ff:ff:ff:ff, \
              action=output:vxlan
      
      bridge fdb append ff:ff:ff:ff:ff:ff dev vxlan_sys_4789 dst 172.168.0.1 \
              src_vni 1000 vni 1000 self
      bridge fdb append ff:ff:ff:ff:ff:ff dev vxlan_sys_4789 dst 172.168.0.2 \
              src_vni 1000 vni 1000 self
      
      Signed-off-by: default avatarwenxu <wenxu@ucloud.cn>
      Acked-by: default avatarPravin B Shelar <pshelar@ovn.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      18b6f717
    • Eric Dumazet's avatar
      tcp: cleanup sk_tx_skb_cache before reuse · eb70a1ae
      Eric Dumazet authored
      
      
      TCP stack relies on the fact that a freshly allocated skb
      has skb->cb[] and skb_shinfo(skb)->tx_flags cleared.
      
      When recycling tx skb, we must ensure these fields are cleared.
      
      Fixes: 472c2e07 ("tcp: add one skb cache for tx")
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Cc: Soheil Hassas Yeganeh <soheil@google.com>
      Cc: Willem de Bruijn <willemb@google.com>
      Acked-by: default avatarSoheil Hassas Yeganeh <soheil@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      eb70a1ae
    • Boris Pismenny's avatar
      MAINTAINERS: Fix mellanox Innova IPsec · faddd6cf
      Boris Pismenny authored
      
      
      The Innova IPsec driver is part of all Innova drivers, and its
      maintainenece is covered by an existing entry in this file.
      
      Signed-off-by: default avatarBoris Pismenny <borisp@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      faddd6cf
    • Dmytro Linkin's avatar
      selftests: tc-testing: Add pedit tests · 49b1b4a1
      Dmytro Linkin authored
      
      
      Add 36 pedit action tests to check pedit options described in tc-pedit(8)
      man page. Test cases can be specified by categories: actions, pedit,
      raw_op, layered_op. RAW_OP cases check offset option for u8, u16 and u32
      offset size. LAYERED_OP cases check fields option for eth, ip, ip6,
      tcp and udp headers.
      
      Include following tests:
      377e - Add pedit action with RAW_OP offset u32
      a0ca - Add pedit action with RAW_OP offset u32 (INVALID)
      dd8a - Add pedit action with RAW_OP offset u16 u16
      53db - Add pedit action with RAW_OP offset u16 (INVALID)
      5c7e - Add pedit action with RAW_OP offset u8 add value
      2893 - Add pedit action with RAW_OP offset u8 quad
      3a07 - Add pedit action with RAW_OP offset u8-u16-u8
      ab0f - Add pedit action with RAW_OP offset u16-u8-u8
      9d12 - Add pedit action with RAW_OP offset u32 set u16 clear u8 invert
      ebfa - Add pedit action with RAW_OP offset overflow u32 (INVALID)
      f512 - Add pedit action with RAW_OP offset u16 at offmask shift set
      c2cb - Add pedit action with RAW_OP offset u32 retain value
      86d4 - Add pedit action with LAYERED_OP eth set src & dst
      c715 - Add pedit action with LAYERED_OP eth set src (INVALID)
      ba22 - Add pedit action with LAYERED_OP eth type set/clear sequence
      5810 - Add pedit action with LAYERED_OP ip set src & dst
      1092 - Add pedit action with LAYERED_OP ip set ihl & dsfield
      02d8 - Add pedit action with LAYERED_OP ip set ttl & protocol
      3e2d - Add pedit action with LAYERED_OP ip set ttl (INVALID)
      31ae - Add pedit action with LAYERED_OP ip ttl clear/set
      486f - Add pedit action with LAYERED_OP ip set duplicate fields
      e790 - Add pedit action with LAYERED_OP ip set ce, df, mf, firstfrag,
      nofrag fields
      6829 - Add pedit action with LAYERED_OP beyond ip set dport & sport
      afd8 - Add pedit action with LAYERED_OP beyond ip set icmp_type &
      icmp_code
      3143 - Add pedit action with LAYERED_OP beyond ip set dport (INVALID)
      fc1f - Add pedit action with LAYERED_OP ip6 set src & dst
      6d34 - Add pedit action with LAYERED_OP ip6 dst retain value (INVALID)
      6f5e - Add pedit action with LAYERED_OP ip6 flow_lbl
      6795 - Add pedit action with LAYERED_OP ip6 set payload_len, nexthdr,
      hoplimit
      1442 - Add pedit action with LAYERED_OP tcp set dport & sport
      b7ac - Add pedit action with LAYERED_OP tcp sport set (INVALID)
      cfcc - Add pedit action with LAYERED_OP tcp flags set
      3bc4 - Add pedit action with LAYERED_OP tcp set dport, sport & flags
      fields
      f1c8 - Add pedit action with LAYERED_OP udp set dport & sport
      d784 - Add pedit action with mixed RAW/LAYERED_OP #1
      70ca - Add pedit action with mixed RAW/LAYERED_OP #2
      
      Signed-off-by: default avatarDmytro Linkin <dmitrolin@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      49b1b4a1
    • David Ahern's avatar
      ipv6: Move ipv6 stubs to a separate header file · 3616d08b
      David Ahern authored
      
      
      The number of stubs is growing and has nothing to do with addrconf.
      Move the definition of the stubs to a separate header file and update
      users. In the move, drop the vxlan specific comment before ipv6_stub.
      
      Code move only; no functional change intended.
      
      Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3616d08b