netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Kravkov <Dmitry.Kravkov@qlogic.com>
To: <netdev@vger.kernel.org>, <davem@davemloft.net>
Cc: <dan.carpenter@oracle.com>, Dmitry Kravkov <Dmitry.Kravkov@qlogic.com>
Subject: [PATCH net-next 2/2] bnx2x: fix tunneled GSO over IPv6
Date: Thu, 28 Aug 2014 16:54:24 +0300	[thread overview]
Message-ID: <1409234064-20619-2-git-send-email-Dmitry.Kravkov@qlogic.com> (raw)
In-Reply-To: <1409234064-20619-1-git-send-email-Dmitry.Kravkov@qlogic.com>

Set correct bit for packed description.

Introduced in e42780b66aab88d3a82b6087bcd6095b90eecde7
    bnx2x: Utilize FW 7.10.51

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dmitry Kravkov <Dmitry.Kravkov@qlogic.com>
---
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
index a54ac45..2a08613 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
@@ -3651,7 +3651,7 @@ static void bnx2x_update_pbds_gso_enc(struct sk_buff *skb,
 		pbd2->fw_ip_hdr_to_payload_w =
 			hlen_w - ((sizeof(struct ipv6hdr)) >> 1);
 		pbd_e2->data.tunnel_data.flags |=
-			1 /*IPv6*/ << ETH_TUNNEL_DATA_IP_HDR_TYPE_OUTER;
+			ETH_TUNNEL_DATA_IP_HDR_TYPE_OUTER;
 	}
 
 	pbd2->tcp_send_seq = bswab32(inner_tcp_hdr(skb)->seq);
-- 
1.9.3

  reply	other threads:[~2014-08-28 13:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 13:54 [PATCH net-next 1/2] bnx2x: prevent incorrect byte-swap in BE Dmitry Kravkov
2014-08-28 13:54 ` Dmitry Kravkov [this message]
2014-09-02  0:54   ` [PATCH net-next 2/2] bnx2x: fix tunneled GSO over IPv6 David Miller
2014-09-02  0:54 ` [PATCH net-next 1/2] bnx2x: prevent incorrect byte-swap in BE David Miller

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=1409234064-20619-2-git-send-email-Dmitry.Kravkov@qlogic.com \
    --to=dmitry.kravkov@qlogic.com \
    --cc=dan.carpenter@oracle.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).