Page MenuHomeFreeBSD

dpaa2: Extract frame-specific routines to dpaa2_frame.[h,c]
ClosedPublic

Authored by dsl on Wed, Apr 8, 4:47 PM.

Details

Summary

As soon as we need information from the hardware frame annotation to
make sure that checksums of the ingress frames were verified by the
DPAA2 HW, I've decided to make a preparation and extracted all of the
frame related routines into the separate dpaa2_frame.[h,c] along with
some clean up and improvements, e.g. no more dpaa2_fa, but dpaa2_swa
and dpaa2_hwa structures to describe software and hardware frame
annotations respectively, dpaa2_fa_get_swa/dpaa2_fa_get_hwa to obtain
those annotations from the frame descriptor. The next step is to
implement dpaa2_fa_get_hwa.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dsl requested review of this revision.Wed, Apr 8, 4:47 PM
tuexen added inline comments.
sys/dev/dpaa2/dpaa2_frame.c
155

No parenthesis needed.

This revision is now accepted and ready to land.Wed, Apr 8, 6:43 PM