Page MenuHomeFreeBSD

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

Authored by dsl on Wed, Apr 8, 4:47 PM.
Tags
None
Referenced Files
F153152581: D56315.id.diff
Sun, Apr 19, 12:13 PM
F153108008: D56315.id175147.diff
Sun, Apr 19, 5:21 AM
Unknown Object (File)
Sat, Apr 18, 12:09 PM
Unknown Object (File)
Sat, Apr 18, 11:18 AM
Unknown Object (File)
Sat, Apr 18, 10:04 AM
Unknown Object (File)
Sat, Apr 18, 8:06 AM
Unknown Object (File)
Fri, Apr 17, 9:13 PM
Unknown Object (File)
Thu, Apr 16, 10:34 AM
Subscribers

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