numam-dpdk/drivers/net/pcap
Olivier Matz 28b987c442 net/pcap: fix registration of timestamp dynamic field
In pcap pmd, the timestamp mbuf dynamic field is mandatory. When the
pcap pmd is created in a secondary process (this is the case for pdump),
it cannot be registered because this is not allowed from a secondary
process.

To ensure that the field is properly registered, do it from probe()
instead of configure(). Indeed, probe() is first invoked on the primary
process when a device is created in a secondary, this enables
registering dynfield from secondary process.

Bugzilla ID: 571
Fixes: d23d73d088 ("net/pcap: switch Rx timestamp to dynamic mbuf field")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-11-13 19:43:27 +01:00
..
meson.build port: fix pcap support with meson 2019-10-27 17:23:02 +01:00
rte_eth_pcap.c net/pcap: fix registration of timestamp dynamic field 2020-11-13 19:43:27 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00