From: frank.blaschka@de•ibm.com
To: davem@davemloft•net
Cc: netdev@vger•kernel.org, linux-s390@vger•kernel.org
Subject: [patch 3/4] [PATCH] qeth: l3 add vlan hdr in passthru frames
Date: Wed, 08 Dec 2010 13:58:00 +0100 [thread overview]
Message-ID: <20101208125844.654432859@de.ibm.com> (raw)
In-Reply-To: 20101208125757.726629855@de.ibm.com
[-- Attachment #1: 606-qeth-vlan-passthru.diff --]
[-- Type: text/plain, Size: 711 bytes --]
From: Frank Blaschka <frank.blaschka@de•ibm.com>
OSA l3 mode is hw accelerated VLAN only for IPv4. Take care we
add the vlan hdr to a passthru frame in the device driver.
Signed-off-by: Frank Blaschka <frank.blaschka@de•ibm.com>
---
drivers/s390/net/qeth_l3_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -3115,7 +3115,7 @@ static int qeth_l3_hard_start_xmit(struc
skb_pull(new_skb, ETH_HLEN);
}
- if (ipv == 6 && card->vlangrp &&
+ if (ipv != 4 && card->vlangrp &&
vlan_tx_tag_present(new_skb)) {
skb_push(new_skb, VLAN_HLEN);
skb_copy_to_linear_data(new_skb, new_skb->data + 4, 4);
next prev parent reply other threads:[~2010-12-08 12:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-08 12:57 [patch 0/4] s390: qeth patches for net-next frank.blaschka
2010-12-08 12:57 ` [patch 1/4] [PATCH] qeth: support ipv6 query arp cache for HiperSockets frank.blaschka
2010-12-08 12:57 ` [patch 2/4] [PATCH] qeth: support VIPA add/del in offline mode frank.blaschka
2010-12-08 12:58 ` frank.blaschka [this message]
2010-12-08 12:58 ` [patch 4/4] [PATCH] qeth: buffer count imbalance frank.blaschka
2010-12-10 22:29 ` [patch 0/4] s390: qeth patches for net-next 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=20101208125844.654432859@de.ibm.com \
--to=frank.blaschka@de$(echo .)ibm.com \
--cc=davem@davemloft$(echo .)net \
--cc=linux-s390@vger$(echo .)kernel.org \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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