qed: Add IP services APIs support
authorNikolay Assa <nassa@marvell.com>
Wed, 2 Jun 2021 17:16:55 +0000 (20:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2021 21:04:18 +0000 (14:04 -0700)
commit806ee7f81a2b037e3f57275adcdf974453cc3254
tree496db77a284f1cb87265ca0473932559e459d897
parent826da4861430898495fa49f072335e795e8adfd3
qed: Add IP services APIs support

This patch introduces APIs which the NVMeTCP Offload device (qedn)
will use through the paired net-device (qede).
It includes APIs for:
- ipv4/ipv6 routing
- get VLAN from net-device
- TCP ports reservation

Acked-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Nikolay Assa <nassa@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Omkar Kulkarni <okulkarni@marvell.com>
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_nvmetcp_ip_services.c [new file with mode: 0644]
include/linux/qed/qed_nvmetcp_ip_services_if.h [new file with mode: 0644]