net/virtio-user: fix crash in server mode
[dpdk.git] / drivers / net / qede / qede_if.h
index 1f97b59..01f17c9 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2016 QLogic Corporation.
+ * Copyright (c) 2016 - 2018 Cavium Inc.
  * All rights reserved.
- * www.qlogic.com
+ * www.cavium.com
  *
  * See LICENSE.qede_pmd for copyright and licensing details.
  */
@@ -40,6 +40,7 @@ struct qed_dev_info {
 #define QED_MFW_VERSION_3_OFFSET       24
 
        uint32_t flash_size;
+       bool b_arfs_capable;
        bool b_inter_pf_switch;
        bool tx_switching;
        u16 mtu;
@@ -103,7 +104,7 @@ struct qed_link_output {
        uint32_t speed;         /* In Mb/s */
        uint32_t adv_speed;     /* Speed mask */
        uint8_t duplex;         /* In DUPLEX defs */
-       uint8_t port;           /* In PORT defs */
+       uint16_t port;          /* In PORT defs */
        bool autoneg;
        uint32_t pause_config;