Bug 2218963

Summary: RFE: implement OVS_ACTION_ATTR_DROP in kernel datapath and enable kfree_ksb() tracing for xlate_error
Product: Red Hat Enterprise Linux 9 Reporter: Eric Garver <egarver>
Component: kernelAssignee: Eric Garver <egarver>
kernel sub component: OVS QA Contact: qding
Status: ASSIGNED --- Docs Contact:
Severity: unspecified    
Priority: unspecified CC: fleitner, network-qe
Version: 9.2Keywords: FutureFeature
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2218964 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2218964    

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