Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/sfc: account for data offset on Tx
[ upstream commit e7694b080de025fbc4bb31fbe7eb149f20a10373 ] Memory buffers passed by the application may contain private data, which must not be sent to the NIC. Omit this private data by using the actual data address instead of the default one. Fixes: 3037e6c ("net/sfc: support regioned NIC DMA memory mapping type") Signed-off-by: Viacheslav Galaktionov <viacheslav.galaktionov@arknetworks.am> Reviewed-by: Ivan Malov <ivan.malov@arknetworks.am> Reviewed-by: Andy Moreton <amoreton@xilinx.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
- Loading branch information