Netdev List
 help / color / mirror / Atom feed
From: Yuval Mintz <Yuval.Mintz@cavium.com>
To: <davem@davemloft.net>, <netdev@vger.kernel.org>
Cc: Yuval Mintz <Yuval.Mintz@cavium.com>
Subject: [PATCH net-next 07/12] qede: Remove unnecessary datapath dereference
Date: Sun, 1 Jan 2017 13:57:06 +0200	[thread overview]
Message-ID: <1483271831-25890-8-git-send-email-Yuval.Mintz@cavium.com> (raw)
In-Reply-To: <1483271831-25890-1-git-send-email-Yuval.Mintz@cavium.com>

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
---
 drivers/net/ethernet/qlogic/qede/qede_fp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/qlogic/qede/qede_fp.c b/drivers/net/ethernet/qlogic/qede/qede_fp.c
index dddae1e..1a6ca48 100644
--- a/drivers/net/ethernet/qlogic/qede/qede_fp.c
+++ b/drivers/net/ethernet/qlogic/qede/qede_fp.c
@@ -622,7 +622,7 @@ static inline void qede_skb_receive(struct qede_dev *edev,
 		__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag);
 
 	napi_gro_receive(&fp->napi, skb);
-	fp->rxq->rcv_pkts++;
+	rxq->rcv_pkts++;
 }
 
 static void qede_set_gro_params(struct qede_dev *edev,
-- 
1.9.3

  parent reply	other threads:[~2017-01-01 11:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-01 11:56 [PATCH net-next 00/12] qed*: Driver updates Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 01/12] qed*: Update to dual-license Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 02/12] qede: Break datapath logic into its own file Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 03/12] qede: Split filtering logic to " Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 04/12] qed*: Change maximal number of queues Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 05/12] qede: Postpone reallocation until NAPI end Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 06/12] qede - mark SKB as encapsulated Yuval Mintz
2017-01-01 11:57 ` Yuval Mintz [this message]
2017-01-01 11:57 ` [PATCH net-next 08/12] qed*: RSS indirection based on queue-handles Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 09/12] qed*: Add support for ndo_set_vf_trust Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 10/12] qed: Support Multicast on Tx-switching Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 11/12] qed: Conserve RDMA resources when !QEDR Yuval Mintz
2017-01-01 11:57 ` [PATCH net-next 12/12] qed*: Advance driver versions to 8.10.10.20 Yuval Mintz

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=1483271831-25890-8-git-send-email-Yuval.Mintz@cavium.com \
    --to=yuval.mintz@cavium.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