net/ice/base: handle error gracefully in HW table calloc
[dpdk.git] / drivers / raw / ioat / rte_ioat_rawdev.h
index 3babb82..f765a65 100644 (file)
 #include <rte_memory.h>
 #include <rte_memzone.h>
 #include <rte_prefetch.h>
-#include <rte_ioat_spec.h>
+#include "rte_ioat_spec.h"
 
 /** Name of the device driver */
 #define IOAT_PMD_RAWDEV_NAME rawdev_ioat
 /** String reported as the device driver name by rte_rawdev_info_get() */
 #define IOAT_PMD_RAWDEV_NAME_STR "rawdev_ioat"
-/** Name used to adjust the log level for this driver */
-#define IOAT_PMD_LOG_NAME "rawdev.ioat"
 
 /**
  * Configuration structure for an ioat rawdev instance
@@ -124,8 +122,7 @@ rte_ioat_enqueue_copy(int dev_id, phys_addr_t src, phys_addr_t dst,
        desc->src_addr = src;
        desc->dest_addr = dst;
 
-       ioat->hdls[write] = _mm_set_epi64((__m64)((uint64_t)dst_hdl),
-                       (__m64)((uint64_t)src_hdl));
+       ioat->hdls[write] = _mm_set_epi64x((int64_t)dst_hdl, (int64_t)src_hdl);
        rte_prefetch0(&ioat->desc_ring[ioat->next_write & mask]);
 
        ioat->enqueued++;