DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] i40e: fix flag sent to mac_address_write
@ 2018-01-10 22:40 Igor Ryzhov
  2018-01-11  8:12 ` Xing, Beilei
  2018-01-11 10:07 ` [dpdk-dev] [PATCH v2] net/i40e: " Igor Ryzhov
  0 siblings, 2 replies; 8+ messages in thread
From: Igor Ryzhov @ 2018-01-10 22:40 UTC (permalink / raw)
  To: dev

Use the same value as in Linux driver.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
---
 drivers/net/i40e/i40e_ethdev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 285d92b..93b9dd0 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -10795,8 +10795,7 @@ static void i40e_set_default_mac_addr(struct rte_eth_dev *dev,
 		return;
 	}
 
-	/* Flags: 0x3 updates port address */
-	i40e_aq_mac_address_write(hw, 0x3, mac_addr->addr_bytes, NULL);
+	i40e_aq_mac_address_write(hw, I40E_AQC_WRITE_TYPE_LAA_WOL, mac_addr->addr_bytes, NULL);
 }
 
 static int
-- 
2.6.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-15 16:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-10 22:40 [dpdk-dev] [PATCH] i40e: fix flag sent to mac_address_write Igor Ryzhov
2018-01-11  8:12 ` Xing, Beilei
2018-01-11 10:07 ` [dpdk-dev] [PATCH v2] net/i40e: " Igor Ryzhov
2018-01-12  2:22   ` Xing, Beilei
2018-01-15  8:32     ` Igor Ryzhov
2018-01-15  8:32   ` [dpdk-dev] [PATCH v3] " Igor Ryzhov
2018-01-15 10:18     ` Xing, Beilei
2018-01-15 16:03       ` Zhang, Helin

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).