Project

General

Profile

Feature #12672

want mac_hcksum_clone function

Added by Patrick Mooney 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
bhyve
Gerrit CR:

Description

Upstreaming OS-6762 for bhyve:

In several places around the network stack, hcksum_retreive and hcksum_assoc are used to clone hardware checksum data associated with mblk data. A hcksum_clone interface would cut down on the effort required there.

#1

Updated by Patrick Mooney 9 months ago

This underwent testing and use as part of the MAC enhancements (including #12676) implemented for the bhyve viona driver.

#2

Updated by Electric Monk 9 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit ec71f88e58593e3077f03588d3c38e6cbd4e8c1a

commit  ec71f88e58593e3077f03588d3c38e6cbd4e8c1a
Author: Patrick Mooney <pmooney@pfmooney.com>
Date:   2020-05-11T02:35:52.000Z

    12671 hcksum routines are too verbose
    12672 want mac_hcksum_clone function
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Ryan Zezeski <rpz@joyent.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Also available in: Atom PDF