~dannf/ubuntu/+source/linux/+git/xenial:thunder-tso

Last commit made on 2016-09-16
Get this branch:
git clone -b thunder-tso https://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/xenial
Only dann frazier can upload to this branch. If you are dann frazier please log in for upload directions.

Branch merges

Branch information

Name:
thunder-tso
Repository:
lp:~dannf/ubuntu/+source/linux/+git/xenial

Recent commits

db3ac66... by Sunil Goutham <email address hidden> on 2016-08-30

net: thunderx: Fix for issues with multiple CQEs posted for a TSO packet

BugLink: http://bugs.launchpad.net/bugs/1624569

On ThunderX 88xx pass 2.x chips when TSO is offloaded to HW,
HW posts a CQE for every TSO segment transmitted. Current code
does handles this, but is prone to issues when segment sizes are
small resulting in SW processing too many CQEs and also at times
frees a SKB which is not yet transmitted.

This patch handles the errata in a different way and eliminates issues
with earlier approach, TSO packet is submitted to HW with post_cqe=0,
so that no CQE is posted upon completion of transmission of TSO packet
but a additional HDR + IMMEDIATE descriptors are added to SQ due to
which a CQE is posted and will have required info to be used while
cleanup in napi. This way only one CQE is posted for a TSO packet.

Signed-off-by: Sunil Goutham <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 7ceb8a1319ec64954459d474dd4a8c3c60ff0999)
Signed-off-by: dann frazier <email address hidden>

Some recent commit information could not be fetched.