]> git.proxmox.com Git - mirror_ovs.git/blobdiff - lib/netdev-provider.h
cirrus: Use FreeBSD 12.2.
[mirror_ovs.git] / lib / netdev-provider.h
index 00677dc9dbcd62d638e3636d9381a24f6a9d9ba8..73dce2fcab8d93c9776fe50ee7d5d5d483c1121c 100644 (file)
@@ -41,7 +41,8 @@ enum netdev_ol_flags {
     NETDEV_TX_OFFLOAD_IPV4_CKSUM = 1 << 0,
     NETDEV_TX_OFFLOAD_TCP_CKSUM = 1 << 1,
     NETDEV_TX_OFFLOAD_UDP_CKSUM = 1 << 2,
-    NETDEV_TX_OFFLOAD_TCP_TSO = 1 << 3,
+    NETDEV_TX_OFFLOAD_SCTP_CKSUM = 1 << 3,
+    NETDEV_TX_OFFLOAD_TCP_TSO = 1 << 4,
 };
 
 /* A network device (e.g. an Ethernet device).
@@ -95,7 +96,8 @@ struct netdev {
 
     /* Functions to control flow offloading. */
     OVSRCU_TYPE(const struct netdev_flow_api *) flow_api;
-    struct netdev_hw_info hw_info;     /* offload-capable netdev info */
+    const char *dpif_type;          /* Type of dpif this netdev belongs to. */
+    struct netdev_hw_info hw_info;  /* Offload-capable netdev info. */
 };
 
 static inline void
@@ -849,6 +851,7 @@ extern const struct netdev_class netdev_tap_class;
 
 #ifdef HAVE_AF_XDP
 extern const struct netdev_class netdev_afxdp_class;
+extern const struct netdev_class netdev_afxdp_nonpmd_class;
 #endif
 #ifdef  __cplusplus
 }