DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shelton Chia <jiaxt@sinogrid.com>
To: <dev@dpdk.org>
Cc: letaotor@gmail.com
Subject: [dpdk-dev] [PATCH] ixgbe: fix LSC callback
Date: Tue, 1 Sep 2015 14:21:30 +0800	[thread overview]
Message-ID: <1441088490-9420-1-git-send-email-jiaxt@sinogrid.com> (raw)

add _rte_eth_dev_callback_process to call callback func

Signed-off-by: Shelton Chia <jiaxt@sinogrid.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index b8ee1e9..4e4c118 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -2775,6 +2775,8 @@ ixgbe_dev_interrupt_action(struct rte_eth_dev *dev)
 
 		ixgbe_dev_link_status_print(dev);
 
+		__rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC);
+
 		intr_enable_delay = true;
 	}
 
-- 
2.5.0

             reply	other threads:[~2015-09-01  6:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-01  6:21 Shelton Chia [this message]
2015-09-01  7:42 ` Lu, Wenzhuo
2015-09-01  8:09   ` 贾学涛
2015-09-01  8:38     ` 贾学涛

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=1441088490-9420-1-git-send-email-jiaxt@sinogrid.com \
    --to=jiaxt@sinogrid.com \
    --cc=dev@dpdk.org \
    --cc=letaotor@gmail.com \
    /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).