dpaa2-eth: bql support
Add support for byte queue limit. On NAPI poll, we save the total number of Tx confirmed frames/bytes and register them with bql at the end of the poll function. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
dbcdf72898
commit
569dac6a5a
@@ -271,6 +271,8 @@ struct dpaa2_eth_fq {
|
||||
u32 tx_qdbin;
|
||||
u16 flowid;
|
||||
int target_cpu;
|
||||
u32 dq_frames;
|
||||
u32 dq_bytes;
|
||||
struct dpaa2_eth_channel *channel;
|
||||
enum dpaa2_eth_fq_type type;
|
||||
|
||||
|
Reference in New Issue
Block a user