net/ena: fix jumbo support in Rx offloads flags
PATCH 1/1 net/ena: fix jumbo support in Rx offloads flags
ENA device supports Rx jumbo frames and such information needs to be provided in the offloads flags.
--- drivers/net/ena/ena_ethdev.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ena/ena_ethdev.c +2 -0
@@ -1561,6 +1561,8 @@ static void ena_infos_get(struct rte_eth_dev *dev,DEV_RX_OFFLOAD_UDP_CKSUM |DEV_RX_OFFLOAD_TCP_CKSUM ; + rx_feat |=DEV_RX_OFFLOAD_JUMBO_FRAME ; +/* Inform framework about available features */ dev_info->rx_offload_capa = rx_feat; dev_info->rx_queue_offload_capa = rx_feat;
Signature · 1 line
2.7.4
2018-02-01 14:06 GMT+01:00 Rafal Kozik <[email protected]>:
Quoted 7 lines
ENA device supports Rx jumbo frames and such information needs to be provided in the offloads flags.
Fixes 7369f88f88c0 ("net/ena: convert to new Rx offloads API")Signed-off-by Rafal Kozik <[email protected]>
Quoted 21 lines
--- drivers/net/ena/ena_ethdev.c | 2 ++ 1 file changed, 2 insertions(+)drivers/net/ena/ena_ethdev.c +2
-1@@ -1561,6 +1561,8 @@ static void ena_infos_get(struct rte_eth_dev *dev,DEV_RX_OFFLOAD_UDP_CKSUM |DEV_RX_OFFLOAD_TCP_CKSUM ; + rx_feat |=DEV_RX_OFFLOAD_JUMBO_FRAME ; +/* Inform framework about available features */ dev_info->rx_offload_capa = rx_feat; dev_info->rx_queue_offload_capa = rx_feat; --2.7.4
Ferruh Yigit
Acked-by Michal KrawczykQuoted 9 lines · Michał Krawczyk
2018-02-01 14:06 GMT+01:00 Rafal Kozik <[email protected]>:
Quoted 7 lines
ENA device supports Rx jumbo frames and such information needs to be provided in the offloads flags.
Fixes 7369f88f88c0 ("net/ena: convert to new Rx offloads API")Signed-off-by Rafal Kozik <[email protected]>Signed-off-by Michal Krawczyk <[email protected]>
Hi Michał,
Are you claiming your right on the patch as developer?
Or is the intention to ack the patch?
Quoted 21 lines
Quoted 21 lines
--- drivers/net/ena/ena_ethdev.c | 2 ++ 1 file changed, 2 insertions(+)drivers/net/ena/ena_ethdev.c +2
-1@@ -1561,6 +1561,8 @@ static void ena_infos_get(struct rte_eth_dev *dev,DEV_RX_OFFLOAD_UDP_CKSUM |DEV_RX_OFFLOAD_TCP_CKSUM ; + rx_feat |=DEV_RX_OFFLOAD_JUMBO_FRAME ; +/* Inform framework about available features */ dev_info->rx_offload_capa = rx_feat; dev_info->rx_queue_offload_capa = rx_feat; --2.7.4
2018-02-01 17:49 GMT+01:00 Ferruh Yigit <[email protected]>:
Quoted 9 lines · Michał Krawczyk
Quoted 8 lines
2018-02-01 14:06 GMT+01:00 Rafal Kozik <[email protected]>:
Quoted 7 lines
ENA device supports Rx jumbo frames and such information needs to be provided in the offloads flags.
Fixes 7369f88f88c0 ("net/ena: convert to new Rx offloads API")Signed-off-by Rafal Kozik <[email protected]>
Quoted 9 lines
Quoted 1 line
Signed-off-by Michal Krawczyk <[email protected]>Hi Michał,
Are you claiming your right on the patch as developer?
Or is the intention to ack the patch?
Acked-by Michal Krawczyk <[email protected]>
Hi Ferruh,
yes, sorry. I meant to ack the patch.
Thanks,
Michal
Quoted 22 lines
Quoted 21 lines
Quoted 21 lines
--- drivers/net/ena/ena_ethdev.c | 2 ++ 1 file changed, 2 insertions(+)drivers/net/ena/ena_ethdev.c +2
-1@@ -1561,6 +1561,8 @@ static void ena_infos_get(struct rte_eth_dev *dev,DEV_RX_OFFLOAD_UDP_CKSUM |DEV_RX_OFFLOAD_TCP_CKSUM ; + rx_feat |=DEV_RX_OFFLOAD_JUMBO_FRAME ; +/* Inform framework about available features */ dev_info->rx_offload_capa = rx_feat; dev_info->rx_queue_offload_capa = rx_feat; --2.7.4
Ferruh Yigit
AppliedQuoted 12 lines · Michał Krawczyk
2018-02-01 17:49 GMT+01:00 Ferruh Yigit <[email protected]>:
Quoted 11 lines · Michał Krawczyk
Quoted 8 lines
2018-02-01 14:06 GMT+01:00 Rafal Kozik <[email protected]>:
Quoted 7 lines
ENA device supports Rx jumbo frames and such information needs to be provided in the offloads flags.
Fixes 7369f88f88c0 ("net/ena: convert to new Rx offloads API")Signed-off-by Rafal Kozik <[email protected]>Acked-by Michal Krawczyk <[email protected]>
Applied to dpdk-next-net/master, thanks.