diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-04-17 00:22:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-16 17:08:39 -0700 |
commit | 6b04830d5e0d7cbe137310527e9ad114686edef7 (patch) | |
tree | 8f739bf9df837d7fc0c7905f96e9d8147dbe79ee /scripts | |
parent | e9e49ae88ec86c370aae56700c9ff7421dcf91fe (diff) |
net: enetc: rename the buffer reuse helpers
enetc_put_xdp_buff has nothing to do with XDP, frankly, it is just a
helper to populate the recycle end of the shadow RX BD ring
(next_to_alloc) with a given buffer.
On the other hand, enetc_put_rx_buff plays more tricks than its name
would suggest.
So let's rename enetc_put_rx_buff into enetc_flip_rx_buff to reflect the
half-page buffer reuse tricks that it employs, and enetc_put_xdp_buff
into enetc_put_rx_buff which suggests a more garden-variety operation.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions