On 11/27/2019 5:06 PM, Marcelo Ricardo Leitner wrote:
> On Wed, Nov 27, 2019 at 02:55:13PM +0200, Roi Dayan wrote:
>> @@ -1999,6 +2035,21 @@ nl_msg_put_act_ct(struct ofpbuf *request, struct
>> tc_action *action)
>> nl_msg_put_u16(request, TCA_CT_ZONE, action->ct.zone);
>> }
>>
>> + if (!is_all_zeros(&action->ct.label_mask,
>> + sizeof action->ct.label_mask)) {
>> + nl_msg_put_u128(request, TCA_CT_LABELS,
>> + action->ct.label);
>> + nl_msg_put_u128(request, TCA_CT_LABELS_MASK,
>> + action->ct.label_mask);
>> + }
>> +
>> + if (action->ct.mark_mask) {
>> + nl_msg_put_u32(request, TCA_CT_MARK,
>> + action->ct.mark);
>> + nl_msg_put_u32(request, TCA_CT_MARK_MASK,
>> + action->ct.mark_mask);
>> + }
>> +
>> if (action->ct.commit) {
>> ct_action = TCA_CT_ACT_COMMIT;
>> if (action->ct.force) {
>> @@ -2539,6 +2590,7 @@ nl_msg_put_flower_options(struct ofpbuf *request,
>> struct tc_flower *flower)
>>
>> FLOWER_PUT_MASKED_VALUE(ct_state, TCA_FLOWER_KEY_CT_STATE);
>> FLOWER_PUT_MASKED_VALUE(ct_zone, TCA_FLOWER_KEY_CT_ZONE);
> Why not also?
> + FLOWER_PUT_MASKED_VALUE(ct_mark, TCA_FLOWER_KEY_CT_MARK);
Forgotten :) thanks.
>
>> + FLOWER_PUT_MASKED_VALUE(ct_label, TCA_FLOWER_KEY_CT_LABELS);
>> }
>>
>> if (host_eth_type == ETH_P_IP) {
>>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev