summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-06-17 23:20:27 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-06-18 02:09:20 +0000
commit3860a77e9ff1d945259301045db339667c2c2c6d (patch)
tree509899d8b20b68792a7cc1d9589b10bb145e1e94 /src/plugins
parent39488c8d3064f8940ec4f826629ebb700649e6b5 (diff)
vppinfra: add format_hex_bytes_no_wrap
Type: feature Change-Id: I53e1f05b2b048925fca3b2f6b0499ff9c3e6ee12 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/avf/device.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/avf/device.c b/src/plugins/avf/device.c
index 15af95bbbff..aab81642ac9 100644
--- a/src/plugins/avf/device.c
+++ b/src/plugins/avf/device.c
@@ -564,9 +564,9 @@ avf_op_config_rss_lut (vlib_main_t * vm, avf_device_t * ad)
for (i = 0; i < ad->rss_lut_size; i++)
rl->lut[i] = i % ad->n_rx_queues;
- avf_log_debug (ad, "config_rss_lut: vsi_id %u rss_lut_size %u lut %U",
- rl->vsi_id, rl->lut_entries, format_hex_bytes, rl->lut,
- rl->lut_entries);
+ avf_log_debug (ad, "config_rss_lut: vsi_id %u rss_lut_size %u lut 0x%U",
+ rl->vsi_id, rl->lut_entries, format_hex_bytes_no_wrap,
+ rl->lut, rl->lut_entries);
return avf_send_to_pf (vm, ad, VIRTCHNL_OP_CONFIG_RSS_LUT, msg, msg_len, 0,
0);
@@ -588,8 +588,8 @@ avf_op_config_rss_key (vlib_main_t * vm, avf_device_t * ad)
for (i = 0; i < ad->rss_key_size; i++)
rk->key[i] = (u8) random_u32 (&seed);
- avf_log_debug (ad, "config_rss_key: vsi_id %u rss_key_size %u key %U",
- rk->vsi_id, rk->key_len, format_hex_bytes, rk->key,
+ avf_log_debug (ad, "config_rss_key: vsi_id %u rss_key_size %u key 0x%U",
+ rk->vsi_id, rk->key_len, format_hex_bytes_no_wrap, rk->key,
rk->key_len);
return avf_send_to_pf (vm, ad, VIRTCHNL_OP_CONFIG_RSS_KEY, msg, msg_len, 0,