mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
osi: dma: using swcx to store nvsocket rx data idx
- Added a data_idx field in rx swcx to store nvsocket data index. Tx data idx has been added in a earlier commit. Jira NET-242 Change-Id: I81e4c41efceabab4dbf556ac3f57ca26e0737a81 Signed-off-by: Zhongjie Wang <zhowang@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2778530 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Ajay Gupta <ajayg@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
Bhadram Varka
parent
8bb1b24f59
commit
3c01e876ff
@@ -148,7 +148,7 @@
|
|||||||
* @brief These flags used to convey transmit done packet context information,
|
* @brief These flags used to convey transmit done packet context information,
|
||||||
* whether transmitted packet used a paged buffer, whether transmitted packet
|
* whether transmitted packet used a paged buffer, whether transmitted packet
|
||||||
* has an tx error, whether transmitted packet has an TS
|
* has an tx error, whether transmitted packet has an TS
|
||||||
*
|
*
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
/** Flag to indicate if buffer programmed in desc. is DMA map'd from
|
/** Flag to indicate if buffer programmed in desc. is DMA map'd from
|
||||||
@@ -327,6 +327,8 @@ struct osi_rx_swcx {
|
|||||||
nveu32_t len;
|
nveu32_t len;
|
||||||
/** Flags to share info about Rx swcx between OSD and OSI */
|
/** Flags to share info about Rx swcx between OSD and OSI */
|
||||||
nveu32_t flags;
|
nveu32_t flags;
|
||||||
|
/** nvsocket data index */
|
||||||
|
nveu64_t data_idx;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user