* [dpdk-dev] [PATCH] app/testpmd: add check for rx offload security flag
@ 2018-09-04 12:32 Kevin Laatz
2018-09-07 11:13 ` Ferruh Yigit
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Kevin Laatz @ 2018-09-04 12:32 UTC (permalink / raw)
To: dev; +Cc: bernard.iremonger, Kevin Laatz
Add a check for the DEV_RX_OFFLOAD_SECURITY flag to the
port_offload_cap_display().
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
---
app/test-pmd/config.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 14ccd68..4c60c7e 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -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 &
--
2.9.5
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] app/testpmd: add check for rx offload security flag
2018-09-04 12:32 [dpdk-dev] [PATCH] app/testpmd: add check for rx offload security flag Kevin Laatz
@ 2018-09-07 11:13 ` Ferruh Yigit
2018-09-10 16:16 ` Iremonger, Bernard
2018-09-10 16:28 ` [dpdk-dev] [PATCH v2] app/testpmd: add check for Rx " Kevin Laatz
2 siblings, 0 replies; 6+ messages in thread
From: Ferruh Yigit @ 2018-09-07 11:13 UTC (permalink / raw)
To: Kevin Laatz, dev; +Cc: bernard.iremonger
On 9/4/2018 1:32 PM, Kevin Laatz wrote:
> Add a check for the DEV_RX_OFFLOAD_SECURITY flag to the
> port_offload_cap_display().
>
> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH] app/testpmd: add check for rx offload security flag
2018-09-04 12:32 [dpdk-dev] [PATCH] app/testpmd: add check for rx offload security flag Kevin Laatz
2018-09-07 11:13 ` Ferruh Yigit
@ 2018-09-10 16:16 ` Iremonger, Bernard
2018-09-10 16:28 ` [dpdk-dev] [PATCH v2] app/testpmd: add check for Rx " Kevin Laatz
2 siblings, 0 replies; 6+ messages in thread
From: Iremonger, Bernard @ 2018-09-10 16:16 UTC (permalink / raw)
To: Laatz, Kevin, dev
Hi Kevin,
> -----Original Message-----
> From: Laatz, Kevin
> Sent: Tuesday, September 4, 2018 1:33 PM
> To: dev@dpdk.org
> Cc: Iremonger, Bernard <bernard.iremonger@intel.com>; Laatz, Kevin
> <kevin.laatz@intel.com>
> Subject: [PATCH] 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().
>
> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
> ---
> app/test-pmd/config.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index
> 14ccd68..4c60c7e 100644
> --- a/app/test-pmd/config.c
> +++ b/app/test-pmd/config.c
> @@ -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 &
> --
> 2.9.5
./devtools/check-git-log.sh -1
Wrong headline lowercase:
app/testpmd: add check for rx offload security flag
Regards,
Bernard.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dpdk-dev] [PATCH v2] app/testpmd: add check for Rx offload security flag
2018-09-04 12:32 [dpdk-dev] [PATCH] app/testpmd: add check for rx offload security flag Kevin Laatz
2018-09-07 11:13 ` Ferruh Yigit
2018-09-10 16:16 ` Iremonger, Bernard
@ 2018-09-10 16:28 ` Kevin Laatz
2018-09-10 16:55 ` Iremonger, Bernard
2 siblings, 1 reply; 6+ messages in thread
From: Kevin Laatz @ 2018-09-10 16:28 UTC (permalink / raw)
To: dev; +Cc: bernard.iremonger, Kevin Laatz
Add a check for the DEV_RX_OFFLOAD_SECURITY flag to the
port_offload_cap_display().
Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
app/test-pmd/config.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 14ccd68..4c60c7e 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -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 &
--
2.9.5
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH v2] app/testpmd: add check for Rx offload security flag
2018-09-10 16:28 ` [dpdk-dev] [PATCH v2] app/testpmd: add check for Rx " Kevin Laatz
@ 2018-09-10 16:55 ` Iremonger, Bernard
2018-09-21 0:51 ` Ferruh Yigit
0 siblings, 1 reply; 6+ messages in thread
From: Iremonger, Bernard @ 2018-09-10 16:55 UTC (permalink / raw)
To: Laatz, Kevin, dev
> -----Original Message-----
> From: Laatz, Kevin
> Sent: Monday, September 10, 2018 5:29 PM
> To: dev@dpdk.org
> Cc: Iremonger, Bernard <bernard.iremonger@intel.com>; Laatz, Kevin
> <kevin.laatz@intel.com>
> Subject: [PATCH v2] 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().
>
> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH v2] app/testpmd: add check for Rx offload security flag
2018-09-10 16:55 ` Iremonger, Bernard
@ 2018-09-21 0:51 ` Ferruh Yigit
0 siblings, 0 replies; 6+ messages in thread
From: Ferruh Yigit @ 2018-09-21 0:51 UTC (permalink / raw)
To: Iremonger, Bernard, Laatz, Kevin, dev
On 9/10/2018 5:55 PM, Iremonger, Bernard wrote:
>
>> -----Original Message-----
>> From: Laatz, Kevin
>> Sent: Monday, September 10, 2018 5:29 PM
>> To: dev@dpdk.org
>> Cc: Iremonger, Bernard <bernard.iremonger@intel.com>; Laatz, Kevin
>> <kevin.laatz@intel.com>
>> Subject: [PATCH v2] 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().
>>
>> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
>> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
>
> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-09-21 0:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-04 12:32 [dpdk-dev] [PATCH] app/testpmd: add check for rx offload security flag Kevin Laatz
2018-09-07 11:13 ` Ferruh Yigit
2018-09-10 16:16 ` Iremonger, Bernard
2018-09-10 16:28 ` [dpdk-dev] [PATCH v2] app/testpmd: add check for Rx " Kevin Laatz
2018-09-10 16:55 ` Iremonger, Bernard
2018-09-21 0:51 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).