Bug 2218963 - RFE: implement OVS_ACTION_ATTR_DROP in kernel datapath and enable kfree_ksb() tracing for xlate_error
Summary: RFE: implement OVS_ACTION_ATTR_DROP in kernel datapath and enable kfree_ksb()...
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: kernel
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Eric Garver
QA Contact: qding
URL:
Whiteboard:
Depends On:
Blocks: 2218964
TreeView+ depends on / blocked
 
Reported: 2023-06-30 17:47 UTC by Eric Garver
Modified: 2023-07-05 11:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2218964 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-161369 0 None None None 2023-06-30 17:49:36 UTC

Description Eric Garver 2023-06-30 17:47:56 UTC
Currently the kernel datapath does not implement an explicit "drop" action, e.g. OVS_ACTION_ATTR_DROP. As such, there is no information about _why_ a packet is being dropped in the kernel.

To address this we should add OVS_ACTION_ATTR_DROP, pass xlate_error to the kernel, and the use that for kfree_skb_reason(). Then we can use tracing to watch the kernel drop packets for given reasons.

This was discussed in Bug 2076506.

v1: https://marc.info/?t=168807084300005&r=1&w=2


Note You need to log in before you can comment on or make changes to this bug.