[PATCH V3 net-next 3/5] net:hns: Add Hip06 "TSO(TCP Segment Offload)" support HNS Driver

Yuval Mintz Yuval.Mintz at qlogic.com
Sun Nov 22 00:49:49 PST 2015


> +static void hns_ae_set_tso_stats(struct hnae_handle *handle, int
> +enable) {
> +	struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle);
> +
> +	hns_ppe_set_tso_enable(ppe_cb, enable); }

Style issues?

> +void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value) {
> +	dsaf_set_dev_bit(ppe_cb, PPEV2_CFG_TSO_EN_REG, 0, !!value); }
> +

Likewise



More information about the linux-arm-kernel mailing list