net/mlx5: fix synchronization on polling Rx completions
[dpdk.git] / drivers / net / mrvl / mrvl_qos.h
index 0fcc85c..ae7508c 100644 (file)
@@ -1,7 +1,9 @@
 /*-
  *   BSD LICENSE
  *
- *   Copyright(c) 2017 Semihalf. All rights reserved.
+ *   Copyright(c) 2017 Marvell International Ltd.
+ *   Copyright(c) 2017 Semihalf.
+ *   All rights reserved.
  *
  *   Redistribution and use in source and binary forms, with or without
  *   modification, are permitted provided that the following conditions
@@ -13,7 +15,7 @@
  *       notice, this list of conditions and the following disclaimer in
  *       the documentation and/or other materials provided with the
  *       distribution.
- *     * Neither the name of Semihalf nor the names of its
+ *     * Neither the name of the copyright holder nor the names of its
  *       contributors may be used to endorse or promote products derived
  *       from this software without specific prior written permission.
  *
@@ -34,7 +36,6 @@
 #define _MRVL_QOS_H_
 
 #include <rte_common.h>
-#include <rte_config.h>
 
 #include "mrvl_ethdev.h"
 
@@ -94,7 +95,7 @@ mrvl_get_qoscfg(const char *key __rte_unused, const char *path,
  * @returns 0 in case of success, negative value otherwise.
  */
 int
-mrvl_configure_rxqs(struct mrvl_priv *priv, uint8_t portid,
+mrvl_configure_rxqs(struct mrvl_priv *priv, uint16_t portid,
                    uint16_t max_queues);
 
 /**