sfc: make ef100 xmit_more handling look more like ef10's
authorEdward Cree <ecree@solarflare.com>
Thu, 3 Sep 2020 21:34:42 +0000 (22:34 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Sep 2020 19:21:39 +0000 (12:21 -0700)
commit8cb2675634ab8ec7986aa9dfe1a7a934872ef51d
treecc5855605e9a9253ab2631c892fffa9173c05aa3
parent1c0544d24927e4fad04f858216b8ea767a3bd123
sfc: make ef100 xmit_more handling look more like ef10's

This should cause no functional change; merely make there only be one
 design of xmit_more handling to understand.  As with the EF10/Siena
 version, we set tx_queue->xmit_pending when we queue up a TX, and
 clear it when we ring the doorbell (in ef100_notify_tx_desc).
While we're at it, make ef100_notify_tx_desc static since nothing
 outside of ef100_tx.c uses it.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/ef100_tx.c
drivers/net/ethernet/sfc/ef100_tx.h