New upstream version 18.05
[deb_dpdk.git] / drivers / net / bnx2x / bnx2x_rxtx.h
index 2e38ec2..94b9e1b 100644 (file)
@@ -1,9 +1,9 @@
 /*
  * Copyright (c) 2013-2015 Brocade Communications Systems, Inc.
  *
- * Copyright (c) 2015 QLogic Corporation.
+ * Copyright (c) 2015-2018 Cavium Inc.
  * All rights reserved.
- * www.qlogic.com
+ * www.cavium.com
  *
  * See LICENSE.bnx2x_pmd for copyright and licensing details.
  */
@@ -41,7 +41,7 @@ struct bnx2x_rx_queue {
        uint16_t                   rx_cq_head;           /**< Index of current rcq bd. */
        uint16_t                   rx_cq_tail;           /**< Index of last rcq bd. */
        uint16_t                   queue_id;             /**< RX queue index. */
-       uint8_t                    port_id;              /**< Device port identifier. */
+       uint16_t                   port_id;              /**< Device port identifier. */
        struct bnx2x_softc           *sc;                  /**< Ptr to dev_private data. */
 };
 
@@ -62,7 +62,7 @@ struct bnx2x_tx_queue {
        uint16_t                   nb_tx_avail;          /**< Number of TX descriptors available. */
        uint16_t                   nb_tx_pages;          /**< number of TX pages */
        uint16_t                   queue_id;             /**< TX queue index. */
-       uint8_t                    port_id;              /**< Device port identifier. */
+       uint16_t                   port_id;              /**< Device port identifier. */
        struct bnx2x_softc           *sc;                  /**< Ptr to dev_private data */
 };