Re: [dpdk-dev] [PATCH v2 3/6] net/pcap: move OS-dependent code to separate files

2021-02-25 Thread Dmitry Kozlyuk
2021-02-25 14:51, Ferruh Yigit: > On 2/14/2021 2:16 AM, Dmitry Kozlyuk wrote: > > PCAP PMD queries interface information differently for Linux and > > FreeBSD, OS-specific code is guarded by #ifdef. In preparation to add > > Windows-specific part and libpcap wrapper, extract OS-independent > > inte

Re: [dpdk-dev] [PATCH v2 3/6] net/pcap: move OS-dependent code to separate files

2021-02-25 Thread Ferruh Yigit
On 2/14/2021 2:16 AM, Dmitry Kozlyuk wrote: PCAP PMD queries interface information differently for Linux and FreeBSD, OS-specific code is guarded by #ifdef. In preparation to add Windows-specific part and libpcap wrapper, extract OS-independent interface and move implementations to separate files

[dpdk-dev] [PATCH v2 3/6] net/pcap: move OS-dependent code to separate files

2021-02-13 Thread Dmitry Kozlyuk
PCAP PMD queries interface information differently for Linux and FreeBSD, OS-specific code is guarded by #ifdef. In preparation to add Windows-specific part and libpcap wrapper, extract OS-independent interface and move implementations to separate files. Rename rte_eth_pcap.c to pcap_ethdev.c for c