mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [patch 4/10] s390: network driver.
Date: Thu, 11 Nov 2004 17:51:06 -0500	[thread overview]
Message-ID: <4193ECDA.4000903@pobox.com> (raw)
In-Reply-To: <20041111171602.GF4900@mschwid3.boeblingen.de.ibm.com>

Martin Schwidefsky wrote:
> [patch 4/10] s390: network driver.
> 
> From: Thomas Spatzier <tspat@de.ibm.com>
> From: Peter Tiedemann <ptiedem@de.ibm.com>
> 
> network driver changes:
>  - qeth: return -EINVAL if an skb is too large.
>  - qeth: don't call netif_stop_queue after cable pull. Drop the
>    packets instead.


You should be using netif_carrier_{on,off} properly, and not drop the 
packets.  When (if) link comes back, you requeue the packets to hardware 
(or hypervisor or whatever).  Your dev->stop() should stop operation and 
clean up anything left in your send/receive {rings | buffers}.

	Jeff



  reply	other threads:[~2004-11-11 22:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11 17:16 Martin Schwidefsky
2004-11-11 22:51 ` Jeff Garzik [this message]
     [not found] <OF66747F56.DA01CD7C-ON42256F4A.00376891-42256F4A.0037821E@LocalDomain>
2004-11-12 10:28 ` Thomas Spatzier
2004-11-14  1:29   ` Jeff Garzik
2004-11-15  7:52     ` Paul Jakma
2004-11-21  8:16       ` Paul Jakma
2004-11-29 15:57       ` Thomas Spatzier
2004-11-29 16:30         ` Paul Jakma
2004-11-29 16:41           ` Thomas Spatzier
2004-11-29 20:27             ` Paul Jakma
2004-11-30  7:22               ` Thomas Spatzier
2004-12-05  6:25                 ` Paul Jakma
2004-12-06 11:27                   ` jamal
2004-12-06 18:44                     ` Paul Jakma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4193ECDA.4000903@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schwidefsky@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome