replace packed attributes
[dpdk.git] / drivers / net / tap / tap_rss.h
index bd6b97b..176e718 100644 (file)
@@ -12,6 +12,9 @@
 /* Fixed RSS hash key size in bytes. */
 #define TAP_RSS_HASH_KEY_SIZE 40
 
+/* Supported RSS */
+#define TAP_RSS_HF_MASK (~(ETH_RSS_IP | ETH_RSS_UDP | ETH_RSS_TCP))
+
 /* hashed fields for RSS */
 enum hash_field {
        HASH_FIELD_IPV4_L3,     /* IPv4 src/dst addr */
@@ -32,6 +35,6 @@ struct rss_key {
        __u32 key_size;
        __u32 queues[TAP_MAX_QUEUES];
        __u32 nb_queues;
-} __attribute__((packed));
+} __rte_packed;
 
 #endif /* _TAP_RSS_H_ */