app/testpmd: add check for rx offload security flag
PATCH 1/1 app/testpmd: add check for rx offload security flag
Add a check for the DEV_RX_OFFLOAD_SECURITY flag to the port_offload_cap_display().
--- app/test-pmd/config.c | 9 +++++++++ 1 file changed, 9 insertions(+)
app/test-pmd/config.c +9 -0
@@ -594,6 +594,15 @@ port_offload_cap_display(portid_t port_id)printf ("off\n" ); } +if (dev_info.rx_offload_capa &DEV_RX_OFFLOAD_SECURITY ) { +printf ("RX offload security: " ); +if (ports[port_id].dev_conf.rxmode.offloads & +DEV_RX_OFFLOAD_SECURITY ) +printf ("on\n" ); +else +printf ("off\n" ); + } +if (dev_info.tx_offload_capa &DEV_TX_OFFLOAD_VLAN_INSERT ) {printf ("VLAN insert: " ); if (ports[port_id].dev_conf.txmode.offloads &
Signature · 1 line
2.9.5
Quoted 4 lines · Kevin Laatz
Add a check for the
DEV_RX_OFFLOAD_SECURITYflag to theport_offload_cap_display().Signed-off-by Kevin Laatz <[email protected]>
Hi Kevin,
Quoted 37 lines
-----Original Message-----
From: Laatz, Kevin
Sent: Tuesday, September 4, 2018 1:33 PM
To: [email protected]
Cc: Iremonger, Bernard <[email protected]>; Laatz, Kevin <[email protected]>
Subject: [PATCH] app/testpmd: add check for rx offload security flagAdd a check for the
DEV_RX_OFFLOAD_SECURITYflag to theport_offload_cap_display().Signed-off-by Kevin Laatz <[email protected]>--- app/test-pmd/config.c | 9 +++++++++ 1 file changed, 9 insertions(+)app/test-pmd/config.c index renamed from app/test-pmd/config.c +0
-014ccd68..4c60c7e 100644
app/test-pmd/config.c +9
-1@@ -594,6 +594,15 @@ port_offload_cap_display(portid_t port_id)printf ("off\n" ); } +if (dev_info.rx_offload_capa &DEV_RX_OFFLOAD_SECURITY ) { +printf ("RX offload security: " ); +if (ports[port_id].dev_conf.rxmode.offloads & +DEV_RX_OFFLOAD_SECURITY ) +printf ("on\n" ); +else +printf ("off\n" ); + } +if (dev_info.tx_offload_capa &DEV_TX_OFFLOAD_VLAN_INSERT ) {printf ("VLAN insert: " ); if (ports[port_id].dev_conf.txmode.offloads & --
Quoted 1 line
2.9.5
./devtools/check-git-log.sh -1
Wrong headline lowercase:
app/testpmd: add check for rx offload security flag
Regards,
Bernard.
PATCH v2 1/1 app/testpmd: add check for Rx offload security flag
In reply to Kevin LaatzAdd a check for the DEV_RX_OFFLOAD_SECURITY flag to the port_offload_cap_display().
--- app/test-pmd/config.c | 9 +++++++++ 1 file changed, 9 insertions(+)
app/test-pmd/config.c +9 -0
@@ -594,6 +594,15 @@ port_offload_cap_display(portid_t port_id)printf ("off\n" ); } +if (dev_info.rx_offload_capa &DEV_RX_OFFLOAD_SECURITY ) { +printf ("RX offload security: " ); +if (ports[port_id].dev_conf.rxmode.offloads & +DEV_RX_OFFLOAD_SECURITY ) +printf ("on\n" ); +else +printf ("off\n" ); + } +if (dev_info.tx_offload_capa &DEV_TX_OFFLOAD_VLAN_INSERT ) {printf ("VLAN insert: " ); if (ports[port_id].dev_conf.txmode.offloads &
Signature · 1 line
2.9.5
Re: [PATCH v2] app/testpmd: add check for Rx offload security flag
Quoted 9 lines
-----Original Message-----
From: Laatz, Kevin
Sent: Monday, September 10, 2018 5:29 PM
To: [email protected]
Cc: Iremonger, Bernard <[email protected]>; Laatz, Kevin <[email protected]>
Subject: [PATCH v2] app/testpmd: add check for Rx offload security flag
Quoted 5 lines
Add a check for the
DEV_RX_OFFLOAD_SECURITYflag to theport_offload_cap_display().Signed-off-by Kevin Laatz <[email protected]>Reviewed-by Ferruh Yigit <[email protected]>
Ferruh Yigit
AppliedRe: [PATCH v2] app/testpmd: add check for Rx offload security flag
Quoted 9 lines · Bernard
Quoted 9 lines
-----Original Message-----
From: Laatz, Kevin
Sent: Monday, September 10, 2018 5:29 PM
To: [email protected]
Cc: Iremonger, Bernard <[email protected]>; Laatz, Kevin <[email protected]>
Subject: [PATCH v2] app/testpmd: add check for Rx offload security flag
Quoted 7 lines
Quoted 5 lines
Add a check for the
DEV_RX_OFFLOAD_SECURITYflag to theport_offload_cap_display().Signed-off-by Kevin Laatz <[email protected]>Reviewed-by Ferruh Yigit <[email protected]>
Applied to dpdk-next-net/master, thanks.