qcacmn: Add new MOD_ID for reinjected packets
Add new module id DP_MOD_ID_REINJECT for reinjected packets. Change-Id: Ieae5a878d7b3084b32f6b7e6eb6c2bbd4a246480 CRs-Fixed: 3192306
This commit is contained in:

committed by
Madan Koyyalamudi

parent
c18a9b4699
commit
7e099c5668
@@ -491,7 +491,7 @@ void dp_tx_mlo_mcast_handler_be(struct dp_soc *soc,
|
|||||||
/* send frame on partner vdevs */
|
/* send frame on partner vdevs */
|
||||||
dp_mcast_mlo_iter_ptnr_vdev(be_soc, be_vdev,
|
dp_mcast_mlo_iter_ptnr_vdev(be_soc, be_vdev,
|
||||||
dp_tx_mlo_mcast_pkt_send,
|
dp_tx_mlo_mcast_pkt_send,
|
||||||
nbuf, DP_MOD_ID_TX);
|
nbuf, DP_MOD_ID_REINJECT);
|
||||||
|
|
||||||
/* send frame on mcast primary vdev */
|
/* send frame on mcast primary vdev */
|
||||||
dp_tx_mlo_mcast_pkt_send(be_vdev, vdev, nbuf);
|
dp_tx_mlo_mcast_pkt_send(be_vdev, vdev, nbuf);
|
||||||
|
@@ -4861,7 +4861,7 @@ dp_tx_mcast_reinject_handler(struct dp_soc *soc, struct dp_tx_desc_s *desc)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
vdev = dp_vdev_get_ref_by_id(soc, desc->vdev_id,
|
vdev = dp_vdev_get_ref_by_id(soc, desc->vdev_id,
|
||||||
DP_MOD_ID_TX_COMP);
|
DP_MOD_ID_REINJECT);
|
||||||
|
|
||||||
if (qdf_unlikely(!vdev)) {
|
if (qdf_unlikely(!vdev)) {
|
||||||
dp_tx_comp_info_rl("Unable to get vdev ref %d",
|
dp_tx_comp_info_rl("Unable to get vdev ref %d",
|
||||||
@@ -4872,7 +4872,7 @@ dp_tx_mcast_reinject_handler(struct dp_soc *soc, struct dp_tx_desc_s *desc)
|
|||||||
qdf_nbuf_len(desc->nbuf));
|
qdf_nbuf_len(desc->nbuf));
|
||||||
soc->arch_ops.dp_tx_mcast_handler(soc, vdev, desc->nbuf);
|
soc->arch_ops.dp_tx_mcast_handler(soc, vdev, desc->nbuf);
|
||||||
dp_tx_desc_release(desc, desc->pool_id);
|
dp_tx_desc_release(desc, desc->pool_id);
|
||||||
dp_vdev_unref_delete(soc, vdev, DP_MOD_ID_TX_COMP);
|
dp_vdev_unref_delete(soc, vdev, DP_MOD_ID_REINJECT);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -245,6 +245,7 @@ enum dp_mod_id {
|
|||||||
DP_MOD_ID_MSCS,
|
DP_MOD_ID_MSCS,
|
||||||
DP_MOD_ID_TX,
|
DP_MOD_ID_TX,
|
||||||
DP_MOD_ID_SAWF,
|
DP_MOD_ID_SAWF,
|
||||||
|
DP_MOD_ID_REINJECT,
|
||||||
DP_MOD_ID_MAX,
|
DP_MOD_ID_MAX,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user