Hemant Agrawal
c1ada9b63b
net/virtio: fix build with 0 headroom
When using RTE_PKTMBUF_HEADROOM as 0, virito ethdev driver throws
compilation error
virtio_ethdev.c:1851:2: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_PKTMBUF_HEADROOM
< sizeof(struct virtio_net_hdr_mrg_rxbuf));
This patch change it into run-time check.
Bugzilla ID: 335
Fixes: dec08c28c0b3 ("virtio: check packet headroom at compile time")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-08-05 19:26:49 +02:00
..
2019-07-30 19:46:11 +02:00
2018-01-29 23:35:29 +01:00
2019-04-17 18:09:52 +02:00
2019-08-05 19:26:49 +02:00
2019-06-20 23:42:04 +02:00
2018-01-16 18:47:49 +01:00
2019-06-20 23:42:04 +02:00
2019-05-24 13:34:45 +02:00
2019-03-29 17:25:32 +01:00
2019-03-20 18:15:42 +01:00
2019-03-20 18:15:42 +01:00
2018-10-25 02:11:23 +02:00
2019-03-20 18:15:42 +01:00
2019-06-20 23:42:04 +02:00
2018-02-13 18:57:59 +01:00
2019-07-23 14:31:35 +02:00
2019-03-20 18:15:42 +01:00
2019-05-24 13:34:45 +02:00