]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: am65-cpsw: use cppi5_desc_is_tdcm()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 30 Oct 2020 20:07:00 +0000 (22:07 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 Nov 2020 00:41:07 +0000 (16:41 -0800)
commit28b2bebe80c9830da5650a854cdfaefc108649d3
tree82ed119f81326543ade18b888583d7dac3c65008
parent7f618a2f308ab60d77aeac87518570c7bf154262
net: ethernet: ti: am65-cpsw: use cppi5_desc_is_tdcm()

Use cppi5_desc_is_tdcm() helper for teardown indicator detection instead of
hard-coded value.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/am65-cpsw-nuss.c