]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ice/base/ice_type.h
net/ice/base: add IP fragment flags
[dpdk.git] / drivers / net / ice / base / ice_type.h
index 2550e0e19f48c26bcaee3390b85a2952a58050e9..3c534a77111d9d10e675b1997147d2000f98c61e 100644 (file)
@@ -44,9 +44,7 @@
 #define ice_struct_size(ptr, field, num) \
        (sizeof(*(ptr)) + sizeof(*(ptr)->field) * (num))
 
-#ifndef FLEX_ARRAY_SIZE
 #define FLEX_ARRAY_SIZE(_ptr, _mem, cnt) ((cnt) * sizeof(_ptr->_mem[0]))
-#endif /* FLEX_ARRAY_SIZE */
 
 #include "ice_status.h"
 #include "ice_hw_autogen.h"
@@ -992,6 +990,8 @@ struct ice_hw {
        /* tunneling info */
        struct ice_lock tnl_lock;
        struct ice_tunnel_table tnl;
+       /* dvm boost update information */
+       struct ice_dvm_table dvm_upd;
 
        struct ice_acl_tbl *acl_tbl;
        struct ice_fd_hw_prof **acl_prof;