net/bnxt: support Thor WC TCAM
[dpdk.git] / drivers / net / tap / rte_eth_tap.h
index dc3579a..a98ea11 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <linux/if_tun.h>
 
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
 #include <rte_ether.h>
 #include <rte_gso.h>
 #include "tap_log.h"
@@ -70,8 +70,8 @@ struct pmd_internals {
        char remote_iface[RTE_ETH_NAME_MAX_LEN]; /* Remote netdevice name */
        char name[RTE_ETH_NAME_MAX_LEN];  /* Internal Tap device name */
        int type;                         /* Type field - TUN|TAP */
-       struct ether_addr eth_addr;       /* Mac address of the device port */
-       struct ifreq remote_initial_flags;   /* Remote netdevice flags on init */
+       struct rte_ether_addr eth_addr;   /* Mac address of the device port */
+       struct ifreq remote_initial_flags;/* Remote netdevice flags on init */
        int remote_if_index;              /* remote netdevice IF_INDEX */
        int if_index;                     /* IF_INDEX for the port */
        int ioctl_sock;                   /* socket for ioctl calls */
@@ -91,6 +91,7 @@ struct pmd_internals {
        struct tx_queue txq[RTE_PMD_TAP_MAX_QUEUES]; /* List of TX queues */
        struct rte_intr_handle intr_handle;          /* LSC interrupt handle. */
        int ka_fd;                        /* keep-alive file descriptor */
+       struct rte_mempool *gso_ctx_mp;     /* Mempool for GSO packets */
 };
 
 struct pmd_process_private {