Efficient packet re-transmission for express data paths
AssigneeRed Hat, Inc.
InventorsJesper Brouer, Michael Tsirkin
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure relate to determining modification bounds that identify portions of a packet that are safe to modify so that modified portions of the packet may be flushed from a cache to a memory of a network interface card (NIC) of a host system when the entire packet is synchronized from the NIC. A modification bound of the filter may be determined, and a network packet may be received from the NIC. In response to determining that the network packet is to be modified, a portion of the network packet that is safe to modify may be identified based on the modification bound of the filter and modifications may be made thereto. The modified portion of the network packet may be synchronized to the NIC.
Claims20
A method comprising:
- validating register values of a filter to determine a modification bound of the filter;
- receiving a network packet from a network interface card (NIC);
- determining, based on a handling of network packets indicated by the filter, whether the network packet is to be modified;
- in response to determining that the network packet is to be modified, modifying a portion of the network packet based on the modification bound of the filter;
- and
- synchronizing, by a processing device, the modified portion of the network packet to the NIC.
A system comprising:
- a memory;
- and
- a processing device operatively coupled to the memory, the processing device to:
- validate register values of a filter to determine a modification bound of the filter;
- receive a network packet from a network interface card (NIC);
- determine, based on a handling of network packets indicated by the filter, whether the network packet is to be modified;
- in response to determining that the network packet is to be modified, modify a portion of the network packet based on the modification bound of the filter;
- and
- synchronize the modified portion of the network packet to the NIC.
A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
- validate register values of a filter to determine a modification bound of the filter;
- receive a network packet from a network interface card (NIC);
- determine, based on a handling of network packets indicated by the filter, whether the network packet is to be modified;
- in response to determining that the network packet is to be modified, modify a portion of the network packet based on the modification bound of the filter;
- and
- synchronize, by the processing device, the modified portion of the network packet to the NIC.
Dependencies are inferred from the claim text.