On Sat, Aug 17, 2024 at 9:01 AM Jakub Kicinski <[email protected]> wrote: > > On Thu, 15 Aug 2024 20:22:45 +0800 Menglong Dong wrote: > > I'm sure if I understand it correctly, but it seems that there is > > something wrong with ovs_drop_reasons. > > > > ovs_drop_reasons[0] is "OVS_DROP_LAST_ACTION", but > > OVS_DROP_LAST_ACTION == __OVS_DROP_REASON + 1, which means that > > ovs_drop_reasons[1] should be "OVS_DROP_LAST_ACTION". > > > > Fix this by initializing ovs_drop_reasons with index. > > > > Fixes: 9d802da40b7c ("net: openvswitch: add last-action drop reason") > > Signed-off-by: Menglong Dong <[email protected]> > > Could you include output? Presumably from drop monitor? > I think it should go to net rather than net-next.
I have not tested it yet. I just copy all the code for drop reason subsystem from openvswitch to vxlan, and this happens in the vxlan code. I'm on vacation right now, and I'll test it out next Monday. Thanks! Menglong Dong > -- > pw-bot: cr _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
