From: Yuval Shaia <yuval.shaia-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
To: Jason Gunthorpe
<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] ib_ipoib: CSUM support in connected mode
Date: Wed, 8 Oct 2014 13:40:29 +0300 [thread overview]
Message-ID: <20141008104028.GA4109@yuval-lab> (raw)
In-Reply-To: <20141005223500.GB31716-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
On Sun, Oct 05, 2014 at 04:35:00PM -0600, Jason Gunthorpe wrote:
> On Sat, Oct 04, 2014 at 04:45:47AM -0700, Yuval Shaia wrote:
>
> > + if (cm_ibcrc_as_csum)
> > + skb->ip_summed = CHECKSUM_UNNECESSARY;
> > +
>
> As I said before, I think this scheme should be using CHECKSUM_PARTIAL
> so packets can be forwarded correctly.
>
> * PARTIAL: identical to the case for output below. This may occur
> * on a packet received directly from another Linux OS, e.g.,
> * a virtualised Linux kernel on the same host. The packet can
> * be treated in the same way as UNNECESSARY except that on
> * output (i.e., forwarding) the checksum must be filled in
> * by the OS or the hardware.
>
> Which is exactly what we want.
Will do, thanks.
This is in case this code runs on bridge, right?
>
> Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-10-08 10:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-04 11:45 [PATCH] ib_ipoib: CSUM support in connected mode Yuval Shaia
[not found] ` <1412423147-8402-1-git-send-email-yuval.shaia-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2014-10-05 2:09 ` Yuval Shaia
2014-10-05 22:35 ` Jason Gunthorpe
[not found] ` <20141005223500.GB31716-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2014-10-08 10:40 ` Yuval Shaia [this message]
2014-10-08 17:14 ` Jason Gunthorpe
2014-10-08 18:34 ` Chuck Lever
[not found] ` <56F82BF9-AD6E-4402-95E7-C4C92B104BB3-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2014-10-09 20:13 ` Yuval Shaia
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=20141008104028.GA4109@yuval-lab \
--to=yuval.shaia-qhclzuegtsvqt0dzr+alfa@public.gmane.org \
--cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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