net/sfc: support SW stats groups
[dpdk.git] / drivers / net / mlx5 / windows / mlx5_os.c
index 7e1df1c..149253d 100644 (file)
@@ -566,11 +566,8 @@ mlx5_dev_spawn(struct rte_device *dpdk_dev,
                goto error;
        }
        DRV_LOG(INFO,
-               "port %u MAC address is %02x:%02x:%02x:%02x:%02x:%02x",
-               eth_dev->data->port_id,
-               mac.addr_bytes[0], mac.addr_bytes[1],
-               mac.addr_bytes[2], mac.addr_bytes[3],
-               mac.addr_bytes[4], mac.addr_bytes[5]);
+               "port %u MAC address is " RTE_ETHER_ADDR_PRT_FMT,
+               eth_dev->data->port_id, RTE_ETHER_ADDR_BYTES(&mac));
 #ifdef RTE_LIBRTE_MLX5_DEBUG
        {
                char ifname[MLX5_NAMESIZE];
@@ -1119,6 +1116,7 @@ mlx5_os_net_probe(struct rte_device *dev)
        dev_config.txqs_inline = MLX5_ARG_UNSET;
        dev_config.vf_nl_en = 0;
        dev_config.mr_ext_memseg_en = 1;
+       dev_config.mr_mempool_reg_en = 1;
        dev_config.mprq.max_memcpy_len = MLX5_MPRQ_MEMCPY_DEFAULT_LEN;
        dev_config.mprq.min_rxqs_num = MLX5_MPRQ_MIN_RXQS;
        dev_config.dv_esw_en = 0;