Skip to content

Commit

Permalink
controller: do not mark bfd and ipv6_pd msgs as local-only
Browse files Browse the repository at this point in the history
Do not mark BFD and IPv6 Prefix Delegation messages as local only since
they will be sent through a localnet port.

Fixes: e3a398e ("controller: Add ipv6 prefix delegation state machine")
Fixes: 365a8a6 ("bfd: support demand mode on rx side.")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Mark Michelson <mmichels@redhat.com>
  • Loading branch information
LorenzoBianconi authored and putnopvut committed Oct 15, 2021
1 parent 1bdb66b commit 74bcd70
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions controller/pinctrl.c
Expand Up @@ -1108,7 +1108,6 @@ ipv6_prefixd_send(struct rconn *swconn, struct ipv6_prefixd_state *pfd)
uint32_t port_key = pfd->port_key;
put_load(dp_key, MFF_LOG_DATAPATH, 0, 64, &ofpacts);
put_load(port_key, MFF_LOG_INPORT, 0, 32, &ofpacts);
put_load(1, MFF_LOG_FLAGS, MLF_LOCAL_ONLY_BIT, 1, &ofpacts);
struct ofpact_resubmit *resubmit = ofpact_put_RESUBMIT(&ofpacts);
resubmit->in_port = OFPP_CONTROLLER;
resubmit->table_id = OFTABLE_LOG_INGRESS_PIPELINE;
Expand Down Expand Up @@ -6815,7 +6814,6 @@ pinctrl_send_bfd_tx_msg(struct rconn *swconn, struct bfd_entry *entry,
uint32_t port_key = entry->port_key;
put_load(dp_key, MFF_LOG_DATAPATH, 0, 64, &ofpacts);
put_load(port_key, MFF_LOG_INPORT, 0, 32, &ofpacts);
put_load(1, MFF_LOG_FLAGS, MLF_LOCAL_ONLY_BIT, 1, &ofpacts);
struct ofpact_resubmit *resubmit = ofpact_put_RESUBMIT(&ofpacts);
resubmit->in_port = OFPP_CONTROLLER;
resubmit->table_id = OFTABLE_LOG_INGRESS_PIPELINE;
Expand Down

0 comments on commit 74bcd70

Please sign in to comment.