]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ionic: use index not pointer for queue tracking
authorShannon Nelson <snelson@pensando.io>
Thu, 27 Aug 2020 23:00:26 +0000 (16:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2020 15:01:30 +0000 (08:01 -0700)
commitf1d2e894f1b77decfdae72fa41c24ddd2ecd33bc
tree0b14aa8e2a2809e24396a64b6ace27729e6b9214
parentea5a8b09dc3a6ce14cd3ea1a7f8ea8aea6fc92ec
ionic: use index not pointer for queue tracking

Use index counters rather than pointers for tracking head
and tail in the queues to save a little memory and to perhaps
slightly faster queue processing.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_debugfs.c
drivers/net/ethernet/pensando/ionic/ionic_dev.c
drivers/net/ethernet/pensando/ionic/ionic_dev.h
drivers/net/ethernet/pensando/ionic/ionic_lif.c
drivers/net/ethernet/pensando/ionic/ionic_lif.h
drivers/net/ethernet/pensando/ionic/ionic_main.c
drivers/net/ethernet/pensando/ionic/ionic_txrx.c