1. 07 4月, 2016 8 次提交
    • I
      mlxsw: reg: Add Port Prio To Buffer register · b98ff151
      Ido Schimmel 提交于
      When packets ingress the switch they are assigned a switch priority
      number that dictates the packet's priority group (PG) buffer in the
      port's headroom buffer.
      
      Add the Port Prio To Buffer (PPTB) register, which configures the switch
      priority to PG mapping.
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b98ff151
    • D
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 92b6d35f
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      40GbE Intel Wired LAN Driver Updates 2016-04-05
      
      This series contains updates to i40e and i40evf only.
      
      Colin Ian King cleaned up a redundant NULL check which was found by static
      analysis.
      
      Anjali enables geneve receive offload for XL710/X710 devices.
      
      Mitch cleans up unused variable in i40e_vc_get_vf_resources_msg().
      Fixed the driver to actually be able to adjust VLAN tagging features
      through ethtool, as expected.  Fixed a problem where VF resets would
      get lost by the PF preventing the VF driver from initializing.  Also
      put users mind at ease by lowering some message levels since many of
      these conditions can happen any time VFs are enabled or disabled and
      are not really indicative a fatal problems, unless they happen
      continuously.
      
      Shannon disables the link polling to lessen the admin queue traffic
      especially since the link event mask usage has been fixed recently.
      
      Alex Duyck fixes the i40e and i40evf drivers to correctly update
      checksums for frames up to 16776960 in length which should be more than
      large enough for all possible TSO frames in the near future.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      92b6d35f
    • D
      Merge branch 'vxlan-gpe' · 6f555635
      David S. Miller 提交于
      Jiri Benc says:
      
      ====================
      vxlan: implement Generic Protocol Extension (GPE)
      
      v3: just rebased on top of the current net-next, no changes
      
      This patchset implements VXLAN-GPE. It follows the same model as the tun/tap
      driver: depending on the chosen mode, the vxlan interface is created either
      as ARPHRD_ETHER (non-GPE) or ARPHRD_NONE (GPE).
      
      Note that the internal fdb control plane cannot be used together with
      VXLAN-GPE and attempt to configure it will be rejected by the driver. In
      fact, COLLECT_METADATA is required to be set for now. This can be relaxed in
      the future by adding support for static PtP configuration; it will be
      backward compatible and won't affect existing users.
      
      The previous version of the patchset supported two GPE modes, L2 and L3. The
      L2 mode (now called "ether mode" in the code) was removed from this version.
      It can be easily added later if there's demand. The L3 mode is now called
      "raw mode" and supports also encapsulated Ethernet headers (via ETH_P_TEB).
      
      The only limitation of not having "ether mode" for GPE is for ip route based
      encapsulation: with such setup, only IP packets can be encapsulated. Meaning
      no Ethernet encapsulation. It seems there's not much use for this, though.
      If it turns out to be useful, we'll add it.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6f555635
    • J
      vxlan: implement GPE · e1e5314d
      Jiri Benc 提交于
      Implement VXLAN-GPE. Only COLLECT_METADATA is supported for now (it is
      possible to support static configuration, too, if there is demand for it).
      
      The GPE header parsing has to be moved before iptunnel_pull_header, as we
      need to know the protocol.
      
      v2: Removed what was called "L2 mode" in v1 of the patchset. Only "L3 mode"
          (now called "raw mode") is added by this patch. This mode does not allow
          Ethernet header to be encapsulated in VXLAN-GPE when using ip route to
          specify the encapsulation, IP header is encapsulated instead. The patch
          does support Ethernet to be encapsulated, though, using ETH_P_TEB in
          skb->protocol. This will be utilized by other COLLECT_METADATA users
          (openvswitch in particular).
      
          If there is ever demand for Ethernet encapsulation with VXLAN-GPE using
          ip route, it's easy to add a new flag switching the interface to
          "Ethernet mode" (called "L2 mode" in v1 of this patchset). For now,
          leave this out, it seems we don't need it.
      
          Disallowed more flag combinations, especially RCO with GPE.
          Added comment explaining that GBP and GPE cannot be set together.
      Signed-off-by: NJiri Benc <jbenc@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e1e5314d
    • J
      ip_tunnel: implement __iptunnel_pull_header · a6d5bbf3
      Jiri Benc 提交于
      Allow calling of iptunnel_pull_header without special casing ETH_P_TEB inner
      protocol.
      Signed-off-by: NJiri Benc <jbenc@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a6d5bbf3
    • J
      vxlan: move fdb code to common location in vxlan_xmit · 47e5d1b0
      Jiri Benc 提交于
      Handle VXLAN_F_COLLECT_METADATA before VXLAN_F_PROXY. The latter does not
      make sense with the former, as it needs populated fdb which does not happen
      in metadata mode.
      
      After this cleanup, the fdb code in vxlan_xmit is moved to a common location
      and can be later skipped for VXLAN-GPE which does not necessarily carry
      inner Ethernet header.
      
      v2: changed commit description to not reference L3 mode
      Signed-off-by: NJiri Benc <jbenc@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      47e5d1b0
    • J
      vxlan: move Ethernet initialization to a separate function · 0c867c9b
      Jiri Benc 提交于
      This will allow to initialize vxlan in ARPHRD_NONE mode based on the passed
      rtnl attributes.
      
      v2: renamed "l2mode" to "ether".
      Signed-off-by: NJiri Benc <jbenc@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0c867c9b
    • H
      cxgb4/cxgb4vf: Deprecate module parameter dflt_msg_enable · 8a21ec4e
      Hariprasad Shenai 提交于
      Message level can be set through ethtool, so deprecate module parameter
      which is used to set the same.
      Signed-off-by: NHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8a21ec4e
  2. 06 4月, 2016 32 次提交