octeon: add max packet length check 53/40753/4
authorMonendra Singh Kushwaha <[email protected]>
Fri, 19 Apr 2024 11:04:49 +0000 (16:34 +0530)
committerDamjan Marion <[email protected]>
Mon, 6 May 2024 10:06:51 +0000 (10:06 +0000)
commitc2bbc7bc8ce84672a7a47a99f84db9e588486c95
tree2d101e7b2e402a330ae8a8c6821116654d3c655e
parent622003c81354b451307fcb11a2296c7a0c60fafb
octeon: add max packet length check

This patch compares packet length with maximum supported
packet length and drops the packet accordingly.

Type: fix

Change-Id: I80ef453d43149818936649e1e58ae90c84a34ab9
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
src/plugins/dev_octeon/octeon.h
src/plugins/dev_octeon/tx_node.c