1. 26 4月, 2007 7 次提交
  2. 03 3月, 2007 1 次提交
  3. 06 2月, 2007 1 次提交
  4. 09 1月, 2007 3 次提交
  5. 08 1月, 2007 1 次提交
    • H
      qeth: fix uaccess handling and get rid of unused variable · 3a6b95c8
      Heiko Carstens 提交于
      [patch] qeth: fix uaccess handling and get rid of unused variable
      
      drivers/s390/net/qeth_main.c: In function `qeth_process_inbound_buffer':
      drivers/s390/net/qeth_main.c:2563: warning: unused variable `vlan_addr'
      
      include/asm/uaccess.h: In function `qeth_do_ioctl':
      drivers/s390/net/qeth_main.c:4847: warning:
       ignoring return value of `copy_to_user'
      drivers/s390/net/qeth_main.c:4849: warning:
       ignoring return value of `copy_to_user'
      drivers/s390/net/qeth_main.c:4996: warning:
       ignoring return value of `copy_to_user'
      
      Cc: Frank Pavlic <fpavlic@de.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      3a6b95c8
  6. 07 12月, 2006 1 次提交
  7. 04 12月, 2006 1 次提交
  8. 29 9月, 2006 1 次提交
  9. 17 9月, 2006 5 次提交
    • F
      [PATCH] s390: qeth driver fixes [6/6] · 8b98a37c
      Frank Pavlic 提交于
      [PATCH 9/9] s390: qeth driver fixes [6/6]
      
      From: Frank Pavlic <fpavlic@de.ibm.com>
      	- Hipersockets has no IPV6 support, thus prevent issueing
      	  SETRTG_IPV6 control commands on Hipersockets devices.
      	- fixed error handling in qeth_sysfs_(un)register
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      8b98a37c
    • F
      [PATCH] s390: qeth driver fixes [5/6] · f956b690
      Frank Pavlic 提交于
      [PATCH 8/9] s390: qeth driver fixes [5/6]
      
      From: Frank Pavlic <fpavlic@de.ibm.com>
      	fix kernel panic in qdio queue handling.
      	qeth_qdio_clear_card() could be invoked by 2 CPUs
      	simultaneously (for example reboot event and recovery).
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      f956b690
    • F
      [PATCH] s390: qeth driver fixes [4/6] · 09d2d38a
      Frank Pavlic 提交于
      [PATCH 7/9] s390: qeth driver fixes [4/6]
      
      From: Frank Pavlic <fpavlic@de.ibm.com>
      	- fix kernel crash due to race,
      	  set card->state to SOFTSETUP after
      	  card and card->dev are initialized properly.
      	- remove CONFIG_QETH_PERF_STATS, use sysfs attribute instead,
      	  as we want to have the ability to turn on/off the
      	  statistics at runtime.
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      09d2d38a
    • F
      [PATCH] s390: qeth driver fixes [3/6] · f7b65d70
      Frank Pavlic 提交于
      [PATCH 6/9] s390: qeth driver fixes [3/6]
      
      From: Frank Pavlic <fpavlic@de.ibm.com>
             	fixed kernel panic caused by qeth driver:
              Using a bonding device qeth driver will realloc
              headroom for every skb coming from the bond device.
              Once this happens qeth frees the original skb and
              set the skb pointer to the new realloced skb.
              Under heavy transmit workload (e.g.UDP streams) through bond
              network device the qdio output queue might get full.
              In this case we return with EBUSY from qeth_send_packet.
              Returning to qeth_hard_start_xmit routine
              the skb address on the stack still points to the old address,
              which has been freed before.
              Returning from qeth_hard_start_xmit with EBUSY results in
              requeuing the skb. In this case it corrupts the qdisc queue
              and results in kernel panic.
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      f7b65d70
    • F
      [PATCH] s390: qeth driver fixes [1/6] · 330b6369
      Frank Pavlic 提交于
      [PATCH 4/9] s390: qeth driver fixes [1/6]
      
      From: Frank Pavlic <fpavlic@de.ibm.com>
      	- Drop incoming packets with vlan_tag set
                if card->vlangrp is not set.
              - use always vlan_hwaccel_rx to pass
      	  vlan frames to the stack.
              - fix recovery problem. Device was recovered
      	  properly but still not working.
      	  netif_carrier_on call right before
                recovery start fixes it.
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      330b6369
  10. 20 8月, 2006 1 次提交
  11. 18 7月, 2006 1 次提交
  12. 12 7月, 2006 1 次提交
  13. 11 7月, 2006 1 次提交
  14. 09 7月, 2006 1 次提交
  15. 04 7月, 2006 1 次提交
  16. 01 7月, 2006 1 次提交
  17. 23 6月, 2006 1 次提交
    • H
      [NET]: Merge TSO/UFO fields in sk_buff · 7967168c
      Herbert Xu 提交于
      Having separate fields in sk_buff for TSO/UFO (tso_size/ufo_size) is not
      going to scale if we add any more segmentation methods (e.g., DCCP).  So
      let's merge them.
      
      They were used to tell the protocol of a packet.  This function has been
      subsumed by the new gso_type field.  This is essentially a set of netdev
      feature bits (shifted by 16 bits) that are required to process a specific
      skb.  As such it's easy to tell whether a given device can process a GSO
      skb: you just have to and the gso_type field and the netdev's features
      field.
      
      I've made gso_type a conjunction.  The idea is that you have a base type
      (e.g., SKB_GSO_TCPV4) that can be modified further to support new features.
      For example, if we add a hardware TSO type that supports ECN, they would
      declare NETIF_F_TSO | NETIF_F_TSO_ECN.  All TSO packets with CWR set would
      have a gso_type of SKB_GSO_TCPV4 | SKB_GSO_TCPV4_ECN while all other TSO
      packets would be SKB_GSO_TCPV4.  This means that only the CWR packets need
      to be emulated in software.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7967168c
  18. 27 5月, 2006 3 次提交
    • J
      [netdrvr s/390] trim trailing whitespace · e82b0f2c
      Jeff Garzik 提交于
      Previous fix patches added a bunch of trailing whitespace,
      which git-applymbox complained loudly about.
      e82b0f2c
    • U
      [PATCH] s390: qeth driver fixes · ba1aa084
      Ursula Braun 提交于
      From: Frank Blaschka <Frank.Blaschka@de.ibm.com>
      From: Frank Pavlic <fpavlic@de.ibm.com>
      
              - fix fake_ll during initial device bringup. fake_ll was
      	  not active after first start of the device.
      	  Problem only occured when qeth was built without IPV6 support.
              - avoid skb usage after invocation of qeth_flush_buffers,
      	  because skb might already be freed.
              - remove yet another useless netif_wake_queue in
      	  qeth_softsetup_ipv6 since this function is only called
      	  when device is going online. In this case card->state will
      	  never be in state UP. So let the net_device queue down .
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      ba1aa084
    • U
      [PATCH] s390: qeth driver fixes · b85e1fa1
      Ursula Braun 提交于
      From: Frank Pavlic <fpavlic@de.ibm.com>
      
      	- correct checking of sscanf-%n value in qeth_string_to_ipaddr().
      	- don't use netif_stop_queue outside the hard_start_xmit routine.
      	  Rather use netif_tx_disable.
      	- don't call qeth_netdev_init on a recovery.
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      b85e1fa1
  19. 02 5月, 2006 1 次提交
  20. 24 3月, 2006 1 次提交
  21. 23 3月, 2006 3 次提交
    • F
      [PATCH] s390: qeth :allow setting of attribute "route6" to "no_router". · def720e6
      Frank Pavlic 提交于
      [patch 4/6] s390: qeth :allow setting of attribute "route6" to "no_router".
      
      From: Ursula Braun <braunu@de.ibm.com>
      	when setting route6 attribute back to no_router qeth does not
      	issue an IP ASSIST command to reset router value to no_router.
      	Once primary_router is set device stays in this mode.
      	Issue an IP ASSIST command when no_router is set in route6.
      	Device will be reset and thus will not longer run as a primary
      	router.
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      
      diffstat:
       qeth_main.c |    5 -----
       1 files changed, 5 deletions(-)
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      def720e6
    • F
      [PATCH] s390: qeth driver cleanups · 1380fee2
      Frank Pavlic 提交于
      [patch 3/6] s390: qeth driver cleanups
      
      From: Ursula Braun <braunu@de.ibm.com>
      	- code analyzing tool BEAM has found some unreachable
      	  and unnecessary statements and also conditions
      	  which are always true.
      	- removed some useless MII code since OSA card will never
      	  allow to set such values.
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      
      diffstat:
       qeth_main.c |   49 ++++---------------------------------------------
       qeth_proc.c |   18 +++++++++---------
       qeth_sys.c  |    2 +-
       3 files changed, 14 insertions(+), 55 deletions(-)
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      1380fee2
    • F
      [PATCH] s390: qeth driver statistics fixes · 95f6b5a1
      Frank Pavlic 提交于
      [patch 2/6] s390: qeth driver statistics fixes
      
      From: Ursula Braun <braunu@de.ibm.com>
      	- display "unsigned int" values in /proc/qeth_perf with %u instead of %i
      	- omit qdio header length when increasing card->stats.tx_bytes
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      
      diffstat:
      qeth_main.c |    3 ++-
       qeth_proc.c |   38 +++++++++++++++++++-------------------
       2 files changed, 21 insertions(+), 20 deletions(-)
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      95f6b5a1
  22. 18 2月, 2006 1 次提交
    • F
      [PATCH] s390: some qeth driver fixes · 66cc5d5a
      Frank Pavlic 提交于
      [patch 2/2] s390: some qeth driver fixes
      
      From: Frank Pavlic <fpavlic@de.ibm.com>
      	- fixed kernel panic when using EDDP support in Layer 2 mode
      	- NULL pointer exception in qeth_set_offline fixed.
      	- setting EDDP in Layer 2 mode did not set NETIF_F_(SG/TSO)
      	  flags when device became online.
      	- use sscanf for parsing and converting IPv4 addresses
      	  from string to __u8 values.
      	- qeth_string_to_ipaddr6 fixed. in case of double colon
      	  the converted IPv6 address out from the string was not correct
      	  in previous implementation.
      Signed-off-by: NFrank Pavlic <fpavlic@de.ibm.com>
      
      diffstat:
       qeth.h      |  112 +++++++++++++++++++++++++-----------------------------------
       qeth_eddp.c |   11 ++++-
       qeth_main.c |   17 +++------
       3 files changed, 63 insertions(+), 77 deletions(-)
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      66cc5d5a
  23. 02 2月, 2006 1 次提交
  24. 07 1月, 2006 1 次提交