net/sfc: factor out function to report Tx capabilities
authorIvan Malov <ivan.malov@oktetlabs.ru>
Thu, 18 Jan 2018 09:44:30 +0000 (09:44 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commit85069adea7e9b5520eff8dd1e5d890ee26dfab11
treed73e9c90c772491c28eec33ff1344dd655525623
parentff6a1197c3b1f8e061dd698e509313f15c3aaf1d
net/sfc: factor out function to report Tx capabilities

The patch adds a separate function to report supported
Tx capabilities because this function will be required
in more places across the code in the upcoming patches.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/sfc/sfc_ethdev.c
drivers/net/sfc/sfc_tx.c
drivers/net/sfc/sfc_tx.h