net/qede: remove unnecessary field in Rx entry and simplify
authorBalazs Nemeth <bnemeth@redhat.com>
Fri, 26 Mar 2021 11:01:30 +0000 (12:01 +0100)
committerJerin Jacob <jerinj@marvell.com>
Sat, 27 Mar 2021 14:00:57 +0000 (15:00 +0100)
commita781540b00abab0c4bde0e7f41381414362e699f
treec3bd49e15e00d094621d7ae496656f8d30dcaff3
parent5984000d1b6f133a9cf10333c0e6603b0b9e9c61
net/qede: remove unnecessary field in Rx entry and simplify

The member page_offset is always zero. Having this in the qede_rx_entry
makes it larger than it needs to be and this has cache performance
implications so remove that field. In addition, since qede_rx_entry only
has an rte_mbuf*, remove the definition of qede_rx_entry.

Signed-off-by: Balazs Nemeth <bnemeth@redhat.com>
Reviewed-by: Igor Russkikh <irusskikh@marvell.com>
drivers/net/qede/qede_rxtx.c
drivers/net/qede/qede_rxtx.h