uint16_t ethtype;
uint8_t proto_version;
uint32_t usnic_id;
-} __attribute__((packed));
+} __rte_packed;
#define FILTER_FIELD_5TUP_PROTO FILTER_FIELD_VALID(1)
#define FILTER_FIELD_5TUP_SRC_AD FILTER_FIELD_VALID(2)
uint32_t dst_addr;
uint16_t src_port;
uint16_t dst_port;
-} __attribute__((packed));
+} __rte_packed;
#define FILTER_FIELD_VMQ_VLAN FILTER_FIELD_VALID(1)
#define FILTER_FIELD_VMQ_MAC FILTER_FIELD_VALID(2)
uint32_t flags;
uint16_t vlan;
uint8_t mac_addr[6];
-} __attribute__((packed));
+} __rte_packed;
#define FILTER_FIELD_VLAN_IP_3TUP_VLAN FILTER_FIELD_VALID(1)
#define FILTER_FIELD_VLAN_IP_3TUP_L3_PROTO FILTER_FIELD_VALID(2)
} u;
uint32_t l4_protocol;
uint16_t dst_port;
-} __attribute__((packed));
+} __rte_packed;
#define FILTER_GENERIC_1_BYTES 64
* " don't care"
*/
uint8_t val[FILTER_GENERIC_1_KEY_LEN];
- } __attribute__((packed)) layer[FILTER_GENERIC_1_NUM_LAYERS];
-} __attribute__((packed));
+ } __rte_packed layer[FILTER_GENERIC_1_NUM_LAYERS];
+} __rte_packed;
/* Specifies the filter_action type. */
enum {
union {
uint32_t rq_idx;
} u;
-} __attribute__((packed));
+} __rte_packed;
#define FILTER_ACTION_RQ_STEERING_FLAG (1 << 0)
#define FILTER_ACTION_FILTER_ID_FLAG (1 << 1)
uint32_t flags; /* use FILTER_ACTION_XXX_FLAG defines */
uint16_t filter_id;
uint8_t reserved[32]; /* for future expansion */
-} __attribute__((packed));
+} __rte_packed;
/* Specifies the filter type. */
enum filter_type {
struct filter_mac_vlan mac_vlan;
struct filter_vlan_ip_3tuple vlan_3tuple;
} u;
-} __attribute__((packed));
+} __rte_packed;
/*
* This is a strict superset of "struct filter" and exists only
struct filter_vlan_ip_3tuple vlan_3tuple;
struct filter_generic_1 generic_1;
} u;
-} __attribute__((packed));
+} __rte_packed;
enum {
CLSF_TLV_FILTER = 0,