On 6/17/21 8:18 AM, Zvi Effron wrote:
On Thu, Jun 17, 2021 at 2:11 AM Yonghong Song <yhs@xxxxxx> wrote:
On 6/16/21 3:47 PM, Zvi Effron wrote:
Add a test for using xdp_md as a context to BPF_PROG_TEST_RUN for XDP
programs.
The test uses a BPF program that takes in a return value from XDP
meta data, then reduces the size of the XDP meta data by 4 bytes.
Test cases validate the possible failure cases for passing in invalid
xdp_md contexts, that the return value is successfully passed
in, and that the adjusted meta data is successfully copied out.
Co-developed-by: Cody Haas <chaas@xxxxxxxxxxxxx>
Signed-off-by: Cody Haas <chaas@xxxxxxxxxxxxx>
Co-developed-by: Lisa Watanabe <lwatanabe@xxxxxxxxxxxxx>
Signed-off-by: Lisa Watanabe <lwatanabe@xxxxxxxxxxxxx>
Signed-off-by: Zvi Effron <zeffron@xxxxxxxxxxxxx>
Acked-by: Yonghong Song <yhs@xxxxxx>
Thank you for all of your feedback on our patchset.
Question about process for Acks: do we add your Acked-by line to the
commit message in our next version of the patchset?
Yes, just add my Ack to this ack'ed commit in the next revision. Thanks!