summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/dpa/dpaa_eth.h
diff options
context:
space:
mode:
authorIoana Radulescu <ruxandra.radulescu@freescale.com>2013-03-22 23:26:58 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-04-16 21:00:51 (GMT)
commit4c914d1aa1da3d1384ada91701d9ecd32abed08a (patch)
tree6b8ed2bf0fe7e0aefe3946d2222ed43f6aa16d24 /drivers/net/ethernet/freescale/dpa/dpaa_eth.h
parent95157758869df4eea98ea4b286a153c66243e87c (diff)
downloadlinux-fsl-qoriq-4c914d1aa1da3d1384ada91701d9ecd32abed08a.tar.xz
dpaa_eth: Update PR processing routine on Rx path
Make several changes to the logic of the parse results processing function on the Rx path. Currently all frames with a parser header error are received on the error frame queue, so the processing of PR on the default rx path doesn't need to check for header errors. Remove both the checks and a counter that was supposed to count frames with an invalid L4 header. Change-Id: Ibe7eb9957e1a0c78abf8445f758067340b48cd86 Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/1279 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa/dpaa_eth.h')
-rw-r--r--drivers/net/ethernet/freescale/dpa/dpaa_eth.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth.h b/drivers/net/ethernet/freescale/dpa/dpaa_eth.h
index c12f90d..5b7280b 100644
--- a/drivers/net/ethernet/freescale/dpa/dpaa_eth.h
+++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth.h
@@ -339,13 +339,6 @@ struct dpa_percpu_priv_s {
u32 tx_confirm;
/* fragmented (non-linear) skbuffs received from the stack */
u32 tx_frag_skbuffs;
- /*
- * Frames identified as L4 packets (by FMan's Hardware Parser, but for
- * which the parsing failed due to some error condition. If we come
- * across such frames, we drop them instead of passing them up the
- * stack, which means the L4 stats in the stack won't increment.
- */
- u32 l4_hxs_errors;
struct net_device_stats stats;
struct dpa_rx_errors rx_errors;
struct dpa_ern_cnt ern_cnt;
@@ -419,7 +412,7 @@ int __hot dpa_tx(struct sk_buff *skb, struct net_device *net_dev);
struct sk_buff *_dpa_cleanup_tx_fd(const struct dpa_priv_s *priv,
const struct qm_fd *fd);
-int __hot _dpa_process_parse_results(const t_FmPrsResult *parse_results,
+void __hot _dpa_process_parse_results(const t_FmPrsResult *parse_results,
const struct qm_fd *fd,
struct sk_buff *skb,
int *use_gro,