diff options
| author | Tony Nguyen <[email protected]> | 2020-05-08 00:41:13 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2020-05-22 05:10:04 +0000 |
| commit | 5757cc7c8b71d5114aca0034cee42d22e6977d19 (patch) | |
| tree | de90c45c1ac8ea33f79c659c70fe4c95faca71cb /drivers/net/ethernet/intel/ice/ice_txrx_lib.c | |
| parent | ice: remove unnecessary backslash (diff) | |
| download | kernel-5757cc7c8b71d5114aca0034cee42d22e6977d19.tar.gz kernel-5757cc7c8b71d5114aca0034cee42d22e6977d19.zip | |
ice: Rename build_ctob to ice_build_ctob
To make the function easier to identify as being part of the ice driver,
prepend ice to the function name.
Signed-off-by: Tony Nguyen <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_txrx_lib.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_txrx_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_txrx_lib.c b/drivers/net/ethernet/intel/ice/ice_txrx_lib.c index 9d6512f96b8c..1ba97172d8d0 100644 --- a/drivers/net/ethernet/intel/ice/ice_txrx_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_txrx_lib.c @@ -232,8 +232,8 @@ int ice_xmit_xdp_ring(void *data, u16 size, struct ice_ring *xdp_ring) tx_desc = ICE_TX_DESC(xdp_ring, i); tx_desc->buf_addr = cpu_to_le64(dma); - tx_desc->cmd_type_offset_bsz = build_ctob(ICE_TXD_LAST_DESC_CMD, 0, - size, 0); + tx_desc->cmd_type_offset_bsz = ice_build_ctob(ICE_TXD_LAST_DESC_CMD, 0, + size, 0); /* Make certain all of the status bits have been updated * before next_to_watch is written. |
