Re: [PATCH] net: mlx5e: fix fs_tcp.c build when IPV6 is not enabled

2020-11-23 Thread Saeed Mahameed
On Mon, 2020-11-23 at 12:08 +0200, Tariq Toukan wrote: > > On 11/22/2020 11:12 PM, Randy Dunlap wrote: > > Fix build when CONFIG_IPV6 is not enabled by making a function > > be built conditionally. > > > > Fixes these build errors and warnings: > > > > ../drivers/net/ethernet/mellanox/mlx5/core/

Re: [PATCH] net: mlx5e: fix fs_tcp.c build when IPV6 is not enabled

2020-11-23 Thread Tariq Toukan
On 11/22/2020 11:12 PM, Randy Dunlap wrote: Fix build when CONFIG_IPV6 is not enabled by making a function be built conditionally. Fixes these build errors and warnings: ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c: In function 'accel_fs_tcp_set_ipv6_flow': ../include/net/so

[PATCH] net: mlx5e: fix fs_tcp.c build when IPV6 is not enabled

2020-11-22 Thread Randy Dunlap
Fix build when CONFIG_IPV6 is not enabled by making a function be built conditionally. Fixes these build errors and warnings: ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c: In function 'accel_fs_tcp_set_ipv6_flow': ../include/net/sock.h:380:34: error: 'struct sock_common' has no m