Skip to content
Commit 1a9041c7 authored by Ong Boon Leong's avatar Ong Boon Leong Committed by Yongxin Liu
Browse files

net: stmmac: arrange Tx tail pointer update to stmmac_flush_tx_descriptors

commit d96febed upstream.

This patch organizes TX tail pointer update into a new function called
stmmac_flush_tx_descriptors() so that we can reuse it in stmmac_xmit(),
stmmac_tso_xmit() and up-coming XDP implementation.

Changes to v2:
 - Fix for warning: unused variable ‘desc_size’
   https://patchwork.hopto.org/static/nipa/457321/12170149/build_32bit/stderr



Signed-off-by: default avatarOng Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarYongxin Liu <yongxin.liu@windriver.com>
parent 5fbb7149
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment