net/pcap: truncate packet if it is too large
net/pcap: truncate packet if it is too large

Previously large packet would be dropped, instead now it is better to
keep it via truncating it.

Signed-off-by: Zhike Wang <ab0cbfd555fdecf267ecb1e18a32110e2449daad@jd.com>
Reviewed-by: Cian Ferriter <1ecfcc673f143896c363a001d2d1aec129c0c179@intel.com>
Acked-by: Ferruh Yigit <ba8734c3c506d2e3557bd4ac8fdaccd25bdb9aa7@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk