From: Madalin Bucur <madalin.bucur@nxp.com>
To: <netdev@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <davem@davemloft.net>,
<camelia.groza@nxp.com>, <linuxppc-dev@lists.ozlabs.org>,
Madalin Bucur <madalin.bucur@nxp.com>
Subject: [PATCH 1/9] fsl/fman: parse result data is big endian
Date: Tue, 21 Feb 2017 13:52:46 +0200 [thread overview]
Message-ID: <1487677974-13678-2-git-send-email-madalin.bucur@nxp.com> (raw)
In-Reply-To: <1487677974-13678-1-git-send-email-madalin.bucur@nxp.com>
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
---
drivers/net/ethernet/freescale/fman/fman.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ethernet/freescale/fman/fman.h b/drivers/net/ethernet/freescale/fman/fman.h
index 57aae8d..f53e147 100644
--- a/drivers/net/ethernet/freescale/fman/fman.h
+++ b/drivers/net/ethernet/freescale/fman/fman.h
@@ -134,14 +134,14 @@ enum fman_exceptions {
struct fman_prs_result {
u8 lpid; /* Logical port id */
u8 shimr; /* Shim header result */
- u16 l2r; /* Layer 2 result */
- u16 l3r; /* Layer 3 result */
+ __be16 l2r; /* Layer 2 result */
+ __be16 l3r; /* Layer 3 result */
u8 l4r; /* Layer 4 result */
u8 cplan; /* Classification plan id */
- u16 nxthdr; /* Next Header */
- u16 cksum; /* Running-sum */
+ __be16 nxthdr; /* Next Header */
+ __be16 cksum; /* Running-sum */
/* Flags&fragment-offset field of the last IP-header */
- u16 flags_frag_off;
+ __be16 flags_frag_off;
/* Routing type field of a IPV6 routing extension header */
u8 route_type;
/* Routing Extension Header Present; last bit is IP valid */
--
2.1.0
next prev parent reply other threads:[~2017-02-21 11:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-21 11:52 [PATCH 0/9] QorIQ DPAA 1 updates Madalin Bucur
2017-02-21 11:52 ` Madalin Bucur [this message]
2017-02-21 11:52 ` [PATCH 2/9] fsl/fman: set HW parser as BMI next engine Madalin Bucur
2017-02-21 11:52 ` [PATCH 3/9] fsl/fman: remove wrong free Madalin Bucur
2017-02-21 11:52 ` [PATCH 4/9] fsl/fman: enlarge FIFO to allow for the 5th port Madalin Bucur
2017-02-21 11:52 ` [PATCH 5/9] dpaa_eth: remove redundant initialization Madalin Bucur
2017-02-21 11:52 ` [PATCH 6/9] dpaa_eth: enable Rx checksum offload Madalin Bucur
2017-02-21 11:52 ` [PATCH 7/9] dpaa_eth: do not ignore port api return value Madalin Bucur
2017-02-21 11:52 ` [PATCH 8/9] dpaa_eth: add four prioritised Tx traffic classes Madalin Bucur
2017-02-21 11:52 ` [PATCH 9/9] dpaa_eth: enable multiple " Madalin Bucur
2017-02-21 18:19 ` [PATCH 0/9] QorIQ DPAA 1 updates David Miller
2017-02-22 8:01 ` Madalin-Cristian Bucur
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=1487677974-13678-2-git-send-email-madalin.bucur@nxp.com \
--to=madalin.bucur@nxp.com \
--cc=camelia.groza@nxp.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--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
all inboxes | Powered by JetHome®