1. 28 Feb, 2015 1 commit
  2. 24 Feb, 2015 6 commits
  3. 22 Feb, 2015 14 commits
  4. 21 Feb, 2015 1 commit
  5. 10 Feb, 2015 3 commits
  6. 05 Feb, 2015 15 commits
    • Stephen Hemminger's avatar
      Merge branch 'master' into net-next · ebd58d19
      Stephen Hemminger authored
      ebd58d19
    • Tom Herbert's avatar
      iproute: Descriptions of fou and gue options in ip-link man pages · 90f1df71
      Tom Herbert authored
      Add section for additional arguments to GRE, IPIP, and SIT types
      that are related to Foo-over-UDP and Generic UDP Encapsulation.
      Also, added an example GUE configuration in the examples section.
      Signed-off-by: default avatarTom Herbert <therbert@google.com>
      90f1df71
    • Stephen Hemminger's avatar
      Merge branch 'master' into net-next · 41d46674
      Stephen Hemminger authored
      41d46674
    • Tom Herbert's avatar
      ip link: Add support for remote checksum offload to IP tunnels · 858dbb20
      Tom Herbert authored
      This patch adds support to remote checksum checksum offload
      confinguration for IPIP, SIT, and GRE tunnels. This patch
      adds a [no]encap-remcsum to ip link command which applicable
      when configured tunnels that use GUE.
      
      http://tools.ietf.org/html/draft-herbert-remotecsumoffload-00
      
      Example:
      
      ip link add name tun1 type gre remote 192.168.1.1 local 192.168.1.2 \
         ttl 225 encap fou encap-sport auto encap-dport 7777 encap-csum \
         encap-remcsum
      
      This would create an GRE tunnel in GUE encapsulation where the source
      port is automatically selected (based on hash of inner packet),
      checksums in the encapsulating UDP header are enabled (needed.for
      remote checksum offload), and remote checksum ffload is configured to
      be used on the tunnel (affects TX side).
      Signed-off-by: default avatarTom Herbert <therbert@google.com>
      858dbb20
    • Stephen Hemminger's avatar
      Merge branch 'master' into net-next · 9ca23a59
      Stephen Hemminger authored
      9ca23a59
    • Roopa Prabhu's avatar
      iproute2: bridge vlan show new option to print ranges · a2f7934d
      Roopa Prabhu authored
      Introduce new option -c[ompressvlans] to request
      vlan ranges from kernel
      
      (pls suggest better option names if this does not look ok)
      
      $bridge vlan show
      port	vlan ids
      dummy0	 1 PVID Egress Untagged
      
      dummy1	 1 PVID Egress Untagged
      	 2
      	 3
      	 4
      	 5
      	 6
      	 7
      	 9
      	 10
      	 12
      
      br0	 1 PVID Egress Untagged
      
      $bridge help
      Usage: bridge [ OPTIONS ] OBJECT { COMMAND | help }
      where  OBJECT := { link | fdb | mdb | vlan | monitor }
             OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] |
                          -o[neline] | -t[imestamp] | -n[etns] name |
                          -c[ompressvlans] }
      $bridge -c vlan show
      port	vlan ids
      dummy0	 1 PVID Egress Untagged
      
      dummy1	 1 PVID Egress Untagged
      	 2-7
      	 9-10
      	 12
      
      br0	 1 PVID Egress Untagged
      Signed-off-by: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
      a2f7934d
    • Roopa Prabhu's avatar
      iproute2: bridge: support vlan range adds · 3ac0d36d
      Roopa Prabhu authored
      This patch adds vlan range support to bridge add command
      using the newly added vinfo flags BRIDGE_VLAN_INFO_RANGE_BEGIN and
      BRIDGE_VLAN_INFO_RANGE_END.
      
      $bridge vlan show
      port    vlan ids
      br0      1 PVID Egress Untagged
      
      dummy0   1 PVID Egress Untagged
      
      $bridge vlan add vid 10-15 dev dummy0
      port    vlan ids
      br0      1 PVID Egress Untagged
      
      dummy0   1 PVID Egress Untagged
               10
               11
               12
               13
               14
               15
      
      $bridge vlan del vid 14 dev dummy0
      
      $bridge vlan show
      port    vlan ids
      br0      1 PVID Egress Untagged
      
      dummy0   1 PVID Egress Untagged
               10
               11
               12
               13
               15
      
      $bridge vlan del vid 10-15 dev dummy0
      
      $bridge vlan show
      port    vlan ids
      br0      1 PVID Egress Untagged
      
      dummy0   1 PVID Egress Untagged
      Signed-off-by: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
      Signed-off-by: default avatarWilson Kok <wkok@cumulusnetworks.com>
      3ac0d36d
    • Jiri Pirko's avatar
      tc: add support for BPF based actions · 86ab59a6
      Jiri Pirko authored
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      86ab59a6
    • Jiri Pirko's avatar
      tc: push bpf common code into separate file · 1d129d19
      Jiri Pirko authored
      Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
      1d129d19
    • Oliver Hartkopp's avatar
      can: Add support for CAN FD non-ISO feature · 82a307e8
      Oliver Hartkopp authored
      This patch makes CAN_CTRLMODE_FD_NON_ISO netlink feature configurable.
      
      During the CAN FD standardization process within the ISO it turned out that
      the failure detection capability has to be improved.
      
      The CAN in Automation organization (CiA) defined the already implemented CAN
      FD controllers as 'non-ISO' and the upcoming improved CAN FD controllers as
      'ISO' compliant. See at http://www.can-cia.com/index.php?id=1937
      
      Starting with the - currently non-ISO - driver for M_CAN v3.0.1 introduced in
      Linux 3.18 this bit needs to be propagated to userspace. In future drivers this
      bit will become configurable depending on the CAN FD controllers capabilities.
      Signed-off-by: default avatarOliver Hartkopp <socketcan@hartkopp.net>
      82a307e8
    • Stephen Hemminger's avatar
      Merge branch 'master' into net-next · c5ecc59f
      Stephen Hemminger authored
      c5ecc59f
    • Thomas Graf's avatar
      vxlan: Group policy extension · 2eb90dc7
      Thomas Graf authored
      Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
      2eb90dc7
    • Andreas Henriksson's avatar
      iproute2/ip: fix up filter when printing addresses · 5e5055bc
      Andreas Henriksson authored
      "ip addr show up" would exclude the interface (link), but include the
      addresses of down interfaces (which looked like they where indented
      under a different interface). This fixes the filtering.
      
      For a full example see the original bug report at:
      http://bugs.debian.org/776040Reported-by: default avatarPaul Slootman <paul@debian.org>
      CC: 776040@bugs.debian.org
      Signed-off-by: default avatarAndreas Henriksson <andreas@fatal.se>
      5e5055bc
    • Vadim Kochan's avatar
      ip netns: Delete all netns · 33724939
      Vadim Kochan authored
      Allow delete all namespace names by:
      
          $ ip -all netns del
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      33724939
    • Vadim Kochan's avatar
      ip netns: Allow exec on each netns · b13ba03f
      Vadim Kochan authored
      This change allows to exec some cmd on each
      named netns (except default) by specifying '-all' option:
      
          # ip -all netns exec ip link
      
      Each command executes synchronously.
      
      Exit status is not considered, so there might be a case
      that some CMD can fail on some netns but success on the other.
      
      EXAMPLES:
      
      1) Show link info on all netns:
      
      $ ip -all netns exec ip link
      
      netns: test_net
      1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      4: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 500
          link/ether 1a:19:6f:25:eb:85 brd ff:ff:ff:ff:ff:ff
      
      netns: home0
      1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      4: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 500
          link/ether ea:1a:59:40:d3:29 brd ff:ff:ff:ff:ff:ff
      
      netns: lan0
      1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      4: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 500
          link/ether ce:49:d5:46:81:ea brd ff:ff:ff:ff:ff:ff
      
      2) Set UP tap0 device for the all netns:
      
      $ ip -all netns exec ip link set dev tap0 up
      
      netns: test_net
      
      netns: home0
      
      netns: lan0
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      b13ba03f