1. 03 4月, 2019 3 次提交
  2. 02 4月, 2019 21 次提交
  3. 01 4月, 2019 6 次提交
  4. 30 3月, 2019 10 次提交
    • J
      net: bridge: use netif_is_bridge_port() · 35f861e3
      Julian Wiedmann 提交于
      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: NJulian Wiedmann <jwi@linux.ibm.com>
      Acked-by: NRoopa Prabhu <roopa@cumulusnetworks.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      35f861e3
    • J
      team: use netif_is_team_port() · acb10eac
      Julian Wiedmann 提交于
      Replace the team_port_exists() macro with its twin from netdevice.h
      
      CC: Jiri Pirko <jiri@resnulli.us>
      Signed-off-by: NJulian Wiedmann <jwi@linux.ibm.com>
      Acked-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      acb10eac
    • V
      cxgb4/cxgb4vf: Display advertised FEC in ethtool · 9f764898
      Vishal Kulkarni 提交于
      This patch advertises Forward Error Correction in ethtool
      Signed-off-by: NCasey Leedom <leedom@chelsio.com>
      Signed-off-by: NVishal Kulkarni <vishal@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9f764898
    • V
      cxgb4: Update 1.23.3.0 as the latest firmware supported. · 5d10de34
      Vishal Kulkarni 提交于
      Change t4fw_version.h to update latest firmware version
      number to 1.23.3.0.
      Signed-off-by: NVishal Kulkarni <vishal@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5d10de34
    • W
      openvswitch: Make metadata_dst tunnel work in IP_TUNNEL_INFO_BRIDGE mode · 18b6f717
      wenxu 提交于
      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: Nwenxu <wenxu@ucloud.cn>
      Acked-by: NPravin B Shelar <pshelar@ovn.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      18b6f717
    • E
      tcp: cleanup sk_tx_skb_cache before reuse · eb70a1ae
      Eric Dumazet 提交于
      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: NEric Dumazet <edumazet@google.com>
      Cc: Soheil Hassas Yeganeh <soheil@google.com>
      Cc: Willem de Bruijn <willemb@google.com>
      Acked-by: NSoheil Hassas Yeganeh <soheil@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      eb70a1ae
    • B
      MAINTAINERS: Fix mellanox Innova IPsec · faddd6cf
      Boris Pismenny 提交于
      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: NBoris Pismenny <borisp@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      faddd6cf
    • D
      selftests: tc-testing: Add pedit tests · 49b1b4a1
      Dmytro Linkin 提交于
      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: NDmytro Linkin <dmitrolin@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      49b1b4a1
    • D
      ipv6: Move ipv6 stubs to a separate header file · 3616d08b
      David Ahern 提交于
      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: NDavid Ahern <dsahern@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3616d08b
    • D
      Merge branch 'net-Move-fib_nh-and-fib6_nh-to-a-common-struct' · 5f4d6749
      David S. Miller 提交于
      David Ahern says:
      
      ====================
      net: Move fib_nh and fib6_nh to a common struct
      
      First set of three with the end goal of enabling IPv6 gateways with IPv4
      routes.
      
      This set refactors ipv4 and ipv6 code to create init and release
      helpers for each protocol and moving common elements to a fib_nh_common
      struct.
      
      v3
      - split the reject setting into 2 with helper to the checks. This
        avoids changing cfg->fc_flags in fib6_nh_init
      
      v2
      - addressed Ido's comments: cleanup on failure path in nh_init helpers,
        ordering in fib6_nh_release, and removal of RTF_GATEWAY from fib6_info
        uses in mlxsw
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5f4d6749