Advertisement
Guest User

Untitled

a guest
Aug 26th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
  2. index 377b9f8..6366e01 100644
  3. --- a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
  4. +++ b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
  5. @@ -107,13 +107,16 @@ struct ag71xx_buf {
  6. };
  7.  
  8. struct ag71xx_ring {
  9. - struct ag71xx_buf *buf;
  10. - u8 *descs_cpu;
  11. - dma_addr_t descs_dma;
  12. - u16 desc_split;
  13. - u16 order;
  14. + /* "Hot" fields in the data path. */
  15. unsigned int curr;
  16. unsigned int dirty;
  17. +
  18. + /* "Cold" fields - not used in the data path. */
  19. + struct ag71xx_buf *buf;
  20. + u16 order;
  21. + u16 desc_split;
  22. + dma_addr_t descs_dma;
  23. + u8 *descs_cpu;
  24. };
  25.  
  26. struct ag71xx_int_stats {
  27. --
  28. 2.7.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement