summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ibm/emac/mal.c
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>2018-03-16 20:00:28 -0500
committerDavid S. Miller <davem@davemloft.net>2018-03-17 20:12:39 -0400
commit06b3e35788a4c6f0afa931b6251ecfe20ce4787b (patch)
tree9cbf23492e49e89f21517f037da369ddb60eae33 /drivers/net/ethernet/ibm/emac/mal.c
parent3205306c6b8d5a8ede1d8222c9db6009b399299a (diff)
ibmvnic: Update TX and TX completion routines
Update TX and TX completion routines to account for TX pool restructuring. TX routine first chooses the pool depending on whether a packet is GSO or not, then uses it accordingly. For the completion routine to know which pool it needs to use, set the most significant bit of the correlator index to one if the packet uses the TSO pool. On completion, unset the bit and use the correlator index to release the buffer pool entry. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/emac/mal.c')
0 files changed, 0 insertions, 0 deletions