[PATCH v8 01/25] net: Introduce direct data placement tcp offload

Jakub Kicinski kuba at kernel.org
Wed Jan 11 20:47:18 PST 2023


On Mon,  9 Jan 2023 15:30:52 +0200 Aurelien Aptel wrote:
> +	int (*ulp_ddp_limits)(struct net_device *netdev,
> +			      struct ulp_ddp_limits *limits);
> +	int (*ulp_ddp_sk_add)(struct net_device *netdev,
> +			      struct sock *sk,
> +			      struct ulp_ddp_config *config);
> +	void (*ulp_ddp_sk_del)(struct net_device *netdev,
> +			       struct sock *sk);
> +	int (*ulp_ddp_setup)(struct net_device *netdev,
> +			     struct sock *sk,
> +			     struct ulp_ddp_io *io);
> +	void (*ulp_ddp_teardown)(struct net_device *netdev,
> +				 struct sock *sk,
> +				 struct ulp_ddp_io *io,
> +				 void *ddp_ctx);
> +	void (*ulp_ddp_resync)(struct net_device *netdev,
> +			       struct sock *sk, u32 seq);

no need to prefix all the members of this struct with ulp_ddp_



More information about the Linux-nvme mailing list