Errors using span interface on if_bridge(4)

hiren panchasara hiren.panchasara at gmail.com
Mon Feb 3 03:32:05 UTC 2014


On Sun, Feb 2, 2014 at 11:19 AM, hiren panchasara
<hiren.panchasara at gmail.com> wrote:
> On Sat, Feb 1, 2014 at 5:16 PM, hiren panchasara
> <hiren.panchasara at gmail.com> wrote:
>
>>
>> -bash-4.2$ sysctl -a | grep mac_stats.checksum_errs
>> dev.ix.0.mac_stats.checksum_errs: 0
>> dev.ix.1.mac_stats.checksum_errs: 0
>> dev.ix.2.mac_stats.checksum_errs: 0
>> dev.ix.3.mac_stats.checksum_errs: 3371119  <-- most of them fail checksum
>
> In ixgbe.c :
> ixgbe_add_hw_stats() has
>          SYSCTL_ADD_UQUAD(ctx, stat_list, OID_AUTO, "checksum_errs",
>                          CTLFLAG_RD, &stats->xec,
>                          "Checksum Errors");
>
> which is updated in ixgbe_update_stats_counters()
> adapter->stats.xec += IXGBE_READ_REG(hw, IXGBE_XEC);
>
> ixgbe_type.h defines
> #define IXGBE_XEC               0x04120
>
> So, this is something that firmware of the card updates? We just read
> that register from drivers.

ix3 at pci0:66:0:1:        class=0x020000 card=0x7a118086 chip=0x10fb8086
rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82599EB 10-Gigabit SFI/SFP+ Network Connection'
    class      = network
    subclass   = ethernet

I found following in 82599 controller spec update:
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/82599-10-gbe-controller-spec-update.pdf#G2.1474004
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/82599-10-gbe-controller-spec-update.pdf#G2.2301787

Thought here I am sending unicast tcp traffic with iperf3.

Adding Jeff to get some more insights if possible.

cheers,
Hiren


More information about the freebsd-net mailing list