Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 10:22:01 +0200
From:      Vincenzo Maffione <v.maffione@gmail.com>
To:        Joe Buehler <aspam@cox.net>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: netmap ixgbevf mtu
Message-ID:  <CA%2B_eA9hyx30SOz3NT%2B=Jn7UCARGmV1UTO=6BnRTH15K2LSRiPQ@mail.gmail.com>
In-Reply-To: <CA%2B_eA9hAQ78_i-T6v127%2B4akoDBR9aiKhsXfXUCKe=epVQdPMQ@mail.gmail.com>
References:  <5AAC49BE.3030508@cox.net> <5AAC4A96.1040107@cox.net> <5AB01439.3090003@cox.net> <5AB166DC.8060708@cox.net> <CA%2B_eA9hAQ78_i-T6v127%2B4akoDBR9aiKhsXfXUCKe=epVQdPMQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
  This commit (fe13476b106ed1f4b517b1590e1dfb3f268b6e78) in the upstream
netmap should have fixed the NS_MOREFRAG issue for ixgbe.
If you happen give a try let us know.

Cheers,
  Vincenzo

2018-03-21 21:40 GMT+01:00 Vincenzo Maffione <v.maffione@gmail.com>:

> I see. Unfortunately this breaks the API, so I don't think we can accept
> it.
> We should probably sum up the fragment lengths, remember which one was the
> first descriptor and write the olinfo field when we process the last
> descriptor ...
> I hope this does not slow down the simpler case where NS_MOREFRAG is not
> used.
>
> In any, case we should move this discussion to the github, if possible (so
> that the issue gets tracked).
>
> Cheers,
>   Vincenzo
>
> 2018-03-20 20:54 GMT+01:00 Joe Buehler <aspam@cox.net>:
>
>> Attached is a patch that allows fragmented TX with the ixgbevf driver.
>>
>> For the first TX buffer set the slot length to the full length of the
>> frame and make sure that the slot buffer is fully filled.  For succeeding
>> slots just set the length to the amount of the buffer filled.
>>
>> Not intended as the perfect solution but it works fine for my situation.
>>
>> Joe Buehler
>>
>>
>
>
> --
> Vincenzo Maffione
>



-- 
Vincenzo Maffione



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9hyx30SOz3NT%2B=Jn7UCARGmV1UTO=6BnRTH15K2LSRiPQ>