1. 14 3月, 2016 8 次提交
    • P
      xen-netback: re-import canonical netif header · 6b8abef5
      Paul Durrant 提交于
      The canonical netif header (in the Xen source repo) and the Linux variant
      have diverged significantly. Recently much documentation has been added to
      the canonical header which is highly useful for developers making
      modifications to either xen-netfront or xen-netback. This patch therefore
      re-imports the canonical header in its entirity.
      
      To maintain compatibility and some style consistency with the old Linux
      variant, the header was stripped of its emacs boilerplate, and
      post-processed and copied into place with the following commands:
      
      ed -s netif.h << EOF
      H
      ,s/NETTXF_/XEN_NETTXF_/g
      ,s/NETRXF_/XEN_NETRXF_/g
      ,s/NETIF_/XEN_NETIF_/g
      ,s/XEN_XEN_/XEN_/g
      ,s/netif/xen_netif/g
      ,s/xen_xen_/xen_/g
      ,s/^typedef.*$//g
      ,s/^    /${TAB}/g
      w
      $
      w
      EOF
      
      indent --line-length 80 --linux-style netif.h \
      -o include/xen/interface/io/netif.h
      Signed-off-by: NPaul Durrant <paul.durrant@citrix.com>
      Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
      Cc: David Vrabel <david.vrabel@citrix.com>
      Cc: Wei Liu <wei.liu2@citrix.com>
      Acked-by: NWei Liu <wei.liu2@citrix.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6b8abef5
    • Z
      netconf: add macro to represent all attributes · 136ba622
      Zhang Shengju 提交于
      This patch adds macro NETCONFA_ALL to represent all type of netconf
      attributes for IPv4 and IPv6.
      Signed-off-by: NZhang Shengju <zhangshengju@cmss.chinamobile.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      136ba622
    • X
      sctp: fix the transports round robin issue when init is retransmitted · 39d2adeb
      Xin Long 提交于
      prior to this patch, at the beginning if we have two paths in one assoc,
      they may have the same params other than the last_time_heard, it will try
      the paths like this:
      
      1st cycle
        try trans1 fail.
        then trans2 is selected.(cause it's last_time_heard is after trans1).
      
      2nd cycle:
        try  trans2 fail
        then trans2 is selected.(cause it's last_time_heard is after trans1).
      
      3rd cycle:
        try  trans2 fail
        then trans2 is selected.(cause it's last_time_heard is after trans1).
      
      ....
      
      trans1 will never have change to be selected, which is not what we expect.
      we should keeping round robin all the paths if they are just added at the
      beginning.
      
      So at first every tranport's last_time_heard should be initialized 0, so
      that we ensure they have the same value at the beginning, only by this,
      all the transports could get equal chance to be selected.
      
      Then for sctp_trans_elect_best, it should return the trans_next one when
      *trans == *trans_next, so that we can try next if it fails,  but now it
      always return trans. so we can fix it by exchanging these two params when
      we calls sctp_trans_elect_tie().
      
      Fixes: 4c47af4d ('net: sctp: rework multihoming retransmission path selection to rfc4960')
      Signed-off-by: NXin Long <lucien.xin@gmail.com>
      Acked-by: NDaniel Borkmann <daniel@iogearbox.net>
      Acked-by: NMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      39d2adeb
    • D
      rxrpc: Replace all unsigned with unsigned int · dad8aff7
      David Howells 提交于
      Replace all "unsigned" types with "unsigned int" types.
      Reported-by: NDavid Miller <davem@davemloft.net>
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dad8aff7
    • D
      Merge tag 'wireless-drivers-next-for-davem-2016-03-09' of... · 00e3d2ef
      David S. Miller 提交于
      Merge tag 'wireless-drivers-next-for-davem-2016-03-09' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
      
      Kalle Valo says:
      
      ====================
      wireless-drivers patches for 4.6
      
      Major changes:
      
      ath10k
      
      * dt: add bindings for ipq4019 wifi block
      * start adding support for qca4019 chip
      
      ath9k
      
      * add device ID for Toshiba WLM-20U2/GN-1080
      * allow more than one interface on DFS channels
      
      bcma
      
      * move flash detection code to ChipCommon core driver
      
      brcmfmac
      
      * IPv6 Neighbor discovery offload
      * driver settings that can be populated from different sources
      * country code setting in firmware
      * length checks to validate firmware events
      * new way to determine device memory size needed for BCM4366
      * various offloads during Wake on Wireless LAN (WoWLAN)
      * full Management Frame Protection (MFP) support
      
      iwlwifi
      
      * add support for thermal device / cooling device
      * improvements in scheduled scan without profiles
      * new firmware support (-21.ucode)
      * add MSIX support for 9000 devices
      * enable MU-MIMO and take care of firmware restart
      * add support for large SKBs in mvm to reach A-MSDU
      * add support for filtering frames from a BA session
      * start implementing the new Rx path for 9000 devices
      * enable the new Radio Resource Management (RRM) nl80211 feature flag
      * add a new module paramater to disable VHT
      * build infrastructure for Dynamic Queue Allocation
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      00e3d2ef
    • D
      Merge branch 'net-minor-cleanups-and-optimizations' · f22f5f60
      David S. Miller 提交于
      Alexander Duyck says:
      
      ====================
      A couple of minor clean-ups and optimizations
      
      This patch series is basically just a v2 of a couple patches I recently
      submitted.
      
      The two patches aren't technically related but there are just items I found
      while cleaning up and prepping some further work to enable Tx checksums for
      tunnels.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f22f5f60
    • A
      csum: Update csum_block_add to use rotate instead of byteswap · 33803963
      Alexander Duyck 提交于
      The code for csum_block_add was doing a funky byteswap to swap the even and
      odd bytes of the checksum if the offset was odd.  Instead of doing this we
      can save ourselves some trouble and just shift by 8 as this should have the
      same effect in terms of the final checksum value and only requires one
      instruction.
      
      In addition we can update csum_block_sub to just use csum_block_add with a
      inverse value for csum2.  This way we follow the same code path as
      csum_block_add without having to duplicate it.
      Signed-off-by: NAlexander Duyck <aduyck@mirantis.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      33803963
    • A
      gro: Defer clearing of flush bit in tunnel paths · c194cf93
      Alexander Duyck 提交于
      This patch updates the GRO handlers for GRE, VXLAN, GENEVE, and FOU so that
      we do not clear the flush bit until after we have called the next level GRO
      handler.  Previously this was being cleared before parsing through the list
      of frames, however this resulted in several paths where either the bit
      needed to be reset but wasn't as in the case of FOU, or cases where it was
      being set as in GENEVE.  By just deferring the clearing of the bit until
      after the next level protocol has been parsed we can avoid any unnecessary
      bit twiddling and avoid bugs.
      Signed-off-by: NAlexander Duyck <aduyck@mirantis.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c194cf93
  2. 13 3月, 2016 1 次提交
  3. 12 3月, 2016 17 次提交
  4. 11 3月, 2016 14 次提交