netmap ixgbevf mtu
Joe Buehler
aspam at cox.net
Tue Mar 27 18:20:26 UTC 2018
Grazie mille. I will test it as time allows -- swamped.
Joe Buehler
Vincenzo Maffione wrote:
> 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 at gmail.com
> <mailto:v.maffione at 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 at cox.net
> <mailto:aspam at 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
More information about the freebsd-net
mailing list