ionic: add helpers for accessing buffer info
authorShannon Nelson <shannon.nelson@amd.com>
Wed, 14 Feb 2024 17:59:02 +0000 (09:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2024 08:48:07 +0000 (08:48 +0000)
commit97538c146cca50dc6cd3d37b5ddcb43c6fc10a46
tree69fde36bb7d725a57069727abd8a16c76173c890
parentc699f35d658f3c21b69ed24e64b2ea26381e941d
ionic: add helpers for accessing buffer info

These helpers clean up some of the code around DMA mapping
and other buffer references, and will be used in the next
few patches for the XDP support.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c