diff options
Diffstat (limited to 'sys/dev/ice/ice_switch.h')
| -rw-r--r-- | sys/dev/ice/ice_switch.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/ice/ice_switch.h b/sys/dev/ice/ice_switch.h index a121ee4e42a8..cd5994d73fd6 100644 --- a/sys/dev/ice/ice_switch.h +++ b/sys/dev/ice/ice_switch.h @@ -213,12 +213,24 @@ struct ice_rule_query_data { u16 vsi_handle; }; +/* + * This structure allows to pass info about lb_en and lan_en + * flags to ice_add_adv_rule. Values in act would be used + * only if act_valid was set to true, otherwise dflt + * values would be used. + */ +struct ice_adv_rule_flags_info { + u32 act; + u8 act_valid; /* indicate if flags in act are valid */ +}; + struct ice_adv_rule_info { enum ice_sw_tunnel_type tun_type; struct ice_sw_act_ctrl sw_act; u32 priority; u8 rx; /* true means LOOKUP_RX otherwise LOOKUP_TX */ u16 fltr_rule_id; + struct ice_adv_rule_flags_info flags_info; }; /* A collection of one or more four word recipe */ |
