diff options
author | Dan McDonald <danmcd@joyent.com> | 2022-03-28 11:09:39 -0400 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2022-03-29 09:41:10 -0400 |
commit | 6158afa44672def05b584840435f36f75f5a291f (patch) | |
tree | eaa9b32f187b5941e3209ae07e3c3d86ae03b47d | |
parent | 7d6cab3f0d6a4cea17d062d3a93e223b15de705c (diff) | |
download | illumos-joyent-6158afa44672def05b584840435f36f75f5a291f.tar.gz |
14597 i40e debug code prints MAC addresses oddly
Reviewed by: Yuri Pankov <ypankov@tintri.com>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
-rw-r--r-- | usr/src/uts/common/io/i40e/i40e_gld.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/src/uts/common/io/i40e/i40e_gld.c b/usr/src/uts/common/io/i40e/i40e_gld.c index 5e4bee98f9..e1be82581a 100644 --- a/usr/src/uts/common/io/i40e/i40e_gld.c +++ b/usr/src/uts/common/io/i40e/i40e_gld.c @@ -11,7 +11,7 @@ /* * Copyright 2015 OmniTI Computer Consulting, Inc. All rights reserved. - * Copyright (c) 2018, Joyent, Inc. + * Copyright 2022 Joyent, Inc. * Copyright 2017 Tegile Systems, Inc. All rights reserved. * Copyright 2020 Ryan Zezeski * Copyright 2020 RackTop Systems, Inc. @@ -81,7 +81,7 @@ i40e_group_remove_mac(void *arg, const uint8_t *mac_addr) if (i40e_aq_remove_macvlan(hw, iua->iua_vsi, &filt, 1, NULL) != I40E_SUCCESS) { i40e_error(i40e, "failed to remove mac address " - "%2x:%2x:%2x:%2x:%2x:%2x from unicast filter: %d", + "%02x:%02x:%02x:%02x:%02x:%02x from unicast filter: %d", mac_addr[0], mac_addr[1], mac_addr[2], mac_addr[3], mac_addr[4], mac_addr[5], filt.error_code); ret = EIO; @@ -149,7 +149,7 @@ i40e_group_add_mac(void *arg, const uint8_t *mac_addr) if ((ret = i40e_aq_add_macvlan(hw, rxg->irg_vsi_seid, &filt, 1, NULL)) != I40E_SUCCESS) { i40e_error(i40e, "failed to add mac address " - "%2x:%2x:%2x:%2x:%2x:%2x to unicast filter: %d", + "%02x:%02x:%02x:%02x:%02x:%02x to unicast filter: %d", mac_addr[0], mac_addr[1], mac_addr[2], mac_addr[3], mac_addr[4], mac_addr[5], ret); ret = EIO; @@ -316,7 +316,7 @@ i40e_multicast_add(i40e_t *i40e, const uint8_t *multicast_address) if ((ret = i40e_aq_add_macvlan(hw, I40E_DEF_VSI_SEID(i40e), &filt, 1, NULL)) != I40E_SUCCESS) { i40e_error(i40e, "failed to add mac address " - "%2x:%2x:%2x:%2x:%2x:%2x to multicast filter: %d", + "%02x:%02x:%02x:%02x:%02x:%02x to multicast filter: %d", multicast_address[0], multicast_address[1], multicast_address[2], multicast_address[3], multicast_address[4], multicast_address[5], @@ -357,7 +357,7 @@ i40e_multicast_remove(i40e_t *i40e, const uint8_t *multicast_address) if (i40e_aq_remove_macvlan(hw, I40E_DEF_VSI_SEID(i40e), &filt, 1, NULL) != I40E_SUCCESS) { i40e_error(i40e, "failed to remove mac address " - "%2x:%2x:%2x:%2x:%2x:%2x from multicast " + "%02x:%02x:%02x:%02x:%02x:%02x from multicast " "filter: %d", multicast_address[0], multicast_address[1], multicast_address[2], multicast_address[3], |