Message ID | 1439577746-21499-3-git-send-email-zoltan.kiss@linaro.org |
---|---|
State | New |
Headers | show |
On Fri, Aug 14, 2015 at 1:42 PM, Zoltan Kiss <zoltan.kiss@linaro.org> wrote: > Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org> > Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> > --- > test/validation/packet/packet.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/test/validation/packet/packet.c > b/test/validation/packet/packet.c > index 99a6745..a4eb24c 100644 > --- a/test/validation/packet/packet.c > +++ b/test/validation/packet/packet.c > @@ -164,6 +164,9 @@ void packet_test_basic_metadata(void) > CU_ASSERT(odp_packet_pool(pkt) != ODP_POOL_INVALID); > /* Packet was allocated by application so shouldn't have valid > pktio. */ > CU_ASSERT(odp_packet_input(pkt) == ODP_PKTIO_INVALID); > + > + odp_packet_rss_hash_set(pkt, UINT32_MAX); > + CU_ASSERT(odp_packet_rss_hash(pkt) == UINT32_MAX); > } > > void packet_test_length(void) > -- > 1.9.1 > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp >
diff --git a/test/validation/packet/packet.c b/test/validation/packet/packet.c index 99a6745..a4eb24c 100644 --- a/test/validation/packet/packet.c +++ b/test/validation/packet/packet.c @@ -164,6 +164,9 @@ void packet_test_basic_metadata(void) CU_ASSERT(odp_packet_pool(pkt) != ODP_POOL_INVALID); /* Packet was allocated by application so shouldn't have valid pktio. */ CU_ASSERT(odp_packet_input(pkt) == ODP_PKTIO_INVALID); + + odp_packet_rss_hash_set(pkt, UINT32_MAX); + CU_ASSERT(odp_packet_rss_hash(pkt) == UINT32_MAX); } void packet_test_length(void)
Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org> --- test/validation/packet/packet.c | 3 +++ 1 file changed, 3 insertions(+)