Don't forward packets received from TPU forwards port (#22078)

* Don't forward packets received from TPU forwards port

* Add banking stage test
This commit is contained in:
Justin Starry
2021-12-29 12:34:31 -06:00
committed by GitHub
parent d20a3774db
commit b1d9a2e60e
13 changed files with 209 additions and 53 deletions

View File

@ -18,7 +18,7 @@ pub const PACKET_DATA_SIZE: usize = 1280 - 40 - 8;
#[repr(C)]
pub struct Meta {
pub size: usize,
pub forward: bool,
pub forwarded: bool,
pub repair: bool,
pub discard: bool,
pub addr: [u16; 8],