Hello again! I completely disable all offload features: ethtool -K eth3 gro off gso off tso off
My NIC (82599) configured in this way: Features for eth3: rx-checksumming: on tx-checksumming: on tx-checksum-ipv4: on tx-checksum-unneeded: off [fixed] tx-checksum-ip-generic: off [fixed] tx-checksum-ipv6: on tx-checksum-fcoe-crc: off [fixed] tx-checksum-sctp: on scatter-gather: on tx-scatter-gather: on tx-scatter-gather-fraglist: off [fixed] tcp-segmentation-offload: off tx-tcp-segmentation: off tx-tcp-ecn-segmentation: off [fixed] tx-tcp6-segmentation: off udp-fragmentation-offload: off [fixed] generic-segmentation-offload: off generic-receive-offload: off large-receive-offload: on rx-vlan-offload: on tx-vlan-offload: on ntuple-filters: off receive-hashing: on highdma: on [fixed] rx-vlan-filter: on [fixed] vlan-challenged: off [fixed] tx-lockless: off [fixed] netns-local: off [fixed] tx-gso-robust: off [fixed] tx-fcoe-segmentation: off [fixed] fcoe-mtu: off [fixed] tx-nocache-copy: on loopback: off [fixed] But I still got very big packets: 2014-10-23 17:12:08.441512 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: ack size: 8754 bytes 2014-10-23 17:12:08.441594 46.36.217.105:59468 > 194.126.108.76:80 protocol: tcp flags: ack size: 70 bytes 2014-10-23 17:12:08.441595 46.36.217.105:59468 > 194.126.108.76:80 protocol: tcp flags: ack size: 70 bytes 2014-10-23 17:12:08.441596 46.36.217.105:59468 > 194.126.108.76:80 protocol: tcp flags: ack size: 70 bytes 2014-10-23 17:12:08.441597 46.36.217.105:59468 > 194.126.108.76:80 protocol: tcp flags: ack size: 70 bytes 2014-10-23 17:12:08.441598 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: ack size: 10202 bytes 2014-10-23 17:12:08.441677 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: ack size: 5858 bytes 2014-10-23 17:12:08.441680 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: pshack size: 1514 bytes 2014-10-23 17:12:08.441682 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: ack size: 2962 bytes 2014-10-23 17:12:08.441766 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: ack size: 10202 bytes 2014-10-23 17:12:08.441851 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: ack size: 10202 bytes 2014-10-23 17:12:08.441945 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: ack size: 11650 bytes 2014-10-23 17:12:08.442042 46.36.217.105:59468 > 194.126.108.76:80 protocol: tcp flags: ack size: 70 bytes 2014-10-23 17:12:08.442044 46.36.217.105:59468 > 194.126.108.76:80 protocol: tcp flags: ack size: 70 bytes 2014-10-23 17:12:08.442045 46.36.217.105:59468 > 194.126.108.76:80 protocol: tcp flags: ack size: 70 bytes 2014-10-23 17:12:08.442047 194.126.108.76:80 > 46.36.217.105:59468 protocol: tcp flags: ack size: 10202 bytes On Wed, Oct 22, 2014 at 2:06 AM, Pavel Odintsov <[email protected]> wrote: > Thank you so much! I will check it! > > On Wed, Oct 22, 2014 at 2:05 AM, Alfredo Cardigliano > <[email protected]> wrote: >> You should disable them if you need real packets. >> >> Alfredo >> >>> On 22 Oct 2014, at 00:00, Pavel Odintsov <[email protected]> wrote: >>> >>> Hello! >>> >>> Yep, it enabled :( >>> >>> ethtool -k eth3 >>> Features for eth3: >>> rx-checksumming: on >>> tx-checksumming: on >>> tx-checksum-ipv4: on >>> tx-checksum-unneeded: off [fixed] >>> tx-checksum-ip-generic: off [fixed] >>> tx-checksum-ipv6: on >>> tx-checksum-fcoe-crc: off [fixed] >>> tx-checksum-sctp: on >>> scatter-gather: on >>> tx-scatter-gather: on >>> tx-scatter-gather-fraglist: off [fixed] >>> tcp-segmentation-offload: on >>> tx-tcp-segmentation: on >>> tx-tcp-ecn-segmentation: off [fixed] >>> tx-tcp6-segmentation: on >>> udp-fragmentation-offload: off [fixed] >>> generic-segmentation-offload: on >>> generic-receive-offload: on >>> large-receive-offload: on >>> rx-vlan-offload: on >>> tx-vlan-offload: on >>> ntuple-filters: off >>> receive-hashing: on >>> highdma: on [fixed] >>> rx-vlan-filter: on [fixed] >>> vlan-challenged: off [fixed] >>> tx-lockless: off [fixed] >>> netns-local: off [fixed] >>> tx-gso-robust: off [fixed] >>> tx-fcoe-segmentation: off [fixed] >>> fcoe-mtu: off [fixed] >>> tx-nocache-copy: on >>> loopback: off [fixed] >>> >>> I disabled it completely with commands: ethtool -K eth0 gro off gso off tso >>> off >>> >>> On Wed, Oct 22, 2014 at 1:35 AM, Alfredo Cardigliano >>> <[email protected]> wrote: >>>> Hi Pavel >>>> do you have tso/gso enabled perhaps? (please check with ethtool -k ethX) >>>> >>>> Alfredo >>>> >>>>> On 21 Oct 2014, at 11:19, Pavel Odintsov <[email protected]> wrote: >>>>> >>>>> Hello! >>>>> >>>>> I use PF_RING packets parser and got very strange packets size in >>>>> network with stadnard MTU (1500): >>>>> 2014-10-16 03:32:50.483384 188.120.233.239:39393 > 5.45.118.135:80 >>>>> protocol: tcp size: 66 bytes >>>>> 2014-10-16 03:32:50.483385 188.120.233.239:39393 > 5.45.118.135:80 >>>>> protocol: tcp size: 66 bytes >>>>> 2014-10-16 03:32:50.483386 188.120.233.239:39393 > 5.45.118.135:80 >>>>> protocol: tcp size: 66 bytes >>>>> 2014-10-16 03:32:50.483415 5.45.118.135:80 > 188.120.233.239:39393 >>>>> protocol: tcp size: 14550 bytes >>>>> 2014-10-16 03:32:50.483430 188.120.233.239:39393 > 5.45.118.135:80 >>>>> protocol: tcp size: 66 bytes >>>>> 2014-10-16 03:32:50.483435 5.45.118.135:80 > 188.120.233.239:39391 >>>>> protocol: tcp size: 1518 bytes >>>>> 2014-10-16 03:32:50.483457 5.45.118.135:80 > 188.120.233.239:39391 >>>>> protocol: tcp size: 5862 bytes >>>>> 2014-10-16 03:32:50.483482 5.45.118.135:80 > 188.120.233.239:39391 >>>>> protocol: tcp size: 1518 bytes >>>>> 2014-10-16 03:32:50.483515 5.45.118.135:80 > 188.120.233.239:39392 >>>>> protocol: tcp size: 1518 bytes >>>>> 2014-10-16 03:32:50.483518 5.45.118.135:80 > 188.120.233.239:39391 >>>>> protocol: tcp size: 1518 bytes >>>>> 2014-10-16 03:32:50.483526 188.120.233.239:39392 > 5.45.118.135:80 >>>>> protocol: tcp size: 66 bytes >>>>> >>>>> Full list: https://gist.github.com/pavel-odintsov/6aac022b8f6eebd284ff >>>>> >>>>> I got h->len from pfring_pkthdr *h struct with no processing. How it >>>>> possible? >>>>> >>>>> -- >>>>> Sincerely yours, Pavel Odintsov >>>>> _______________________________________________ >>>>> Ntop-misc mailing list >>>>> [email protected] >>>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>>> >>>> _______________________________________________ >>>> Ntop-misc mailing list >>>> [email protected] >>>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >>> >>> >>> >>> -- >>> Sincerely yours, Pavel Odintsov >>> _______________________________________________ >>> Ntop-misc mailing list >>> [email protected] >>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc >> >> _______________________________________________ >> Ntop-misc mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop-misc > > > > -- > Sincerely yours, Pavel Odintsov -- Sincerely yours, Pavel Odintsov _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
